mirror of
https://github.com/element-hq/synapse
synced 2024-08-19 02:10:55 +00:00
deploy: 36b184b782
This commit is contained in:
parent
ef44a14448
commit
02e658c27b
4 changed files with 16 additions and 8 deletions
|
@ -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…
Reference in a new issue