Documentation: Clarify how to use prometheus locally (#72846)

Co-authored-by: Fiona Artiaga <89225282+GrafanaWriter@users.noreply.github.com>
This commit is contained in:
Sarah Zinger
2023-08-04 15:00:05 -04:00
committed by GitHub
co-authored by Fiona Artiaga
parent 0053b07885
commit 306e7bfa89
+3 -1
View File
@@ -140,13 +140,15 @@ If you want to guarantee the existence of metrics before any observations has ha
### How to collect and visualize metrics locally
1. Ensure you have Docker installed and running on your machine
1. Start Prometheus
```bash
make devenv sources=prometheus
```
2. Use Grafana Explore or dashboards to query any exported Grafana metrics
1. Run Grafana, and create a Prometheus datasource if you do not have one yet. Set the server URL to `http://localhost:9090`, enable basic auth, and type in the same auth you have for local Grafana
1. Use Grafana Explore or dashboards to query any exported Grafana metrics. You can also view them at http://localhost:3000/metrics
## Traces