Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Kegan Dougal <[email protected]>
  • Loading branch information
wrjlewis and kegsay authored May 16, 2024
1 parent 718513a commit 62b181c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grafana/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/

**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.

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
Expand Down

0 comments on commit 62b181c

Please sign in to comment.