Overview
OpenSRE queries OpsGenie for active alerts and alert details so investigations can correlate on-call incidents with infrastructure events. There is noopensre integrations setup opsgenie handler today. Configure OpsGenie
with the onboarding wizard, environment variables, or the integration store, then
verify with opensre integrations verify opsgenie.
Prerequisites
- OpsGenie account (Atlassian or standalone)
- API key with read access
Setup
Option 1: Onboarding wizard
Option 2: Environment variables
Option 3: Persistent store
Credentials
- In OpsGenie, go to Settings → API key management
- Click Add new API key
- Name it
opensreand enable Read access - Copy the key
EU accounts use a different endpoint. Set
OPSGENIE_REGION=eu if your OpsGenie URL
is app.eu.opsgenie.com.Investigation tools
Run
opsgenie_alerts first to find an alert ID, then call opsgenie_alert_detail
when you need deeper context.
Verify
Troubleshooting
Security
- Use a read-only API key — OpsGenie supports granular permission scopes.
- Store the API key in
.envor your secret manager — not in source control.