listMetrics method
Written by
Updated at April 14, 2025
Returns a list of metrics.
HTTP request
GET https://monitoring.api.cloud.yandex.net/monitoring/v2/metrics
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. |
Response
HTTP Code: 200 - OK
{
"metrics": [
{
"name": "string",
"labels": "object",
"type": "string"
}
]
}
Field | Description |
---|---|
metrics[] | object List of metrics. |
metrics[]. name |
string Metric name. |
metrics[]. labels |
object Metric labels in |
metrics[]. type |
string Metric type.
|