Skip to content

Latest commit

 

History

History
 
 

grafana

Istio Grafana image

This image is Grafana configured to work with Istio, and a few pre-loaded dashboards:

Istio Dashboard

This is the primary dashboard with an overview of the whole mesh.

Mixer Dashboard

This dashboard focuses on Mixer.

Pilot Dashboard

This dashboard focuses on Pilot.

Implementation details

Grafana config is stored in grafana.ini. dashboards.yaml and datasources.yaml configure those resources respectively using the provisioning config.

Provisioning is currently a new feature, so dashboards require a small modification. Normally when exporting a dashboard from Grafana, the datasources are templated, and then Grafana un-templates on import by matching to an existing datasource. When using Provisioning this doesn't happen, so this needs to be done manually.

The name of the configured datasource in datasources.yaml is Prometheus, so all instances of ${DS_PROMETHEUS} in exported dashboards need to be replaced with Prometheus. fix_datasources.sh accomplishes this. Grafana is expected to fix this issue in the near future.

Another modification to dashboards is the "uid" field. This is hard-coded instead of using the randomly generated one. This is to allow easy direct hyperlinks to dashboards.

Environment-specific config is set in the install config.