Skip to main content
Connect DevHelm to OpsGenie to automatically create and resolve alerts. Like PagerDuty, OpsGenie uses trigger-resolve lifecycle — alerts resolve automatically when the DevHelm incident clears.

Setup

1

Create an OpsGenie API integration

  1. In OpsGenie, go to SettingsIntegrationsAdd Integration
  2. Select API integration
  3. Copy the API Key
  4. Note your region (us or eu)
2

Create the alert channel in DevHelm

devhelm alert-channels create \
  --name "OpsGenie Alerts" \
  --type opsgenie \
  --config '{"channelType":"opsgenie","apiKey":"your-opsgenie-api-key","region":"us"}'
alertChannels:
  - name: OpsGenie Alerts
    config:
      channelType: opsgenie
      apiKey: ${OPSGENIE_API_KEY}
      region: us
3

Test the channel

devhelm alert-channels test <channel-id>

Configuration

FieldDescriptionRequired
apiKeyOpsGenie API key for alert creationYes
regionOpsGenie API region: us or euYes

Lifecycle behavior

DevHelm eventOpsGenie action
Incident createdCreates a new alert
Incident resolvedCloses the corresponding alert
Incident reopenedCreates a new alert

Troubleshooting

  1. Verify the API key has permission to create alerts
  2. Confirm the region matches your OpsGenie account (US vs EU)
  3. Run devhelm alert-channels test <id>