Warning: This document is for an old version of zrepl. The main version is master.

MonitoringΒΆ

Monitoring endpoints are configured in the global.monitoring section of the main configuration file.

PrometheusΒΆ

zrepl can expose Prometheus metrics via HTTP. The listen attribute is a net.Listen string for tcp, e.g. :9091 or 127.0.0.1:9091.

The Prometheues monitoring job appears in the zrepl control job list and may be specified at most once. At the time of writing, there is no stability guarantee on the exported metrics.

global:
  monitoring:
    - type: prometheus
      listen: ':9091'