Grafana Cloud

Grafana Investigations

Note

Investigations is an AI Feature. Learn more in the Grafana Labs Supplemental Terms for AI Features.

An investigation is a structured way to troubleshoot a problem that spans services or needs analysis across metrics, logs, traces, and profiles. You describe the problem in Assistant Workspace, and the Assistant gathers evidence, tests possible causes, and writes a report. You stay in control: you follow its progress, correct its direction, and confirm or rule out each cause.

Use an investigation when a problem is broad enough to need a plan. For a single question, such as “what’s the current error rate for checkout?”, refer to Query data instead. Grafana Sift Investigation is a separate feature that performs automatic Kubernetes triage without a prompt.

Key concepts

You’ll encounter these terms throughout an investigation:

  • Hypothesis: A suspected cause that the Assistant tests. Each hypothesis has a status that changes as evidence arrives.
  • Evidence: The data behind a hypothesis, such as a query result or panel, that supports or weakens it.
  • Source: A generated panel or query output behind a finding. The report cites sources as numbered citations, and each opens as Source 1, Source 2, and so on in the Sources view.
  • Finding: A conclusion the Assistant records, such as a leading explanation, an open question, or supporting context.
  • Report: The written summary of findings and recommended next steps.
  • Verdict: Your answer to whether a hypothesis was the cause, recorded once a report exists.
  • Tier: The amount of work the Assistant puts into the investigation. Auto chooses for you, or you can set Small, Medium, or Large.
  • Scope: Who can access the investigation. A Private investigation is visible only to you and users with the Assistant Admin role until you add Grafana teams.
  • Snapshot: A published, read-only copy of the investigation that anyone in your Grafana organization can open with its link.

Before you begin

Confirm that you have the following:

  • Investigations are enabled in your Grafana Cloud stack
  • The Assistant Investigation User role and access to the data sources you need
  • A problem statement with the symptom, impact, affected services, and time range

When you start an investigation yourself, including from an alert, Assistant uses your Grafana identity and data source permissions. When an alert or IRM webhook starts an investigation automatically, Assistant uses your stack’s Assistant service account and its data source permissions. The credential that authorizes the webhook delivery doesn’t determine which data sources the investigation can query. For access requirements, refer to Manage access (RBAC).

To open the investigations list from Assistant chat, open the chat menu and select Investigations.

Start an investigation

Start in Workspace and describe what you want to investigate. The Assistant gathers evidence, tests hypotheses, and writes a report while you follow progress in the conversation.

  1. Open Assistant Workspace.
  2. Start a conversation and switch the mode to Investigation.
  3. Open the scope picker. Leave it on Private, or use Search teams to add the Grafana teams that need access.
  4. Leave the tier on Auto, or turn off Auto to choose Small, Medium, or Large.
  5. Send your problem statement. Add an image, for example a chart screenshot, when it helps explain the issue.

Include specific services and a time range, for example:

Payment latency increased between 10:00 and 10:30 UTC today. Investigate @payment-cluster and check for database locks.

You can also ask the Assistant to check public provider status pages for outages that might explain your symptoms, for example:

Did AWS or Google Cloud report any outages in the last 24 hours that could explain our checkout latency?

You can switch to Investigation in Assistant chat before you send the first prompt, then continue in Workspace. You can change the tier for later turns. A higher tier doesn’t guarantee a correct answer or a faster investigation. Investigations count toward your stack’s monthly usage limits; for details, refer to Manage Grafana Assistant pricing, usage, and limits.

You can also start an investigation from Slack or the CLI. Microsoft Teams is available in private preview for select stacks. For Slack setup, refer to Slack integration.

Review findings

Use the Workspace views to review the Assistant’s conclusions and the evidence behind them:

  • Report: Findings, impact, confidence, and recommended next steps when available
  • Hypotheses: Suspected causes, their status, and evidence
  • Sources: Generated panels and query output, when available

Read the report

The report starts with a header that names what the Assistant investigated, the labels that scope it, such as service and cluster, and the time range in UTC. The header’s status describes the state of what the Assistant investigated, based on the alert, incident, or telemetry rather than on the suspected cause:

