feat(alert): add Opsgenie provider #56

Merged
lerko merged 1 commits from feat/opsgenie-alert into main 2026-06-04 17:40:47 +00:00
Owner

Summary

  • Add Opsgenie Alert API v2 provider with US/EU endpoint selection
  • Configurable priority (P1-P5) and GenieKey authentication
  • TUI form with API key input, priority picker, and EU instance toggle
  • 4 new tests: send payload, EU endpoint, US endpoint, message truncation

Phase 1 Backlog

Closes item #4 (alert providers). Telegram, PagerDuty, Pushover, Gotify were already implemented — Opsgenie was the last missing provider.

Test Plan

  • go test ./internal/alert/ — all 17 tests pass
  • go build ./... — clean
  • go vet ./... — clean
  • Manual: configure Opsgenie alert in TUI, verify form fields render
  • Manual: trigger test alert, verify 202 response from Opsgenie API
## Summary - Add Opsgenie Alert API v2 provider with US/EU endpoint selection - Configurable priority (P1-P5) and GenieKey authentication - TUI form with API key input, priority picker, and EU instance toggle - 4 new tests: send payload, EU endpoint, US endpoint, message truncation ## Phase 1 Backlog Closes item #4 (alert providers). Telegram, PagerDuty, Pushover, Gotify were already implemented — Opsgenie was the last missing provider. ## Test Plan - [x] `go test ./internal/alert/` — all 17 tests pass - [x] `go build ./...` — clean - [x] `go vet ./...` — clean - [x] Manual: configure Opsgenie alert in TUI, verify form fields render - [x] Manual: trigger test alert, verify 202 response from Opsgenie API
lerko added 1 commit 2026-06-04 17:32:21 +00:00
feat(alert): add Opsgenie provider
CI / test (pull_request) Successful in 2m37s
CI / lint (pull_request) Successful in 57s
CI / vulncheck (pull_request) Successful in 51s
f23014ab12
Support Opsgenie Alert API v2 with US/EU endpoint selection,
configurable priority (P1-P5), and GenieKey auth. TUI form
includes API key, priority picker, and EU instance toggle.
lerko force-pushed feat/opsgenie-alert from 3218af474e to f23014ab12 2026-06-04 17:32:21 +00:00 Compare
lerko merged commit f23014ab12 into main 2026-06-04 17:40:47 +00:00
lerko deleted branch feat/opsgenie-alert 2026-06-04 17:40:48 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lerkolabs/uptop#56