FAQ about Monitoring
General questions
Can I get the logs of what I do when I work with Yandex Cloud?
Yes, you can request information about operations with your resources from Yandex Cloud. For more information, see Data requests.
How can I see the service dashboards?
Service dashboards appear automatically when you create Yandex Cloud resources. Add a resource and refresh the Monitoring homepage
The old data in Monitoring charts has disappeared. Why?
If a metric has not received new data for 30 days, it is automatically deleted from Monitoring. This period is 60 days for Yandex Managed Service for Prometheus® and 7 days for Yandex Compute Cloud. For more information, see Deleting expired metrics (TTL).
There is also a non-configurable decimation mechanism reducing the amount of stored data.
My metrics are not reported and I cannot create a Prometheus workspace. Why?
This can happen if you do not have monitoring data-providing resources in your cloud. Start using any resource and wait for the metrics to show up in Monitoring.
Navigation
Where can I see a VM RAM consumption chart?
Yandex Compute Cloud cannot measure the guest operating system vRAM consumption. In fact, the service sees the VM memory consumption as a constant: the amount of RAM allocated to it at start up.
You can configure the collection of custom metrics via the API or using a system metrics delivery agent for Linux operating systems.
Where can I see a VM disk space chart?
There is no such metric because Monitoring cannot access guest operating systems.
You can configure the collection of custom metrics via the API or using a system metrics delivery agent for Linux operating systems.
Collecting and exporting metrics
How do I add a VM RAM metric?
Yandex Compute Cloud cannot measure the guest operating system vRAM consumption. In fact, the service sees the VM memory consumption as a constant: the amount of RAM allocated to it at start up.
You can configure the collection of custom metrics via the API or using a system metrics delivery agent for Linux operating systems. The latter allows you to collect statistics for CPU, RAM, network, and disk usage.
How do I add a VM disk space metric?
There is no such metric because Monitoring cannot access guest operating systems.
You can configure the collection of custom metrics via the API or using a system metrics delivery agent. The latter allows you to collect statistics for CPU, RAM, network, and disk usage.
How do I collect custom metrics from my app?
Yandex Unified Agent supports metric collection in the Prometheus format and metric conversion to the Monitoring format. That means you can use Unified Agent to collect metrics from any application supporting Prometheus format.
Use a client library
You can see examples in the following sections of our guides:
- Delivering custom application metrics
- Delivering metrics from HAProxy and other third-party applications
Can I deliver Yandex Managed Service for Kubernetes cluster metrics to Monitoring?
Yes, you can by using Metrics Provider. To install it, follow this guide.
How do I deliver third-party app metrics to Monitoring?
To deliver metrics from third-party applications to Monitoring, use Unified Agent with the metrics_pull
input configured. Unified Agent periodically polls the third-party application directly (if the application supports metrics in the Prometheus format) or polls a special export application that manages the integration with Prometheus.
You can find an example of how to configure HAProxy metrics delivery in Delivering metrics from HAProxy and other third-party applications.
How do I deliver metrics from hosts outside Yandex Cloud?
Configure service account authorized keys to deliver metrics to Monitoring through Unified Agent.
You can also use this method to send metrics from Yandex Cloud VMs without a linked service account.
How can I see a list of metrics?
To do this, open Metrics and select the service you need.
To get a complete list of metrics for a specific cloud and folder, follow this API request guide.
Can I export metrics in Prometheus format?
To export metrics in Prometheus format, use the prometheusMetrics method.
See a metric export setup example here.
Metrics and units of measure
What does the dot mean?
It separates integer and fractional parts of a number. For example, the 123,456
means 123 and 456 thousandths.
Why does cpu_usage exceed 100%?
You're using a VM with guaranteed vCPU performance under 100%. For example, a VM guarantees you 20% of vCPU performance. The monitoring system considers this value as 100% of the expected load. If you are the only one using a physical core, your VM can use up to 100% of vCPU, which is 5 times higher than guaranteed vCPU performance. In this case, the chart can show values as high as 500%.
If the charts indicate that the 100% upper limit is exceeded consistently, we recommend increasing the guaranteed vCPU performance. At any time, concurrent activities on the physical core can reduce the actual vCPU usage to guaranteed 20%, i.e., about 400 MHz for Intel Cascade Lake.
Where can I find DB metric descriptions?
Metrics are described in our service guides, such as:
- Yandex Managed Service for PostgreSQL.
- Yandex Managed Service for MySQL®.
- Yandex Managed Service for Valkey™.
You can see the most important metrics on a service dashboard. If you need a list of all service metrics, navigate to Metrics. To export a full list of metrics, follow this guide.
How can I configure chart measurement units?
You can set up measurement units in the Axes chart configuration tab. There you can select the measurement unit type, specify the number format, choose a linear or logarithmic scale, and set the maximum and minimum values.
How the maximum (peak) values are displayed on a chart?
When creating a point, Monitoring averages metric values received for a certain period of time. As you shorten the time scale, the sample size grows, leading to higher peak chart values.
The opposite is also true; if you expand the time scale, peaks are averaged out and may not show up on the chart.
The chart is missing or looks cut off. Why?
The data may lie beyond the chart scale. Check the chart scale and its maximum and minimum values in the Axes tab.
Does query language contain function descriptions?
You can find function descriptions in the Reference.
You can test the functions in the Metrics section.
Alerts and notifications
How can I reduce the number of false alerts?
You can increase the evaluation window or change the aggregation function in the alert settings.
What value should I specify as a threshold?
The threshold value is set in units of the selected metric.
For example, the free disk space threshold for a database cluster is specified in bytes. You can simply set a threshold by moving the slider on the chart with real data. Make sure the Warning threshold value does not exceed that for an Alarm.
How do I set an alert recipient?
You can use the following supported notification channel methods:
Email
SMS
Push notifications
(in the Yandex Cloud mobile app).Telegram
Specify a Yandex Cloud account as the recipient of email notifications. This can be the owner's account or an additional one, e.g., a federated account or Yandex ID, created specifically for this purpose.
I do not receive any alerts. Why?
Check your notification channel account email address and phone number.
To get notifications, the user must:
- Have the
monitoring.viewer
role for the folder with the configured alert. - In the management console settings
:- Enable Monitoring.
- Specify an email address, phone number, and Telegram account or group.
What should I do if there is no data?
If there is no data, you will see the timeline for the last hour. To see the data, change the evaluation window time to include the most recent point.
If there are no function errors, no data will be displayed. For more information, see No data policy.