Skip to content

Commit

Permalink
feat: add link to Grafana dashboard config file on docs (paradigmxyz#…
Browse files Browse the repository at this point in the history
…3373)

Co-authored-by: Matthias Seitz <[email protected]>
  • Loading branch information
volkyeth and mattsse authored Jun 25, 2023
1 parent 1777a20 commit be9aed4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions book/run/observability.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Once you've logged in, click on the gear icon in the lower left, and select "Dat

As this might be a point of confusion, `localhost:9001`, which we supplied to `--metrics`, is the endpoint that Reth exposes, from which Prometheus collects metrics. Prometheus then exposes `localhost:9090` (by default) for other services (such as Grafana) to consume Prometheus metrics.

To configure the dashboard in Grafana, click on the squares icon in the upper left, and click on "New", then "Import". From there, click on "Upload JSON file", and select the example file in `reth/etc/grafana/overview.json`. Finally, select the Prometheus data source you just created, and click "Import".
To configure the dashboard in Grafana, click on the squares icon in the upper left, and click on "New", then "Import". From there, click on "Upload JSON file", and select the example file in [`reth/etc/grafana/overview.json`](https://github.com/paradigmxyz/reth/blob/main/etc/grafana/dashboards/overview.json). Finally, select the Prometheus data source you just created, and click "Import".

And voilá, you should see your dashboard! If you're not yet connected to any peers, the dashboard will look like it's in an empty state, but once you are, you should see it start populating with data.

Expand All @@ -64,4 +64,4 @@ This will all be very useful to you, whether you're simply running a home node a
[installation]: ../installation/installation.md
[release-profile]: https://doc.rust-lang.org/cargo/reference/profiles.html#release
[docs]: https://github.com/paradigmxyz/reth/tree/main/docs
[metrics]: https://github.com/paradigmxyz/reth/blob/main/docs/design/metrics.md#current-metrics
[metrics]: https://github.com/paradigmxyz/reth/blob/main/docs/design/metrics.md#current-metrics

0 comments on commit be9aed4

Please sign in to comment.