diff options
author | Erik Johnston <erikj@jki.re> | 2017-04-25 16:37:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-25 16:37:46 +0100 |
commit | 9388eece2b67dafd6c76b1ec5a822349e05b98cc (patch) | |
tree | 9f96b55a89452841115b6e00ffa1f9135a1130d5 /docs | |
parent | Reduce _get_state_group_for_event cache size (diff) | |
parent | clarify metric setup to use 'scrape_configs' section of yaml and use an array... (diff) | |
download | synapse-9388eece2b67dafd6c76b1ec5a822349e05b98cc.tar.xz |
Merge pull request #2149 from enckse/develop
setting up metrics, just adding/clarifying 2 very minor items
Diffstat (limited to 'docs')
-rw-r--r-- | docs/metrics-howto.rst | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/metrics-howto.rst b/docs/metrics-howto.rst index 7390ab85c9..143cd0f42f 100644 --- a/docs/metrics-howto.rst +++ b/docs/metrics-howto.rst @@ -21,13 +21,12 @@ How to monitor Synapse metrics using Prometheus 3. Add a prometheus target for synapse. - It needs to set the ``metrics_path`` to a non-default value:: + It needs to set the ``metrics_path`` to a non-default value (under ``scrape_configs``):: - job_name: "synapse" metrics_path: "/_synapse/metrics" static_configs: - - targets: - "my.server.here:9092" + - targets: ["my.server.here:9092"] If your prometheus is older than 1.5.2, you will need to replace ``static_configs`` in the above with ``target_groups``. |