Skip to main content

Monitoring an 1C server cluster

Last update:

In a ready-to-use 1C cloud, you can monitor the cluster status.

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.

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.

note

For example, you have created a cluster in Novosibirsk, in the ru-8 pool. The device you are using to access the control panel is set to the Moscow time zone. The time on the metrics charts will be displayed in the Moscow time zone.

Viewing 1C server cluster metrics

  1. In the control panel, on the top menu, click Products and select 1C Managed Cloud.
  2. Go to the 1C Server Clusters section.
  3. Open the cluster page → Monitoring tab.
  4. Optional: in the Cluster monitoring block, filter metrics by date.
  5. View the available cluster metrics.

Cluster metrics in the control panel

vCPUCluster node core utilization as a percentage or by count
MemoryMemory used excluding cache and temporary data, as a percentage or in megabytes
VolumeDisk space used as a percentage or in gigabytes. This takes into account the disk space reserved for administrative purposes and unavailable for databases
BandwidthAmount of data received (Egress) or transmitted (Ingress) over the network channel in kilobytes per second

Exporting metrics in Prometheus format

Historical information for clusters is not available — metrics are collected once a minute. A list of all metrics supported in 1C server clusters and their description can be viewed in the Metrics in Prometheus format table.

  1. Get a token.
  2. Get metrics in Prometheus format.

1. Get a token

The token provides access to metrics for all clusters in a project and databases in the same pool.

  1. In the control panel, on the top menu, click Products and select 1C Managed Cloud.

  2. Go to the 1C Server Clusters section.

  3. Open the cluster page → Monitoring tab.

  4. In the Tokens for Prometheus block, click Generate. A token will be generated automatically.

  5. In the token string, click and save it.

2. Get metrics in Prometheus format

  1. Add to your 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> — domain to access the API. This is the URL part without https://, e.g., metrics.ru-9.1c.selcloud.ru. You can copy it in the control panel: in the top menu click Products1C Managed Cloud1C Server Clusters → cluster page → Monitoring tab → in the Tokens for Prometheus block click 1 next to the URL;
    • <token> — the token you saved in step 5 when getting a token in stage 1.
  2. Open the page containing metrics in Prometheus format in your browser:

    http://<ip_address>:9090/targets

    Specify <ip_address> — the IP address of the server where Prometheus is installed.

  3. Set up monitoring and alerts for your 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.

go1c_cluster_infoCluster information
go1c_cluster_config_infoInformation about constant cluster settings
go1c_cluster_maintenance_timestamp_secondsUnix timestamp (Unix) for the last or upcoming cluster maintenance. The status displays the maintenance state
go1c_cluster_proxy_infoInformation about cluster proxy configuration
go1c_cluster_cpu_usage_coresNumber of CPUs used per cluster node
go1c_cluster_cpu_limit_coresConfigured CPU limit per cluster node
go1c_cluster_memory_usage_bytesCurrent working set memory usage in bytes per cluster node
go1c_cluster_memory_limit_bytesConfigured memory limit in bytes per cluster node
go1c_cluster_disk_usage_bytesCurrent disk usage in bytes per cluster node
go1c_cluster_disk_capacity_bytesTotal disk size in bytes per cluster node
go1c_cluster_proc_cpu_usage_coresNumber of CPUs used by processes per cluster node
go1c_cluster_proc_open_filedescNumber of file descriptors used by processes per cluster node
go1c_cluster_proc_num_threadsNumber of threads for all processes per cluster node
go1c_cluster_proc_thread_cpu_usage_coresNumber of CPUs used by processes and thread subgroups per cluster node
go1c_cluster_proc_resident_memory_bytesRAM usage in bytes by processes per cluster node
go1c_cluster_proc_virtual_memory_bytesVirtual memory usage in bytes by processes per cluster node
go1c_cluster_network_receive_bytes_rateNetwork data receive speed in bytes per second per cluster node
go1c_cluster_network_transmit_bytes_rateNetwork data transmit speed in bytes per second per cluster node
go1c_cluster_network_receive_packets_rateNumber of network packets received per cluster node
go1c_cluster_network_transmit_packets_rateNumber of network packets transmitted per cluster node
go1c_cluster_network_receive_packets_dropped_rateNumber of network packets dropped on receive per cluster node
go1c_cluster_network_transmit_packets_dropped_rateNumber of network packets dropped on transmit per cluster node
go1c_cluster_fs_reads_rateNumber of filesystem read operations per second (IOPS) per cluster node
go1c_cluster_fs_writes_rateNumber of filesystem write operations per second (IOPS) per cluster node
go1c_cluster_fs_read_bytes_rateFilesystem read speed in bytes per second per cluster node
go1c_cluster_fs_write_bytes_rateFilesystem write speed in bytes per second per cluster node
go1c_cluster_sessionsTotal number of 1C sessions by application type: e.g., 1CV8, WebClient, and others
go1c_cluster_session_infoActive session information: user, application, and session ID
go1c_cluster_licensesTotal number of licenses per cluster
go1c_cluster_seatsTotal number of client licenses or seats for activated licenses
go1c_cluster_activated_license_infoInformation about activated licenses: type, number, and product
go1c_cluster_1c_rnmgr_infoInformation about the rnmgr process: process ID, host, and port
go1c_cluster_1c_rphost_infoInformation about the rphost process: process ID, host, port, and status
go1c_cluster_1c_process_available_performanceAvailable performance of the rphost process
go1c_cluster_1c_process_connectionsCurrent number of active connections to the rphost process
go1c_cluster_1c_process_connections_per_appCurrent number of active connections to the rphost process, grouped by application type
go1c_cluster_1c_process_memory_excess_duration_secondsDuration in seconds during which the process exceeded the allowed memory usage
go1c_cluster_health_issuesIndication of issues in the 1C managed cloud
go1c_cluster_session_cpu_time_totalCPU time consumption by server calls within a single session in seconds
go1c_cluster_session_memory_bytesDifference in bytes between used memory and memory freed by threads executing requests from the start of the session
go1c_cluster_session_callsTotal number of server calls during a session
go1c_cluster_session_server_time_secondsTotal duration of server calls during a session in seconds
go1c_cluster_session_write_bytesVolume of data written to disk since the start of the current call, in bytes
go1c_cluster_session_read_bytesVolume of data read from disk since the start of the session, in bytes
go1c_cluster_session_dbms_time_secondsTotal duration of database calls since the start of the first call in seconds
go1c_cluster_session_dbms_transmitted_bytesVolume of data transmitted between the 1C server and the database since the start of the session, in bytes