summary refs log tree commit diff
path: root/develop/metrics-howto.html
diff options
context:
space:
mode:
Diffstat (limited to 'develop/metrics-howto.html')
-rw-r--r--develop/metrics-howto.html10
1 files changed, 7 insertions, 3 deletions
diff --git a/develop/metrics-howto.html b/develop/metrics-howto.html

index 892fbb5ca9..42041d6ccb 100644 --- a/develop/metrics-howto.html +++ b/develop/metrics-howto.html
@@ -155,7 +155,13 @@ </li> <li> <p>Enable Synapse metrics:</p> -<p>There are two methods of enabling metrics in Synapse.</p> +<p>In <code>homeserver.yaml</code>, make sure <code>enable_metrics</code> is +set to <code>True</code>.</p> +</li> +<li> +<p>Enable the <code>/_synapse/metrics</code> Synapse endpoint that Prometheus uses to +collect data:</p> +<p>There are two methods of enabling the metrics endpoint in Synapse.</p> <p>The first serves the metrics as a part of the usual web server and can be enabled by adding the &quot;metrics&quot; resource to the existing listener as such:</p> @@ -180,8 +186,6 @@ over HTTP only, and will be available at <code>/_synapse/metrics</code>.</p> bind_addresses: - '0.0.0.0' </code></pre> -<p>For both options, you will need to ensure that <code>enable_metrics</code> is -set to <code>True</code>.</p> </li> <li> <p>Restart Synapse.</p>