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

Commit

Permalink
Update docs to make enabling metrics more clear (#13678)
Browse files Browse the repository at this point in the history
It was really easy to miss the `enable_metrics: True` step with the previous language.
  • Loading branch information
MadLittleMods authored Sep 2, 2022
1 parent 4fee4a3 commit 36b184b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
1 change: 1 addition & 0 deletions changelog.d/13678.doc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update docs to make enabling metrics more clear.
11 changes: 7 additions & 4 deletions docs/metrics-howto.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@

1. Enable Synapse metrics:

There are two methods of enabling metrics in Synapse.
In `homeserver.yaml`, make sure `enable_metrics` is
set to `True`.

1. Enable the `/_synapse/metrics` Synapse endpoint that Prometheus uses to
collect data:

There are two methods of enabling the metrics endpoint in Synapse.

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
Expand Down Expand Up @@ -41,9 +47,6 @@
- '0.0.0.0'
```

For both options, you will need to ensure that `enable_metrics` is
set to `True`.

1. Restart Synapse.

1. Add a Prometheus target for Synapse.
Expand Down

0 comments on commit 36b184b

Please sign in to comment.