StatusMeaning
InvestigatingThe Assistant doesn’t know the state yet.
OngoingThe problem is still happening.
MitigatedThe problem is contained.
ResolvedThe symptom has stopped.
At riskNothing has failed yet, but a problem is likely.
HealthyNothing is wrong.
InconclusiveThe Assistant couldn’t tell.

Pending fixes or approvals don’t change the status. A report that answers a question that isn’t about health, for example, a count, has no status.

When an IRM alert group launched or joined the investigation, the header links to it. If more than one alert group is linked, for example, when an alert fires again under a new group, the header shows an Alert groups menu with a link to each group.

Below the header, the overview shows the cause beside the impact, then the next steps, ranked by confidence. The cause reads Leading hypothesis by default, or Contributing causes, Assessment, Forecast, or Not determined when there’s no single cause to name. Next steps that could cause an outage, lose data, or change access or security, for example, a rollback, a restart, or a delete, show Needs approval. Sections for each cause follow the overview, and the report groups its hypotheses as Leading, Contributing, Open, and Unlikely.

Click a source citation, for example, Source 1, to open its panel in Sources and inspect the query, time range, and data source. Hover over a citation for a preview. Click Expand diagram to inspect a report diagram in a larger view.

Before a report exists, click Disprove or Reopen on a hypothesis to draft a correction. Edit the message and send it to update the investigation’s direction. Expand Evidence or Timeline to review its support and history. Once a report exists, verdict controls replace Disprove and Reopen on hypotheses that make a causal claim. Answer Was this the cause? with Yes or No, and use Change to revise your verdict.

When an investigation changes something instead of only reading telemetry, the report’s overview lists it under Actions taken, above the next steps. The Assistant writes one line for each fix it prepared or published and each automation it created, with a link to each where one exists. A fix shows its pull request, its first changed lines and a Review button. Exported reports include the list too.

Send new evidence or a change in scope to continue a completed investigation. The Assistant updates the hypotheses and report when the findings change. Questions that only clarify or reformat existing findings leave the report unchanged.

To save or share the report, open the Export report menu:

  • Copy report: Copy the report to your clipboard.
  • Download: Save the report as Markdown (.md), HTML (.html), or PDF (.pdf). HTML is a self-contained file with text, panels, and diagrams. PDF isn’t available in the Grafana mobile app; open the conversation in a browser to save it as a PDF.
  • Turn into page: Create a Grafana page from the report. This option appears where Pages is available.
  • Use in coding agent: Copy prompt for a coding agent, or Open in Cursor.

Use the feedback controls to rate the investigation and explain what was useful or missing.

Steer a running investigation

Ask questions or redirect the investigation while it works. You don’t need to start another investigation.

With Managed Sandboxes, ask Assistant to prepare a fix or find an existing Assistant pull request from the investigation and repository evidence. Review and approve any proposed change.

Ask a question without interrupting

Type /ask followed by a question, for example:

/ask give me an update on the current status

The answer opens above the conversation without changing the plan or report. It isn’t part of the investigation transcript. Workspace keeps recent answers so you can return to them.

In Assistant Workspace, you can also select text in Report or Hypotheses and click Ask to ask about the selection. Keep the conversation pane open to use this action. It isn’t available in the mobile layout, and it uses the same answer view without changing the investigation’s direction.

Queue or steer follow-ups

Choose whether your message waits or redirects the investigation now:

  • Press Enter to queue a message. You can queue up to five messages, send one immediately, or remove it. With an empty input, Enter sends the first queued message.
  • Press Cmd+Enter on macOS, or Ctrl+Enter on Windows and Linux, to stop the current work and steer the investigation right away. Other queued messages stay queued.

Stop and review partial findings

Click Stop in Workspace or the Assistant sidebar. The Assistant stops gathering evidence and prepares a summary that marks the findings as incomplete. Keep the tab open until it finishes. If summary generation fails, a stopped notice appears instead.

Existing evidence and the report remain available. Send another message to continue with more context or a different direction. Stopping an investigation doesn’t stop independent repository coding agents.

Cancel an investigation from another chat

Ask the Assistant in any chat to cancel a running investigation, for example, a duplicate that an alert launched. Name it by its ID, or by the incident or alert group that launched it. The Assistant asks for your approval before it cancels, unless you selected Always allow for it. Its evidence and report stay available.

