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.
If you've set hubble up on a remote server, set up an ssh tunnel with ssh -L 3000:localhost:3000 xyz@1.1.1.1
and then open localhost:3000 in a browser to see your dashboards.
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 first loginGo to
Settings -> Datasource -> Add new data source
and selectGraphite
. Set the URL tohttp://statsd:80
and clickSave & Test
to make sure it is workingGo to
Settings -> Dashboard -> Add New -> Import
, and in theImport from Panel JSON
, paste the contents of the Default Grafana Dashboard