Skip to main content

Overview

OpenSRE queries OpsGenie for active alerts and alert details so investigations can correlate on-call incidents with infrastructure events. There is no opensre 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

Select OpsGenie when prompted and provide your API key (and region if needed).

Option 2: Environment variables

Option 3: Persistent store

Credentials

  1. In OpsGenie, go to SettingsAPI key management
  2. Click Add new API key
  3. Name it opensre and enable Read access
  4. 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

Expected output:

Troubleshooting

Security

  • Use a read-only API key — OpsGenie supports granular permission scopes.
  • Store the API key in .env or your secret manager — not in source control.