OpenAI integration for Grafana IRM
The OpenAI integration for Grafana IRM expedites your incident resolution process with AI-generated post-incident summaries. This integration makes summarizing complex incidents easy and efficient by automatically distilling the full incident timeline into the most important details, allowing you to fine-tune the result before finalizing.
Incident auto-summaries automatically include key details such as:
- Summary of the incident
- Timeline of events leading up to the incident
- Actions that were taken to resolve the incident
Before you begin
Note
A sanitized version of the incident timeline is sent to the OpenAI API to provide this service. Before configuring the OpenAI integration, be sure to align its usage with your organization’s internal policies.
To enable the OpenAI integration, you need:
- An OpenAI account
- Your organization ID from OpenAI
- An OpenAI API key
- Editor or Admin permissions in Grafana IRM
Configure the OpenAI integration
- Navigate to IRM > Integrations in the Grafana menu
- Select the Apps tab
- Click the OpenAI tile
- Review security statements and click Install Integration
- Provide your OpenAI API key and organization ID
- You can leave the OpenAI server base URL as the default – https://api.openai.com/v1 – or choose another compatible LLM host
- Click Save
Once you’ve successfully added your OpenAI credentials, incident auto-summaries are enabled and ready to use.
Generate an incident auto-summary
With auto-summaries enabled, you can quickly create a summary while resolving an incident and ensure that important details are documented effectively.
To generate a summary while resolving an incident:
- From the Resolve Incident window, review the incident details and update labels as needed
- Click Generate auto-summary and wait while your summary is generated
- Once the auto-summary is ready, review it to ensure it includes all the essential information
- Click Append to summary to copy the generated text into the editable summary area
- Make edits or add any specific details you wish to the generated summary
- Click Resolve with summary to save the summary and resolve the incident
The summary is included in the incident timeline, making it easier for stakeholders and team members to review incidents quickly, see trends across incidents, and plan related future development or changes.
Data privacy and storage
At Grafana Labs, we take your data privacy very seriously. The OpenAI integration is designed to safeguard your data, with built-in safety measures to protect your sensitive information.
Note
While Grafana Labs takes steps to protect your data before processing it with OpenAI, you may choose to avoid using this feature for highly-sensitive incidents.
Data sharing details: When you click Generate auto-summary, Grafana Labs sanitizes and compresses the incident’s timeline before processing it with OpenAI, an external third party. OpenAI does not share this data with any third parties or use it for model training purposes.
Data usage and storage: As per OpenAI’s API data usage policy, your data is only temporarily stored to monitor and prevent abuse or misuse.