Skip to content

Commit

Permalink
fix: change default Graphana port (#148)
Browse files Browse the repository at this point in the history
fix: change default prometheus port

The default port of `3000` conflicts with the Chrome devtools
protocol port when using tiros.
  • Loading branch information
achingbrain authored Apr 11, 2024
1 parent 36625a5 commit 1700c49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ From inside this directory, you can run the following command to start up a graf
docker compose -f docker-compose.yml up -d
```

Then visit <http://localhost:3000/d/helia-http-gateway-default/helia-http-gateway-default-dashboard?orgId=1&refresh=5s> and login with the default credentials (admin:admin). The prometheus datasource and the dashboard should be automatically set up.
Then visit <http://localhost:9191/d/helia-http-gateway-default/helia-http-gateway-default-dashboard?orgId=1&refresh=5s> and login with the default credentials (admin:admin). The prometheus datasource and the dashboard should be automatically set up.

If you want to generate some metrics quickly, you can run `npm run debug:until-death` and you should start seeing metrics in the dashboard for the results of querying the gateway for the websites listed by <https://probelab.io/websites/>

Expand Down
2 changes: 1 addition & 1 deletion config/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ services:
grafana:
image: grafana/grafana
ports:
- 3000:3000
- 9191:3000
volumes:
- ./grafana/datasources:/etc/grafana/provisioning/datasources
- ./grafana/dashboard.yaml:/etc/grafana/provisioning/dashboards/main.yaml
Expand Down

0 comments on commit 1700c49

Please sign in to comment.