Skip to main content

Overview

Correlate incidents with deployments and config changes from any source. OpenSRE reads Grafana annotations — the standard “what changed and when” marker — so the agent can answer whether a deploy or config change preceded an alert, even when the change did not come from a GitHub push (Argo CD/Flux syncs, helm upgrade, Jenkins/CircleCI jobs, Terraform applies, manual hotfixes). This complements the GitHub deploy timeline, which only sees GitHub-originated deploys.

Prerequisites

No new credentials. The tool reuses your existing Grafana integration. Once Grafana is connected, query_grafana_annotations is available during investigations.

Setup

No separate OpenSRE setup. Configure the Grafana integration (CLI, environment variables, or persistent store). Annotation query uses that connection.

Credentials

None beyond your Grafana service account token. See Grafana → Credentials.

Investigation tools

query_grafana_annotations

Example:
Each annotation may also include: The agent uses results like this to flag a likely change-induced regression and tie the suspected root cause to a specific deploy.

Verify

No separate verify command. Use opensre integrations verify grafana to confirm the underlying Grafana connection.

Troubleshooting

Security

Annotation query is read-only through your existing Grafana credentials. Prefer a read-scoped service account token as described in Grafana → Security.

Extras

Emitting annotations

Make deploys visible by writing a Grafana annotation when you ship. Most CD tools can post to Grafana’s annotations API, for example:
Tag deploy annotations consistently (for example deployment) so the agent can filter precisely during an investigation.