Cancel the investigation for alert group I3XYZABC, it’s a duplicate.

Share an investigation

Use team scope to collaborate on the live investigation, or publish a snapshot for others in your Grafana organization.

Team members with the required investigation permissions can follow progress, ask questions, steer, and correct hypotheses in the same investigation. Team scope doesn’t replace those permissions. As the creator, use the scope picker to add or remove teams, or to return to a private scope. Only the creator can archive the investigation. The Assistant Admin role can view any investigation and its chat, including private ones.

Users with only grafana-assistant-app.investigations.all:read can view transcripts and available Changes, subject to repository access, but can’t send messages or run actions in the investigation. If they also have chat access, they can choose Continue in a new chat to open a private draft with the investigation attached and ask follow-up questions there.

For system-created investigations, you need team access or the Assistant System Investigation Viewer role. If Access denied names grafana-assistant-app.investigations.system:read, refer to Allow users to view system-created investigations.

Open Share conversation and choose how to share:

  • Copy link: Click Copy investigation link for the live investigation. Recipients must already have access; copying doesn’t grant access.
  • Share with teams: Search for teams and click Share with teams to add access. You can pick any team you can see, including teams you aren’t a member of. If a team is missing, type more of its name. Members of added teams see everything in the investigation, including results from data sources they can’t query. Use the scope picker to remove teams.
  • Share a snapshot: Click Generate snapshot link to publish the transcript, report, hypotheses, source evidence, and your bookmarks. Anyone in your Grafana organization with Assistant chat access and the link can view it, regardless of team scope.

Click Update to refresh an out-of-date snapshot, or Stop sharing to revoke its link.

Slack investigation notifications also publish or refresh the snapshot automatically. Anyone in your Grafana organization with Assistant chat access and the snapshot link can view it, regardless of team scope. After you stop sharing, a later notification can publish a new snapshot link. If you have access to the live investigation, click Open live investigation on the final Slack report to open the Report tab directly.

Watcher notifications in Slack or Microsoft Teams can also share an investigation. Click View shared snapshot when available, or Open live investigation if you have access to the live report.

Automate investigations

Start investigations automatically from incidents or alerts, or repeat checks in an existing investigation:

An IRM alert-group webhook doesn’t start a new investigation if the group is already resolved. Resolution updates for a group with an existing investigation still follow your continuation settings.

Keep checking with automations

Tell the Assistant what to check, how often, and for how long, for example, “Check the storefront error rate every 10 minutes for two hours.”

You can also manage checks from the Workspace conversation:

text
/schedule create 10m check whether the storefront error rate has recovered
/schedule status
/schedule stop <AUTOMATION_ID>

Checks can run as often as once a minute, with up to five active automations per investigation. By default, they stop after 24 hours or 100 checks, whichever comes first. You can ask for a different duration or stop them earlier.

A clock icon beside an investigation in the conversation list shows that it has active checks. To review checks, use the automation card in the conversation. Click View details to read the instruction, or Stop to end a check. If the card is hard to find in a long conversation, expand the investigation overview and find the check under Automations, where you can also click Stop. You need write access to create or stop checks.

Tailor investigations to your environment

Give the Assistant context about your services and troubleshooting practices:

  • Knowledge Graph memory: Helps identify services, dependencies, and telemetry. Refer to Knowledge Graph memory.
  • Rules: Instructions that always apply, for example which metrics to prefer. Set Applications to Investigations. Refer to Configure Assistant rules.
  • Skills: Runbooks and service-specific guidance the Assistant looks up when relevant. Turn on Visible to agents. Refer to Skills.
  • MCP servers: Tools for other systems, for example repositories that provide deployment context. Refer to MCP servers.

To review the rules and skills an investigation uses, expand the investigation overview and click Applied context. Connecting a data source doesn’t make it part of every run; use rules or skills to explain when to query it.

Configure investigation settings

Open AI > Settings > Investigations to set up automatic investigations and investigation tools. You need grafana-assistant-app.settings.investigations:read to view these settings and grafana-assistant-app.settings.investigations:write to change them. The Assistant Admin role includes both. Managing IRM webhooks also requires IRM permissions; refer to Configure IRM webhooks.

