Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML Services
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex Monitoring
  • Getting started
  • Access management
  • Pricing policy
  • Terraform reference
    • API authentication
      • Overview
        • Overview
        • listLabelKeys
        • listLabelValues
        • listMetricNames
        • listMetrics
  • Release notes

In this article:

  • HTTP request
  • Query parameters
  • Response
  1. API reference
  2. REST
  3. MetricsMeta
  4. listMetrics

listMetrics method

Written by
Yandex Cloud
Updated at August 11, 2025
  • HTTP request
  • Query parameters
  • Response

Returns a list of metrics.

HTTP requestHTTP request

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

Query parametersQuery parameters

Parameter Description
folderId This is a required field. Metric folder ID. The maximum string length is 50 characters.
selectors Label selectors for metrics.
fromTime Optional parameter for selecting metrics from a specified time interval. It specifies the time interval start point in RFC3339 format.
toTime Optional parameter for selecting metrics from a specified time interval. It specifies the time interval endpoint in RFC3339 format.

The fromTime and toTime parameters are only used together. The response returns metrics that have data in the specified interval. To keep the index for such queries concise and efficient, the system:

  • Ensures each response contains metric data for the period between the metric’s creation and its last record, even if there are gaps in the data.
  • Updates the index every four to six hours for existing metrics. Adds new metrics immediately.

ResponseResponse

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 key:value format.

metrics[].
type
string

Metric type.

  • DGAUGE: Numeric value. Set as a fraction.
  • IGAUGE: Numeric value. Set as an integer.
  • COUNTER: Counter.
  • RATE: Derivative value.

Was the article helpful?

Previous
listMetricNames
Next
Overview
© 2025 Direct Cursus Technology L.L.C.