Monitoring Hubble
Hubble ships with a default Grafana configuration to monitor sync and perf.
If you used the install script, open localhost:3000 in a browser to see your dashboard. If you used docker manually or installed from source, you may need to set this up yourself.
Setting up monitoring
- Start grafana and statsd
docker compose up statsd grafana
- Enable monitoring on your Hub by setting this in your
.env
STATSD_METRICS_SERVER=statsd:8125
If you are running hubble from source, you can pass this in as a command line argument
yarn start --statsd-metrics-server 127.0.0.1:8125
Restart your hub
Open Grafana in a browser at
127.0.0.1:3000
. The default username/password isadmin
/admin
. You will need to change your password on the first loginGo to
Administration -> Data sources -> Add new data source
and selectGraphite
. Set the URL tohttp://statsd:80
and clickSave & Test
to make sure it is workingGo to
Dashboards -> New -> Import
, and in theImport from Panel JSON
, paste the contents of the Default Grafana Dashboard
Troubleshooting
- Make sure that the
grafana/data
directory is writeable to all users.