Yandex.Cloud
  • Services
  • Why Yandex.Cloud
  • Pricing
  • Documentation
  • Contact us
Get started
Yandex Monitoring
  • Getting started
  • Step-by-step instructions
    • All instructions
    • Working with metrics
      • Getting a list of metrics
      • Downloading metrics
      • Writing custom metrics
      • Export metrics in Prometheus format
    • Working with dashboards
      • Creating dashboards
      • Copying dashboards
      • Adding widgets to a dashboard
      • Deleting widgets from a dashboard
      • Deleting dashboards
    • Working with alerts
      • Creating alerts
      • Creating notification channels
      • Deleting alerts
  • Concepts
    • Overview
    • Data model
    • Visualization
      • Overview
      • Query string
      • Widgets
      • Dashboards
    • Query language
    • Alerting
    • Deleting expired metrics (TTL)
    • Quotas and limits
  • Access management
  • Pricing policy
    • Current pricing policy
    • Archive
      • Policy before October 1, 2020
  • API reference
    • Authentication in the API
    • REST
      • Overview
      • MetricsData
        • Overview
        • read
        • write
        • prometheusMetrics
      • MetricsMeta
        • Overview
        • listLabelKeys
        • listLabelValues
        • listMetricNames
        • listMetrics
  • Questions and answers
  1. Concepts
  2. Data model

Data model

  • Metrics
    • Labels
    • Metric types
    • Requests

Yandex Monitoring stores data as time series.

Metrics

Metrics are time series that shows a change of some value over time. For example, the resource status of a Yandex.Cloud service: the amount of used disk space, network data transfer rate, and so on.

Metrics are identified using text labels.

Labels

A label is a metric characteristic in key: "value" format. Each metric is identified by an unordered set of labels. Use a parameter that takes a limited set of values as a label. For example, the HTTP status code, the types of procedures being performed in a database, and so on.

The service has mandatory and optional labels. Mandatory labels:

  • project: The ID of the cloud that the resource belongs to.
  • cluster: The ID of the folder that the resource belongs to.
  • service: Indicates the Yandex.Cloud service that the resource belongs to. For example, compute or managed-postgresql.

Warning

When uploading custom metrics, you should write the custom value in the service label.

Metric types

The Yandex Monitoring service offers the following metric types:

Type Description
DGAUGE Numeric value (decimal). It shows the metric value at a certain point in time. For example, the amount of used RAM
IGAUGE Numeric value (integer). It shows the metric value at a certain point in time.
COUNTER Tag. It shows the metric value that increases over time. For example, the number of days of service continuous running.
RATE Derivative value. It shows the change in the metric value over time. For example, the number of requests per second.

Requests

Yandex Monitoring allows you to create queries to select a set of metrics and display them on a chart. You can also use templates as label values.

The following templates are available in Yandex Monitoring:

Syntax Description
label="*" Outputs all metrics with the specified label. For example, the host="*" query displays all metrics with host label.
label="glob" Displays all metrics whose label satisfy glob expression:

* — Any number of characters (including none). For example, name="folder*" displays all metrics that have the name label and whose value begins with the folder prefix.

? — One arbitrary character. For example, name="metric?" displays all labels that have one character after metric

| — All specified options. For example, name="metric1|metric2" displays two metrics with label values metric1 and metric2.

See also

  • Visualization
Language
Careers
Privacy policy
Terms of use
© 2021 Yandex.Cloud LLC