- Stock Grafana.
- Create a datasource for InfluxDB.
- Create a couple of dashboards during startup. These dashboards leverage templating and repeating of panels features in Grafana 2.0, to discover nodes, pods, and containers automatically.
- InfluxDB service URL can be passed in via the environment variable INFLUXDB_SERVICE_URL.
- If INFLUXDB_SERVICE_URL isn't defined, it will discover and use the external service URL, if available.
- Otherwise, it will fall back to http://monitoring-influxdb:8086.
cd $GOPATH/src/k8s.io/heapster/grafana
make all