Overview
OpenSRE queries OpsGenie for active alerts and alert details so the agent can correlate on-call incidents with infrastructure events. There is noopensre integrations setup opsgenie handler today. Configure OpsGenie
with 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: Environment variables
Option 2: 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.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.