WARNING: Looking for Grafana documentation for Sourcegraph administrators? See the metrics and dashboards documentation.
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 docker-images/grafana
.
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
sourcegraph/grafana
Dockerfile - Ensure that no migration steps are required: Migrate from previous Grafana container versions
- Ensure the image still builds:
./docker-images/grafana/build.sh
- Run the monitoring stack locally and verify that all generated Grafana dashboards still render correctly