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
    • Data decimation
    • 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. Visualization
  3. Query string

Query string

    The query language of Yandex Monitoring is used to configure dashboards and alerts. In the query string, you enter an expression written in the query language in tokenized or text mode. The query string lets you to apply functions to a set of metrics uploaded from a specific service. To display metrics from different services on a dashboard's chart, create multiple query strings.

    In tokenized mode, the query string consists of two parts:

    1. Selectors used to upload metrics.
    2. A set of functions from the query language. Functions are applied to metrics sequentially from left to right.

    The query string in tokenized mode looks like this:

    Query string in tokenized mode

    In text mode, functions are written in the query string. A query to metrics or a result returned by another function is passed to them as an argument. To switch to text mode, click .

    The query string in text mode looks like this:

    Query string in text mode

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