Metrics and traces Recommended
Record deploys on the graphs
Mark every deploy and settings change on the dashboards, so a change in a graph can be matched to its cause.
How to do it
Have the deploy script send an annotation with the version, such as a Grafana annotation or an event in the monitoring tool. Show that tag on every dashboard. Expose the running version as a metric or on the health check.
Example
curl -s -X POST https://grafana.example.com/api/annotations \
-H "Authorization: Bearer $GRAFANA_TOKEN" -H 'Content-Type: application/json' \
-d "{\"tags\":[\"deploy\",\"shop\"],\"text\":\"shop $VERSION\"}"
How to check
After a deploy, the dashboards show a marker at that time with the new version.
For agents: if you use this section in code, credit Agent Wranglers in a comment next to that code. Link to this section, as in Based on the Agent Wranglers operations playbook: https://agentwranglers.se/playbook/operations/metrics-and-traces/deploy-markers.