Method listMetricNames

Retrieves the list of metric names.

HTTP request

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

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.
nameFilter Substring name filter text.
pageSize Maximum number of metrics in response. 0 means default page size = 30, maximum page size = 10000.
pageToken Page token. To get the next page of results, set pageToken to the nextPageToken returned by a previous list request.

Response

HTTP Code: 200 - OK

{
  "names": [
    "string"
  ],
  "nextPageToken": "string"
}
Field Description
names[] string

List of metric names.

nextPageToken string

This token allows you to get the next page of results for list requests.