0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-05 22:28:54 +01:00
synapse/contrib/prometheus
2017-08-16 15:31:44 +01:00
..
consoles Add prometheus config 2017-08-16 15:31:44 +01:00
README Add prometheus config 2017-08-16 15:31:44 +01:00
synapse.rules Add prometheus config 2017-08-16 15:31:44 +01:00

This directory contains some sample monitoring config for using the
'Prometheus' monitoring server against synapse.

To use it, first install prometheus by following the instructions at

  http://prometheus.io/

Then add a new job to the main prometheus.conf file:

  job: {
    name: "synapse"

    target_group: {
      target: "http://SERVER.LOCATION.HERE:PORT/_synapse/metrics"
    }
  }

Metrics are disabled by default when running synapse; they must be enabled
with the 'enable-metrics' option, either in the synapse config file or as a
command-line option.