listMetricNames method
Written by
Updated at April 14, 2025
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. Metric folder ID. The maximum string length is 50 characters. |
selectors | Label selectors for metrics. |
nameFilter | Substring for metric name filtering. |
Response
HTTP Code: 200 - OK
{
"names": [
"string"
]
}
Field | Description |
---|---|
names[] | string List of metric names. |