Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2149 from enckse/develop
Browse files Browse the repository at this point in the history
setting up metrics, just adding/clarifying 2 very minor items
  • Loading branch information
erikjohnston authored Apr 25, 2017
2 parents 22f3d3a + 719aec4 commit 9388eec
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/metrics-howto.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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``.
Expand Down

0 comments on commit 9388eec

Please sign in to comment.