1C server cluster monitoring
In cloud ready 1C, you can monitor the status of the cluster.
For more detailed analysis, some metrics can be viewed as graphs in the dashboard:
The full set of available metrics can be exported in Prometheus format.
The time in the control panel corresponds to the time set on your device and is independent of the region where the cluster is hosted.
For example, you have created a cluster in Novosibirsk, in the ru-8 pool. On the device from which you accessed the control panel, the time zone of Moscow is set. The time on the metrics charts will be displayed in the Moscow time zone.
View 1C server cluster metrics
- In the control panel, in the top menu, click Products and select 1C Ready Cloud.
- Go to the 1C Server Clusters section.
- Open the cluster page → Monitoring tab.
- Optional: in the Cluster Monitoring block, filter the metrics by date.
- Check out the available cluster metrics.
Cluster metrics in the dashboard
Export metrics in Prometheus format
Historical information for clusters is not available - metrics are collected once a minute. The list of all metrics supported in 1C server clusters and their description can be viewed in the Metrics table in Prometheus format.
1. Get a token
The token gives access to metrics for all project clusters and databases in a single pool.
-
In the control panel, in the top menu, click Products and select 1C Ready Cloud.
-
Go to the 1C Server Clusters section.
-
Open the cluster page → Monitoring tab.
-
In the Tokens for Prometheus block, click Create. The token will be generated automatically.
-
Copy the token. To do this, click in the token line.
2. Get metrics in Prometheus format
Configuration file
CLI
-
Add to the Prometheus configuration file:
scrape_configs:
- job_name: get-metrics-from-1c
scrape_interval: 1m
static_configs:
- targets:
- '<domain>'
scheme: https
authorization:
type: Bearer
credentials: <token>Specify:
<domain>- The domain to call the API. This is the part of the URL withouthttps://for examplemetrics.ru-9.1c.selcloud.ru. You can copy it in control panel: in the top menu click Products and select Ready 1C Cloud → 1c Server Clusters → Cluster page → tab Monitoring → in the block Tokens for Prometheus click next to the URL;<token>- the token that you copied in step 5 when you token that you copied in step 5 when you received the token in step 1.
-
Open a page in your browser where Prometheus-formatted metrics will be available:
http://<ip_address>:9090/targetsSpecify
<ip_address>- the IP address where Prometheus is installed. -
Self-configure monitoring and alerts for a cluster of 1C servers.
-
Open the CLI.
-
To get the metrics, submit a request:
curl -L "<endpoint_url>" -H "Authorization: Bearer <token>"Specify:
<endpoint_url>- URL to access the metrics API, e.g.metrics.ru-9.1c.selcloud.ru. You can copy it in control panel: in the top menu click Products and select Ready 1C Cloud → 1c Server Clusters → Cluster page → tab Monitoring → in the block Tokens for Prometheus click next to the URL;<token>- the token that you copied in step 5 when you token that you copied in step 5 when you received the token in step 1.
Available metrics in Prometheus format will appear in the response.
-
Self-configure monitoring and alerts for a cluster of 1C servers.
Metrics in Prometheus format
Metrics in Prometheus format are provided for all clusters of the project. A specific cluster can be found by 1C cluster identifier in the cluster_id label.
Server clusters
Apache servers
Databases
Information bases