Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex Monitoring
  • Getting started
  • Access management
  • Terraform reference
  • Release notes
    • General questions
    • Navigation
    • Collecting and exporting metrics
    • Metrics and units of measure
    • Alerts / notifications
    • All questions on a single page
  1. FAQ
  2. Collecting and exporting metrics

Collecting and exporting metrics

Written by
Yandex Cloud
Updated at April 14, 2025

How do I add a VM RAM metric?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?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?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 for your application programming language to send metrics to Monitoring.

Go
Python
PHP
Java
Node.js
C++

Prometheus client library for Go.

Prometheus client library for Python.

Prometheus client library for PHP.

Prometheus client library for Java.

Prometheus client library for Node.js.

Prometheus client library for C++.

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?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?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?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?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?Can I export metrics in Prometheus format?

To export metrics in Prometheus format, use the prometheusMetrics method.

See a metric export setup example here.

Was the article helpful?

Previous
Navigation
Next
Metrics and units of measure
© 2025 Direct Cursus Technology L.L.C.