1C database monitoring
In a ready-to-use 1C cloud, you can monitor the status of your database.
For a more detailed analysis, some metrics can be viewed as charts in the control panel:
A full set of available metrics can be exported in Prometheus format. Learn more in the Export metrics in Prometheus format section of the 1C Server Cluster Monitoring manual.
The time in the control panel matches the time set on your device and does not depend on the region where the cluster is hosted.
For example, you have created a database in Novosibirsk, in the ru-8 pool. The Moscow time zone is set on the device you used to log in to the Control Panel. The time on the metrics charts will be displayed in the Moscow time zone.
View 1C database metrics
- In the control panel, in the top menu, click Products and select Ready-to-use 1C Cloud.
- Go to the Databases section.
- Open the database page → Monitoring tab.
- In the Cluster monitoring block, select the monitoring type:
- Database server monitoring — if you need to view metrics on cloud server resources;
- Database monitoring — if you need to view the overall database load and query metrics.
- Optional: filter metrics by date.
- View available database metrics.
Database metrics in the control panel
Database server monitoring
Database monitoring
Export metrics in Prometheus format
Historical information for clusters is unavailable — metrics are collected once a minute. A list of all metrics supported in 1C server clusters and their description can be found in the table Metrics in Prometheus format.
1. Get a token
The token provides access to metrics of all clusters in the project and databases in the same pool.
-
In the Control panel, in the top menu, click Products and select 1C Managed Cloud.
-
Go to the 1C server clusters section.
-
Open the cluster page → Monitoring tab.
-
In the Prometheus tokens block, click Create. The token will be generated automatically.
-
In the token line, click and save it.
2. Get metrics in Prometheus format
Configuration file
CLI
-
Add the following 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>— domain for accessing the API. This is the part of the URL withouthttps://, for examplemetrics.ru-9.1c.selcloud.ru. You can copy it in the Control panel: in the top menu, click Products → 1C Managed Cloud → 1C server clusters → cluster page → Monitoring tab → in the Prometheus tokens block, click next to the URL;<token>— token that you saved in step 5 when getting the token in stage 1.
-
Open the page in your browser where metrics in Prometheus format will be available:
http://<ip_address>:9090/targetsSpecify
<ip_address>— the IP address of the server where Prometheus is installed. -
Set up monitoring and alerts for the 1C server cluster yourself.
Metrics in Prometheus format
Metrics in Prometheus format are provided for all project clusters. A specific cluster can be found by the 1C cluster ID in the cluster_id label.
Server clusters
Apache servers
Databases
Infobases
You can use the preconfigured dashboard template in Grafana.