diff options
author | Gergely Polonkai <gergely@polonkai.eu> | 2019-05-10 10:15:08 +0200 |
---|---|---|
committer | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2019-05-10 09:15:08 +0100 |
commit | cd3f30014ad7bd71b4c86a34487a7719d3ac8caf (patch) | |
tree | 6963a095e24f1dc8253f9011e455a44289fdd089 /docs | |
parent | Set syslog identifiers in systemd units (#5023) (diff) | |
download | synapse-cd3f30014ad7bd71b4c86a34487a7719d3ac8caf.tar.xz |
Make Prometheus snippet less confusing on the metrics collection doc (#4288)
Signed-off-by: Gergely Polonkai <gergely@polonkai.eu>
Diffstat (limited to '')
-rw-r--r-- | docs/metrics-howto.rst | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/metrics-howto.rst b/docs/metrics-howto.rst index 5bbb5a4f3a..32b064e2da 100644 --- a/docs/metrics-howto.rst +++ b/docs/metrics-howto.rst @@ -48,7 +48,10 @@ How to monitor Synapse metrics using Prometheus - job_name: "synapse" metrics_path: "/_synapse/metrics" static_configs: - - targets: ["my.server.here:9092"] + - targets: ["my.server.here:port"] + + where ``my.server.here`` is the IP address of Synapse, and ``port`` is the listener port + configured with the ``metrics`` resource. If your prometheus is older than 1.5.2, you will need to replace ``static_configs`` in the above with ``target_groups``. |