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 pool ru-8.On the device from which you entered the control panel, the time zone of Moscow is set.The time on the metrics charts will be displayed in the time zone of Moscow.
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 that are supported in 1C server clusters and their descriptions 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.
-
In the token row, click and save it.
2. Get metrics in Prometheus format
Configuration file
CLI
-
Add to the Prometheus configuration file:
scrape_configs:- job_name: get-metrics-from-1cscrape_interval: 1mstatic_configs:- targets:- '<domain>'scheme: httpsauthorization:type: Bearercredentials: <token>Specify:
<domain>- The domain to call the API. This is the part of the URL withouthttps://for examplemetrics.ru-9.1c.selcloud.ru.Can be copied into control panel: in the top menu click Products → 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 saved in step 5 when you received the token in step 1. Receive 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>- IP address of the server where Prometheus is installed. -
Self-configure monitoring and alerts for a cluster of 1C servers.
Metrics in Prometheus format
Metrics in Prometheus format are provided for all clusters in the project.A specific cluster can be found by the 1C cluster ID in the cluster_id label.
Server clusters
Apache servers
Databases
Information bases