Reading and visualizing metrics in Monitoring
Written by
Updated at May 14, 2025
In Yandex Monitoring, you can work with data collected by Yandex Managed Service for Prometheus®. With Prometheus metrics, you can build charts in the Metrics section and add them to Dashboards.
Previously, Prometheus metrics-based charts were in Prometheus →
Alert configuration with the help of Prometheus metrics remains in the Prometheus section. For more information, see Alerting rules.
Adding charts in Monitoring
Management console
- If not using Yandex Managed Service for Prometheus® yet, set up metric writes.
- Open the service home page
. - Select Metrics on the left.
- In the Data source list at the top, select Prometheus.
- Select a workspace. If there is only one workspace, it will be selected by default.
- In the query string, enter the metrics display parameters in PromQL
. - For the chart to display several lines, click Add query and enter a new query.
- Click Execute query or press Cmd/Ctrl + Enter.
Note
For Prometheus metrics, all features described in Viewing your services' metrics in Yandex Monitoring are available except for adding parameters. Therefore, you cannot break your charts down by parameter.
Adding charts to the dashboard
You can add charts to the dashboard from Metrics or in Dashboards.
Adding a chart from Metrics:
Management console
- Build a chart based on Prometheus metrics.
- At the top right, click Add to dashboard.
- Enter a name for your chart.
- Select a cloud and folder.
- Select an existing dashboard or create a new one.
- Select a chart adding option:
- Add: Stay in Metrics.
- Add and edit: Go to Dashboards. The chart will not be saved in Metrics.
Adding a chart under Dashboards:
Management console
- Open the service home page
. - Go to the Dashboards section.
- Select an existing dashboard or create a new one.
- At the top right, click
and select Graph. - In the Data source list at the top, select Prometheus.
- Select a workspace. If there is only one workspace, it will be selected by default.
- In the query string, enter the metrics display parameters in PromQL
. - Click
Save at the top right. This will add the chart to your dashboard.