Yandex.Cloud
  • Services
  • Why Yandex.Cloud
  • Solutions
  • 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. Dashboards

Dashboards

  • Dashboard parameters
    • Parameter substitution
    • Label value filter

Dashboards are sets of widgets: charts, text blocks, and titles. Metrics on dashboard charts are displayed for a specific interval that is shared by all charts.

The default interval is one day. The interval can be set using preset ranges (1h 3h 1d 1w 1mo). You can also set the beginning and the end interval.

To set the time interval more precisely, you can use the timeline located above the dashboard.

Yandex.Cloud users can use service dashboards that contain preset widgets with metrics on the status of cloud resources. Service dashboards are created automatically.

Dashboard parameters

Parameters let you create interactive dashboards whose content changes depending on the user's choice. For example, a dashboard that shows aggregated information about the status of a VM can be parameterized using the VM ID.

Parameters are displayed as drop-down menus above dashboard widgets. When you select a parameter value, the dashboard is updated and the selected value is substituted in data queries.

The following types of dashboards are available:

  • Label value — The parameter takes a set of values of the specified label.
  • Set of values — The parameter takes a set of fixed comma-separated values.
  • Text field — The parameter takes the only value specified in the text field.

For parameters of the Label value and Set of values type, the Multiple choice setting is available. It lets you select multiple parameter values at the same time.

For all parameter types, you can set the Default value that will be used when loading a dashboard in the Yandex Monitoring web interface.

Creating a new dashboard parameter looks like this:

Creating a new dashboard parameter

Parameter substitution

Dashboard parameter values are used in widget headings and queries to metrics to filter label values. Parameter values are substituted using mustache templates.

Note

You can only use parameter value substitution in label values when making queries to metrics.

Examples of parameter value substitution

  • Substituting values in widget headings.

    In the CPU usage on {{host}} widget heading, the host parameter value is substituted.

  • Substituting label values in queries.

    In the "cpu.iowait"{folderId="aoe6mk1r3b47lu994prn", service="{{myparm}}", host="*"} query, the service label value is substituted with the myparm parameter value.

Substituting parameter values in query strings looks like this:

Substituting parameter values in query strings

Label value filter

The label value filter lets you limit the list of possible parameter values with the Label value type. The filter specifies labels and their values. The filter is applied to all parameters of the Label value type at the same time.

Examples of filtering label values

Let's say a dashboard has a Label value type parameter set for the cluster label that takes the prod, preprod-1, preprod-2, and testing values.

Filtering settings and result:

  • The cluster=*prod* filter limits parameter values to the list of prod and preprod-1 values.
  • The cluster=preprod-1|preprod-2 filter limits the values with the list of preprod-1 and preprod-2.
  • The cluster=testing filter limits the values to a single testing value.

Below is a more complex example. Let's say the system has the following metrics:

  • usage{cluster="prod", account="prodaccount"}.
  • usage{cluster="preprod", account="preprodaccount"}.
  • usage{cluster="testing", account="testingaccount"}.
  • usage{cluster="prod", account="multiaccount"}.
  • usage={cluster="testing", account="multiaccount"}.

Filtering settings:

  • The filter contains the cluster=*prod* value.
  • A dashboard has Label value type parameters set for the cluster and account labels.

Result:

  • Possible values of the cluster parameter are limited to prod and preprod. The testing value is excluded as not matching the cluster=*prod* rule.
  • Possible values of the account parameter will be limited to prodaccount, preprodaccount, and multiaccount. The testingaccount value is excluded as there is no metric with a combination of account="testingaccount" and cluster labels matching the cluster=*prod* rule (while this combination exists for multiaccount).
Language / Region
Careers
Privacy policy
Terms of use
Brandbook
© 2021 Yandex.Cloud LLC