The page opens on Simple setup, a single Automatic investigations card. Choose which alert and incident severity levels to investigate, and select Investigate alert groups that page someone to include paged IRM alert groups. The card estimates how many investigations those settings would have triggered in the last 7 days. Click Enable automatic investigations to turn them on, or Disable automatic investigations to turn them off. When automatic investigations are already on, click Save to apply your changes.

To change Simple setup, you need permission to change investigation settings. Where IRM is installed, you also need permission to manage IRM outgoing webhooks, and where Grafana Alerting is available, you need the Grafana Admin role or the Alert Enrichments Writer permission. Without all the permissions that apply, the card is read-only.

For per-source control, click Advanced configuration. It has one tab for each source:

  • IRM alert groups: Webhooks that start investigations from IRM alert groups, and the severity levels each one accepts
  • IRM incidents: Webhooks that start investigations from IRM incidents
  • Alerting: Enrichments that start investigations from Grafana Alerting alerts

Click Simple setup to return to the single card.

The IRM alert groups and Alerting tabs each include a Behavior and limits section. The IRM incidents tab shows its incident webhook form and Skip incidents, which excludes incidents that match a label.

  • Continue on alert updates and Continue on IRM updates: Resume completed investigations when significant alert changes or IRM updates arrive. With Continue on alert updates off, an alert that fires again after resolving starts a new investigation.
  • Continuation window: Appears under each continuation toggle while it’s on. For alerts, it’s how long alert changes continue an investigation instead of starting another one. For IRM, it’s how long an alert group that fires again joins the earlier investigation for the same alert. It accepts 1 to 24 hours from creation, and defaults to 6 hours.
  • Alert investigation limits and IRM alert investigation limits: Separate limits for new alert-enrichment and IRM alert-group investigations. Each defaults to 50 starts per 20 minutes. Add up to 10 severity rules; a severity-specific rule overrides the All rule, which applies to severity levels without their own rule. Remove all rules to allow unlimited starts. IRM incident starts and alert-group updates don’t count toward the IRM alert limit.

Investigation tools appears below the configuration card:

  • Query additional data sources: Allow other supported data sources alongside metrics, logs, traces, and profiles. On by default; data source permissions still apply. Refer to Query data for supported sources.

Set Investigation visibility on the Slack settings page, at AI > Settings > Connectors > Slack. The form appears after Slack is connected and you’ve linked your Slack account; for setup, refer to Slack integration. Under Who can see these investigations?, choose All my teams, Specific teams, or Only me, then click Save. Your choice takes effect once you save it.

This choice applies to investigations you start from Slack or the CLI, and from Microsoft Teams where it’s available in private preview. Until you save a choice, Slack investigations use All my teams, while Microsoft Teams and CLI investigations stay visible only to you. Teams assigned when an investigation starts take precedence over this preference. Workspace, alerting, and IRM investigations keep their own visibility rules.

Manage monthly investigation usage limits separately on AI > Usage.

Explore a report as a map

The experimental Map tab provides a visual view of a saved investigation report. Start with the observed impact, then explore explanations and their cited evidence. Select a finding to read its details, expand Evidence to inspect a saved source, or click View in report to open the relevant report section. When a finding has no matching section, that control reads Full report.

Each leading explanation has its own branch with its evidence. Open questions share one column, and so do unlikely explanations; select one to read its details and evidence. Contributing findings appear under Additional context. Until an explanation leads, open questions have their own branches. If there are none, unlikely explanations do, and if there are none of those either, contributing findings do. When a list is long, the map shows the first three. To see the rest, click the button below them, for example Show 2 more sources.

When the investigation changed something, such as publishing a fix or creating an automation, the tree ends in an Actions taken box. Solid lines join it to the leading explanations and dotted lines to the unlikely ones. Open questions aren’t joined. Click the box to open each action’s links, and click Review there to review a prepared fix.

The map complements the full report. Its branches group saved findings; they don’t represent the order of tool calls or establish causality. Older reports can show titled report sections instead of hypothesis branches. If an investigation stops while producing its report, available findings remain accessible but may be incomplete.

Next steps