G
Monitoring / Observability / Incident

Grafana AI Integration

Connect Grafana to BeforeQuery for grounded AI answers and agent actions across Monitoring / Observability / Incident.

What is it?

About Grafana

Grafana is one of the Monitoring / Observability / Incident platforms BeforeQuery connects to. Once linked, the platform's data becomes a first-class source for grounded AI answers and a target for policy-gated agent actions — the same identity, approval, and audit-log guarantees every other integration ships with.

Setup

How to connect Grafana

  1. Step 01

    In the BeforeQuery dashboard, go to Integrations → Monitoring / Observability / Incident and select Grafana.

  2. Step 02

    Sign in to Grafana with an account that has permissions to grant BeforeQuery the Monitoring / Observability / Incident scopes required.

  3. Step 03

    Confirm the connection. Grafana is now available as a source and action target for every playbook in your workspace.

How BeforeQuery uses Grafana

What the agent does with your Grafana connection

  • 01

    Read metrics, alerts, and incident state from Grafana to power incident-response playbooks.

  • 02

    Trigger playbooks on Grafana alerts — auto-create Jira tickets, page on-call, coordinate war-room channels.

  • 03

    Draft incident-status updates for stakeholders, grounded in the specific Grafana data driving the incident.

  • 04

    Answer "is X system healthy?" questions with live data straight from Grafana.

Use cases

What teams actually do with the Grafana integration

Auto-declared incident workflow

Grafana alert fires above sev-2 → BeforeQuery declares an incident, opens a Slack war-room, pages the correct on-call rotation, and starts a running timeline in the incident record. Zero manual coordination overhead.

Stakeholder status updates

During an ongoing incident, BeforeQuery drafts an every-15-minutes status update for the customer-facing channel, grounded in the latest Grafana data + engineer chat context. Comms lead approves; message goes out.

Retrospective draft from Grafana timeline

Post-incident, BeforeQuery reconstructs the timeline from Grafana events, Slack messages, and deploy logs. Draft retrospective has the timeline, contributing factors, and next steps ready for the retro meeting.

Answer questions grounded in Grafana

Employees and customers ask Grafana-related questions in Slack, Teams, or the widget — BeforeQuery answers with the exact Grafana record shown alongside the response. No context switching, no "log into Monitoring / Observability / Incident to check" round-trips.

Grafana — Frequently Asked Questions

Common questions about connecting BeforeQuery to Grafana.

Yes — both are writeable via approved playbooks. Acking is typically autopilot (playbook confirms the alert was received + triaged); resolving typically requires operator sign-off since it clears the on-call queue.
Standard OAuth 2.0 where Grafana supports it, otherwise API-key or bearer-token auth. Credentials are stored encrypted at rest (AES-256-GCM) per workspace, never shared across customers, and rotated on request. The connection is scoped to the least-privilege set of scopes each playbook needs — you approve the scope list on install.
No. Your Grafana data feeds only your workspace's own agents and answers. Nothing is used to train a shared model, and nothing crosses workspace boundaries. Bring-your-own-model is available on Enterprise if you want to pin inference to your own OpenAI / Anthropic / self-hosted deployment.
Yes. Every Grafana integration is scoped at install time — you pick which resources, users, or record types are visible. You can further restrict per-playbook: a single playbook only touches the specific Grafana objects it needs. Scope changes take effect on the next sync.
Every write is logged with the acting user, the playbook that fired it, the exact operation, the target entity IDs, and the timestamp — all in the immutable audit log. Writes are rehearsable in simulation mode against a copy of live data before they touch Grafana for real.

Ready to connect Grafana?

Start free. No credit card required. Connect your first integration in under 5 minutes.