listLabelKeys method
Written by
Updated at February 20, 2023
Returns a list of label keys.
HTTP request
GET https://monitoring.api.cloud.yandex.net/monitoring/v2/metrics/labels
Query parameters
Parameter | Description |
---|---|
folderId | Required field. ID of the folder that the metric belongs to. Maximum string length: 50 characters. |
selectors | Metric selectors to search by label. |
Response
HTTP Code: 200 - OK
{
"keys": [
"string"
]
}
Field | Description |
---|---|
keys[] | string List of keys. |