incident.io Integration
Overview
incident.io integration for investigating incidents during Root Cause Analysis. Provides access to incident details, severity, roles, custom fields, timeline events, and alerts.
Instructions
Tool Usage (use in this order)
list_incidentio_incidents()-- Find recent or related incidents. Filter by status or severity.get_incidentio_incident(incident_id='X')-- Get full details including roles, custom fields, and duration.get_incidentio_timeline(incident_id='X')-- See the sequence of events, status changes, and human updates.list_incidentio_alerts()-- List recent alerts. Filter with status 'firing' or 'resolved'.get_incidentio_alert(alert_id='X')-- Look up one alert by an id from that list, an incident.io alert id, or a source-system id (Site24x7 and others store that as the deduplication key).
Investigation Patterns
- Find similar incidents:
list_incidentio_incidents(status='closed', page_size=10)to check for recurring issues. - Deep-dive current incident:
get_incidentio_incident(incident_id='...')for severity, responders, and custom fields. - Understand timeline:
get_incidentio_timeline(incident_id='...')to see what actions were taken and when.
RCA Investigation Workflow
Step 1 -- Context gathering:
list_incidentio_incidents(status='live') -- See what's currently happening.
Step 2 -- Incident details:
get_incidentio_incident(incident_id='...') -- Understand severity, who's responding, and what services are affected.
Step 3 -- Timeline analysis:
get_incidentio_timeline(incident_id='...') -- Reconstruct the sequence of events to find the trigger point.
Step 4 -- Pattern matching:
list_incidentio_incidents(status='closed', page_size=25) -- Check if similar incidents happened before.
Step 5 -- Cross-correlate:
After incident.io analysis, correlate with infrastructure data from other connected tools (logs, metrics, deployments).
Alerts vs incidents
get_incidentio_incident only accepts an incident.io incident id. An id from an alert event, or from an upstream monitor such as Site24x7, is an alert id (or that source's id on deduplication_key).
- To see recent alerts, call
list_incidentio_alerts(). An incident id fromlist_incidentio_incidentsis not an alert id. - Call
get_incidentio_alert(alert_id='...')with an id from that list, or with a source-system id. - When the result includes an attached incident, use that incident id with
get_incidentio_incidentandget_incidentio_timeline. - A 404 from
get_incidentio_incidenton an id that came from an alert means callget_incidentio_alertinstead.
Important Rules
- incident.io is a REMOTE service. Use only the API tools listed above.
- Start with
list_incidentio_incidentsto understand the landscape before diving into specifics. - Timeline data is essential for understanding causality -- always check it during RCA.
- Incident.io roles tell you who was involved, which helps validate findings.
- Custom fields often contain service/component info useful for correlation.