Method listLabelKeys

Retrieves the list of label keys.

HTTP request

GET https://monitoring.api.cloud.yandex.net/monitoring/v2/metrics/labels

Query parameters

Parameter Description
folderId Required. ID of the folder that the metric belongs to. The maximum string length in characters is 50.
selectors Metric selectors.

Response

HTTP Code: 200 - OK

{
  "keys": [
    "string"
  ]
}
Field Description
keys[] string

Found label keys.