Metrics

ArangoSync (master & worker) provide metrics that can be used for monitoring
the datacenter to datacenter replication solution. These metrics are available
using the following HTTPS endpoints:

GET /metrics: Provides metrics in a format supported by Prometheus.

GET /metrics.json: Provides the same metrics in JSON format.

Both endpoints include help information per metrics.

Note: Both endpoints require authentication. Besides the usual authentication methods
these endpoints are also accessible using a special bearer token specified using the --monitoring.token
command line option.

{..."arangosync_master_worker_registrations":{"help":"Total number of registrations","type":"counter","samples":[{"value":2}]},"arangosync_master_worker_storage":{"help":"Number of times worker info is stored, loaded","type":"counter","samples":[{"value":8,"labels":{"kind":"","op":"save","result":"success"}},{"value":1,"labels":{"kind":"empty","op":"load","result":"success"}}]}...}