mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-25 11:59:21 -05:00
Update metrics-howto.rst
This commit is contained in:
parent
27c005ae2c
commit
7efb38d1dd
@ -9,11 +9,13 @@ How to monitor Synapse metrics using Prometheus
|
||||
prometheus itself defaults to 9090, so starting just above that for
|
||||
locally monitored services seems reasonable. E.g. 9092:
|
||||
|
||||
Add to homeserver.yaml
|
||||
Add to homeserver.yaml::
|
||||
|
||||
metrics_port: 9092
|
||||
|
||||
Restart synapse
|
||||
Also ensure that ``enable_metrics`` is set to ``True``.
|
||||
|
||||
Restart synapse.
|
||||
|
||||
3: Add a prometheus target for synapse. It needs to set the ``metrics_path``
|
||||
to a non-default value::
|
||||
|
Loading…
Reference in New Issue
Block a user