mirror of
https://github.com/matrix-org/sliding-sync.git
synced 2025-03-10 13:37:11 +00:00
Apply suggestions from code review
Co-authored-by: Kegan Dougal <7190048+kegsay@users.noreply.github.com>
This commit is contained in:
parent
718513a1cb
commit
62b181c3b6
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
**Set up Prometheus and Grafana.** Out of scope for this readme. Useful documentation about using Grafana with Prometheus: http://docs.grafana.org/features/datasources/prometheus/
|
**Set up Prometheus and Grafana.** Out of scope for this readme. Useful documentation about using Grafana with Prometheus: http://docs.grafana.org/features/datasources/prometheus/
|
||||||
|
|
||||||
**Configure the bind address** for prometheus metrics in sliding sync. For example: `SYNCV3_PROM=2112`. Metrics will be accessible at /metrics at this address.
|
**Configure the bind address** for prometheus metrics in sliding sync. For example: `SYNCV3_PROM=:2112`. Metrics will be accessible at `/metrics` at this address.
|
||||||
|
|
||||||
**Configure a new job in Prometheus** to scrape the sliding sync endpoint.
|
**Configure a new job in Prometheus** to scrape the sliding sync endpoint.
|
||||||
|
|
||||||
For example by adding the following job to `prometheus.yml`, if your sliding sync is running locally and you have `SYNCV3_PROM` configured to port 2112:
|
For example by adding the following job to `prometheus.yml`, if your sliding sync is running locally not in docker and you have `SYNCV3_PROM` configured to port 2112:
|
||||||
|
|
||||||
```
|
```
|
||||||
# Sliding Sync
|
# Sliding Sync
|
||||||
|
Loading…
x
Reference in New Issue
Block a user