mirror of
https://github.com/matrix-org/synapse.git
synced 2025-10-05 20:41:24 +02:00
deploy: 36b184b78257fa4455293b7d7faa7a53a4261383
This commit is contained in:
parent
ef44a14448
commit
02e658c27b
@ -155,7 +155,13 @@
|
|||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<p>Enable Synapse metrics:</p>
|
<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
|
<p>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
|
can be enabled by adding the "metrics" resource to the existing
|
||||||
listener as such:</p>
|
listener as such:</p>
|
||||||
@ -180,8 +186,6 @@ over HTTP only, and will be available at <code>/_synapse/metrics</code>.</p>
|
|||||||
bind_addresses:
|
bind_addresses:
|
||||||
- '0.0.0.0'
|
- '0.0.0.0'
|
||||||
</code></pre>
|
</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>
|
||||||
<li>
|
<li>
|
||||||
<p>Restart Synapse.</p>
|
<p>Restart Synapse.</p>
|
||||||
|
@ -13399,7 +13399,13 @@ parts of the process.</p>
|
|||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<p>Enable Synapse metrics:</p>
|
<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
|
<p>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
|
can be enabled by adding the "metrics" resource to the existing
|
||||||
listener as such:</p>
|
listener as such:</p>
|
||||||
@ -13424,8 +13430,6 @@ over HTTP only, and will be available at <code>/_synapse/metrics</code>.</p>
|
|||||||
bind_addresses:
|
bind_addresses:
|
||||||
- '0.0.0.0'
|
- '0.0.0.0'
|
||||||
</code></pre>
|
</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>
|
||||||
<li>
|
<li>
|
||||||
<p>Restart Synapse.</p>
|
<p>Restart Synapse.</p>
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user