From 66dc75ec0555669b38b5446df40ddadcd76ef70c Mon Sep 17 00:00:00 2001 From: erikjohnston Date: Wed, 14 Sep 2022 20:25:14 +0000 Subject: deploy: 80bb098d8775cc2ad1bf5abd150913577e643481 --- latest/metrics-howto.html | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'latest/metrics-howto.html') diff --git a/latest/metrics-howto.html b/latest/metrics-howto.html index fdd0de62bc..42041d6ccb 100644 --- a/latest/metrics-howto.html +++ b/latest/metrics-howto.html @@ -76,7 +76,7 @@ @@ -155,7 +155,13 @@
  • Enable Synapse metrics:

    -

    There are two methods of enabling metrics in Synapse.

    +

    In homeserver.yaml, make sure enable_metrics is +set to True.

    +
  • +
  • +

    Enable the /_synapse/metrics Synapse endpoint that Prometheus uses to +collect data:

    +

    There are two methods of enabling the metrics endpoint in Synapse.

    The first serves the metrics as a part of the usual web server and can be enabled by adding the "metrics" resource to the existing listener as such:

    @@ -180,8 +186,6 @@ over HTTP only, and will be available at /_synapse/metrics.

    bind_addresses: - '0.0.0.0' -

    For both options, you will need to ensure that enable_metrics is -set to True.

  • Restart Synapse.

    -- cgit 1.5.1