diff --git a/docs/development.md b/docs/development.md index e2c9ddf9d..ccca2eafa 100644 --- a/docs/development.md +++ b/docs/development.md @@ -140,9 +140,9 @@ A benchmark history can be viewed [here](https://hasura.github.io/ndc-postgres/d ## Testing metrics -We have a Prometheus / Grafana set up in Docker. Run `just start-metrics` to -start them, you can then navigation to `localhost:3001` for Grafana, or -`localhost:9090` for Prometheus. +We have a Prometheus / Grafana set up in Docker. Run `just open-prometheus` or +`just open-grafana` to start them and navigate to the prometheus or grafana +dashboards respectively. ### Editing Grafana dashboard diff --git a/justfile b/justfile index 2255bdacf..0da3c116f 100644 --- a/justfile +++ b/justfile @@ -270,6 +270,19 @@ run-engine: start-dependencies --metadata-path ./static/postgres/chinook-metadata.json \ --authn-config-path ./static/auth_config.json +# Navigate to the jaeger console +open-jaeger: + open http://localhost:4002/search?service=ndc-postgres + +# Navigate to the grafana console +open-grafana: start-metrics + @echo "The login and password are admin:grafana" + open http://localhost:3001 + +# Navigate to the prometheus console +open-prometheus: start-metrics + open http://localhost:9090 + # start a postgres docker image and connect to it using psql repl-postgres: @docker compose up --wait postgres