listMetricNames method
Written by
Updated at June 11, 2024
Returns a list of metric names.
HTTP request
GET https://monitoring.api.cloud.yandex.net/monitoring/v2/metrics/names
Query parameters
Parameter | Description |
---|---|
folderId | This is a required field. ID of the folder that the metric belongs to. The maximum string length is 50 characters. |
selectors | Metric selectors to search by label. |
nameFilter | Substring text used for filtering by metric name. |
Response
HTTP Code: 200 - OK
{
"names": [
"string"
]
}
Field | Description |
---|---|
names[] | string List of metric names. |