Skip to main content

General information about the Metrics service

The Metrics service is designed to collect, store, and analyze metrics for Selectel products.

You can collect metrics for:

Metrics allow you to evaluate resource utilization, identify bottlenecks in application and infrastructure performance, and distinguish one-off anomalies from systematic degradation.

How it works

The Metrics service automatically collects metrics on the status of your resources. A metric (metric) is a quantitative performance indicator in the Prometheus format.

A metric is a single entry and consists of three parameters:

  • metric_name – metric name;
  • label_name – metric label name;
  • label_value – label value.

Metrics associated with specific products or services are grouped into a namespace (namespace). Namespaces are fixed and cannot be changed. Available namespaces can be viewed in the Metrics Reference guide.

How to use the Metrics service

You can view and analyze metrics using metric collection agents:

You can also visualize metrics in the control panel using:

You can check the availability of the Metrics service across locations in the Metric availability by location guide.

Custom dashboards

In the control panel, you can build custom dashboards—collections of charts based on Selectel product metrics grouped for a specific task. A dashboard can be created by specifying the projects and locations from which data will be pulled. Widgets are then added to it. You can add up to 30 widgets to a single dashboard. Each widget represents one or more metric queries with a shared chart. Widgets can be grouped into logical sections, and text notes can be used to label sections and explain what to look for.

Widget queries can be defined in two ways:

  • using the query builder, where the metric and filters are selected from lists;
  • or directly in PromQL.

You can add a maximum of five queries to each widget.

Filters can be set at the dashboard level—they apply to all widgets at once. If necessary, you can assign custom label values to an individual widget.

Third-party applications are not required to build dashboards, and metrics for Grafana are still available via API.

Read more about configuring dashboards in the Manage custom dashboards guide.

System dashboards

You can view system dashboards in the control panel—a set of charts with metrics for Selectel products and services showing general indicators. System dashboards cannot be customized, but the data on them can be filtered.

Filters can be set at the dashboard level—they apply to all charts at once.

Read more about system dashboards in the View system dashboards guide.

Pricing⁠

The service is currently provided free of charge. In the future, the service will become paid—we will notify you of any changes to the terms in advance.