We ship a custom Grafana image as part of a standard Sourcegraph distribution.Learn more about it in our monitoring architecture.
Adding dashboards, panels, etc. to this image is handled by the monitoring generator.
The image is defined in
See the metrics and dashboards documentation.
To learn more about building dashboards, see the observability developer guides.
To upgrade Grafana:
- Make the appropriate version changes to the
- Ensure that no migration steps are required: Migrate from previous Grafana container versions
- Ensure the image still builds:
- Run the monitoring stack locally and verify that all generated Grafana dashboards still render correctly