Skip to content

Commit

Permalink
docs(book): update observability.md (#10587)
Browse files Browse the repository at this point in the history
  • Loading branch information
emnul authored Aug 28, 2024
1 parent 0b6480c commit 85ef1fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion book/run/observability.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Depending on your installation you may find the config for your Prometheus servi

Next, open up "localhost:3000" in your browser, which is the default URL for Grafana. Here, "admin" is the default for both the username and password.

Once you've logged in, click on the gear icon in the lower left, and select "Data Sources". Click on "Add data source", and select "Prometheus" as the type. In the HTTP URL field, enter `http://localhost:9090`. Finally, click "Save & Test".
Once you've logged in, click on "Connections" in the left side panel and select "Data Sources". Click on "Add data source", and select "Prometheus" as the type. In the HTTP URL field, enter http://localhost:9090. Finally, click "Save & Test".

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.

Expand Down

0 comments on commit 85ef1fb

Please sign in to comment.