# Grafana Assistant Investigations: Alert-Triggered RCA Setup

> Wire Grafana Assistant Investigations to alert enrichment and IRM webhooks, from the docs: scoping, credentials, failure modes and a safe Monday rollout.

URL: https://www.matthewswong.com/en/blog/grafana-assistant-investigations-alert-triggered-rca/

- Author: Matthews Wong (https://www.matthewswong.com/en/about/)
- Published: 2026-10-17
- Updated: 2026-10-17
- Category: DevOps

> **Key takeaway:** Grafana Assistant Investigations, generally available since 27 July 2026, can start itself in two ways: an Assistant Investigations enricher on an alert enrichment, or an IRM outgoing webhook. Scope the enricher with label matchers because it has its own pricing, give the webhook a service credential with investigations:create, and verify every hypothesis in the report.

The page arrives at 03:12 with a service name, a severity label and a link to a dashboard. Everything useful still has to be found by a human who is half awake: which deploy, which dependency, which query. That first ten minutes of context gathering is the work Grafana wants Assistant Investigations to take over.

I read Grafana's general-availability entry, the launch press release, the Investigations documentation, the alert enrichment documentation, the IRM webhook guide and the Terraform provider docs for the enrichment resource. I have not run this against a live stack, so every behaviour below is as documented, and where the documentation is silent I say so instead of guessing.

## What went generally available, and what this post covers

Grafana's press release lists six tools that reached general availability on 27 July 2026: Assistant Investigations, Assistant Workspace, Assistant Automations, the Grafana Cloud MCP server, gcx and Agent Observability. Investigations is the one that takes an alert or incident, proposes possible causes, checks each against telemetry, and confirms or rules it out. The GA entry says it works across metrics, logs, traces and profiles and ends with a structured report of findings, evidence and suggested next steps.

The release also quotes Grafana's 2026 Observability Survey: 92 percent of practitioners say they would get real value from AI catching anomalies, while only 57 percent say they are implementing observability for their own AI systems in any capacity. This post ignores that gap and covers one narrow, practical question: how to make a report exist before the on-call engineer opens the page.

## Four ways an investigation starts, and where each one lands

The GA entry names three ways to start: manually in Assistant Workspace Investigation mode, from an alert enrichment, and from IRM webhooks. The webhook guide splits the third into alert groups and incidents, which behave differently enough that I treat them as separate paths. The table is the whole design space; the choice is mostly about where you want the result to appear.

Manual, Assistant Workspace

A problem statement you write: symptom, impact, services, time range

Anyone holding the Assistant Investigation User role and data source access

The Workspace; shareable as a report or a snapshot

Alert enrichment

An alert rule firing, before the notification is sent

Admins for global scopes; users with alert.enrichments:write for a single rule

A link to the investigation added to the notification

IRM alert group webhook

Alert group created or a status change

Someone with IRM OnCall access and the outgoing webhook permissions

A resolution note on the alert group, plus the Slack thread if Slack is configured

IRM incident webhook

Incident declared, optionally Incident changed

Same as the alert group webhook

An activity item when it starts and another when it finishes, on the incident page

The practical difference: the enricher puts a link into the notification itself, so it reaches whichever contact point you use, while the webhooks write back into IRM, which is where a team that already runs on-call from IRM will look. The documentation I read does not say whether an enricher investigation and a webhook investigation for the same alert are merged. It documents de-duplication only for repeated alert-group webhook firings, so I would pick one path per alert rather than find out in production.

## Path one: an Assistant Investigations enricher, scoped on purpose

Alert enrichment adds context to a notification before it is sent, and the docs list the enrichers: Data Source Query, Assign, External, RCA Workbench, Sift, Explain and Assistant Investigations. The Terraform provider documents the same step as assistant_investigations, and the GA note on alert enrichment confirms the feature itself is generally available in Grafana Cloud. The config below is adapted from the provider's example; the matchers and the Loki step are my choices, not Grafana's recommendation.

Each step takes an optional timeout, which the enrichment docs describe as the maximum time it can run before the notification is sent. The docs give no default or recommended value, so the 30s above is mine. Putting a cheap, deterministic Data Source Query step before the investigation means the page still carries a log preview even if the investigation step is slow.

> The alert enrichment documentation warns that the Assistant Investigations enricher has its own pricing conditions and should not run on the all alerts scope, or any scope with a large number of alerts. Investigations also count against the stack's monthly usage limits. Scope with label matchers before the first save.

Matchers support the operators equals, not equals, regex match and regex not match, on labels and on annotations. Empty alert_rule_uids and an empty receivers list mean every rule and every receiver, so a spec with neither matcher nor UIDs is the all-alerts scope the warning is about. For a standard user, the alternative is the Alert enrichment tab on a single rule, which needs the write permission and cannot change scope.

## Path two: IRM webhooks that write findings back to the page

The recommended setup is in the Assistant, under Settings then Investigations: Enable incident webhooks for the Incident declared trigger, or Add webhook and pick one or more IRM integrations for alert groups. The same screen reports each alert source as Not covered, Configured but disabled or Covered, so you can see what is wired before you assume it. If you configure it by hand in IRM, these are the values the guide gives.

The credential is where this tends to break. Automatic deliveries need a service credential rather than a user session, and a service account needs the investigations:create permission both to start and to update an investigation. The full setup also needs grafana-irm-app.outgoing-webhooks read and write, integrations read, alert-groups read and write, and plugin access to the IRM app.

Once it fires, an alert group webhook creates an investigation from the alert group title and context, posts a resolution note with a link, and updates the investigation when status or labels change. An incident webhook builds it from the title, summary and available activity, and posts a second activity item with the result. The guide says the webhook payload schema is not in its text, so I use the preset, which sets the endpoint and format itself.

## Reading the report: hypotheses are claims, not conclusions

An investigation produces three things you can inspect: the report with findings and next steps, a list of hypotheses with their status and supporting evidence, and the sources, meaning the generated panels and query output with the query, time range and data source behind each. Before a report exists you can disprove or reopen a hypothesis. After it, you answer whether it was the cause. That feedback step is the human check built into the product, and it is the one to use.

It is steerable while it runs. The docs describe a slash command for asking status without changing the investigation, Enter to queue up to five follow-ups, and Cmd or Ctrl plus Enter to redirect immediately. Stop ends evidence gathering and returns a summary marked as incomplete, which you can continue afterwards. Scheduled checks let it watch for recovery.

Customisation is how you stop it rediscovering your architecture every time: infrastructure memory for services and dependencies, rules for standing instructions such as preferred metrics, skills for runbooks it consults when relevant, and MCP servers for systems like code repositories. Reports export as Markdown, HTML or PDF, and snapshots publish the transcript to anyone in your Grafana organisation with the link.

> Write your top three runbooks as skills and your service ownership as infrastructure memory before enabling any automatic trigger. An investigation that knows your dependency graph proposes better hypotheses than one that has to infer it from labels at 03:12.

## What goes wrong: the failure modes the docs name

I have no outage story to tell here, because I have not run it in production. What I can give you is the failure list from the webhook troubleshooting section and the enrichment warning, mapped from symptom to check. Each row is documented behaviour, not my experience.

No investigations appear

Webhook disabled, wrong integrations selected, or the expected triggers not chosen

Execution history in IRM OnCall for the requests and responses

403 Forbidden on delivery

Credential from another stack, or missing investigations:create permission

The service credential and its permission, then retry

No investigation link on the alert group or incident

URL not pointing at your stack, or the webhook cannot post to alert groups and incidents

The webhook URL and execution history errors

Investigation context goes stale

Webhook lacks Status change for alert groups or Incident changed for incidents

Triggers on the webhook and the update events in execution history

Usage climbs faster than expected

Enricher on the all alerts scope or a scope with many alerts, which the docs warn against

Label matchers on the enrichment and the stack's monthly usage

A sixth failure is not in the table because it is mine to name: trusting a plausible report. The product exposes hypothesis status and evidence precisely so you can check them, and the cost of skipping that check is acting on a confident wrong cause during an incident.

## Trade-offs and guardrails before you automate

Automation has a price and a noise floor. The enricher has its own pricing, investigations count against monthly limits, and every investigation started on a flapping alert is spend with no new information. The webhook guide's own advice is to enable webhooks only for integrations whose alerts you want investigated, start with a few and watch volume, and use automation for common, well-understood alerts while launching manual investigations for complex ones.

The settings give you levers. Under Assistant, Settings, Investigations you can control automatic continuation on alert and IRM updates, continuation windows, start limits, and whether other data sources can be queried. Skipped incident labels take key and value rules such as team:platform: incidents matching a rule do not start investigations, and an investigation already running for a matching incident is cancelled.

The honest trade is latency against load. An investigation that starts at alert time costs money on every qualifying alert and saves minutes on the ones that are real. I would only automate where the alert is frequent enough to have a known shape and severe enough that minutes matter, and leave the long tail manual.

## What to do on Monday

Start narrow and make the first week a measurement exercise, not a rollout. This order keeps the blast radius small and gives you evidence before you widen it.

1. In Assistant, Settings, Investigations, search for whether your alert source is covered, and note which sources are Not covered or Configured but disabled.
2. Create a service credential in the same stack with the investigations:create permission, and confirm the people reading reports hold the Assistant Investigation User role.
3. Enable an alert group webhook for one IRM integration only, then watch execution history in IRM OnCall for the first deliveries.
4. If you also want links in notifications, add the enricher through Terraform with label matchers for one team's critical alerts, and never the all alerts scope.
5. After a week, open each report, mark hypotheses as cause or not, compare them with what the responder actually found, and only then widen the scope.

Keep a simple tally during that week: investigations started, investigations a responder used, and wrong top hypotheses. Grafana gives no accuracy figure in the sources I read, so your own tally is the only evidence you will have about your own stack.

The rule I would carry: automate the trigger, never the trust. Pick one start path per alert, scope the enricher with label matchers, give the webhook a proper service credential, and treat every hypothesis as a claim until its evidence has been opened.

## Sources and further reading

- Grafana What's new: Assistant Investigations is generally available in Grafana Cloud
- Grafana Labs press release: six tools for agentic operations
- Grafana docs: Assistant Investigations
- Grafana docs: alert enrichment
- Grafana docs: configure IRM webhooks for automated investigations
- Terraform provider docs: grafana_apps_alertenrichment_alertenrichment_v1beta1
- Grafana What's new: alert enrichment is generally available
- Grafana docs: outgoing webhooks for Grafana IRM

## Source links

- https://grafana.com/whats-new/2026-07-29-assistant-investigations-is-now-generally-available-in-grafana-cloud/
- https://grafana.com/press/2026/07/27/grafana-labs-ships-six-tools-that-power-agentic-operations-from-planning-to-production/
- https://grafana.com/docs/grafana-cloud/machine-learning/assistant/platform/investigation/
- https://grafana.com/docs/grafana-cloud/alerting-and-irm/alerting/configure-notifications/alert-enrichment/
- https://grafana.com/docs/grafana-cloud/machine-learning/assistant/configure/irm-webhooks/
- https://github.com/grafana/terraform-provider-grafana/blob/main/docs/resources/apps_alertenrichment_alertenrichment_v1beta1.md
- https://grafana.com/whats-new/2026-08-24-alert-enrichment/
- https://grafana.com/docs/grafana-cloud/alerting-and-irm/irm/configure/integrations/webhooks/outgoing-webhooks/

## FAQ

### What is Grafana Assistant Investigations?

It is a Grafana Cloud feature, generally available since 27 July 2026, that takes an alert or incident, explores metrics, logs, traces and profiles, tests hypotheses and writes a report with findings, evidence and next steps. You can start it manually in Assistant Workspace or automatically from alerts and incidents.

### How do I make an investigation start automatically when an alert fires?

Add the Assistant Investigations enricher to an alert enrichment, or set up an IRM outgoing webhook, using the Grafana Assistant for IRM preset or the Assistant Settings page. The enricher adds a link to the notification, while the IRM webhooks post findings back to the alert group or incident.

### Can I run the Assistant Investigations enricher on every alert?

Grafana's alert enrichment documentation says not to. The enricher has its own pricing, and the docs warn against running it on the all alerts scope or any scope with a large number of alerts. Scope it with label or annotation matchers instead.

### Why does my IRM webhook return 403 Forbidden?

The webhook guide says a 403 usually means the delivery credential is missing or lacks permission. Automatic deliveries need a service credential from the same stack, and a service account needs the grafana-assistant-app.investigations:create permission to start and update investigations.

### Can I manage the Assistant Investigations enricher with Terraform?

Yes. The Grafana Terraform provider resource for alert enrichment supports a step block named assistant_investigations with an optional timeout, alongside label and annotation matchers for scoping. Check the provider docs for the version you use.

---

- HTML version: https://www.matthewswong.com/en/blog/grafana-assistant-investigations-alert-triggered-rca/
- Bahasa Indonesia: https://www.matthewswong.com/id/blog/grafana-assistant-investigations-alert-triggered-rca/
- Site index for agents: https://www.matthewswong.com/llms.txt
- Sitemap: https://www.matthewswong.com/sitemap.xml
- API description (OpenAPI): https://www.matthewswong.com/openapi.json
