influxdata / influxdata/kapacitor
OpsGenie Integration - Additional fields
- Dominant language
- Go
- Stars
- 2.4k
- Forks
- 479
- Avg merge
- 4d 16h
- Merged PRs (30d)
- 4
Description
Hello,
At the moment, when an alert is sent from Kapacitor to the OpsGenie API only the message and Tags are included in the alert payload, meaning we need to use string processing to get basic information out of an alert message. Things like percent free space and free GB included as fields in the payload would be awesome. Then users can access the data in the alerts using OpsGenies .extraProperties function. Then we can fire alerts to OpsGenie with all the information included and parse out the data we need.
I've tried to include .details in the alert payload and parse the info from there but this hasn't worked.
Currently tags can be accessed in OpsGenie with _payload.extraProperties.tagname
Something similar with fields would be preferable. Is this possible, if not can it be made possible?
I've asked at OpsGenie about this, they say the integration isn't maintained by them so the best they can do is open a feature request. Thought i'd ask too.
Let me know if any other info is required :)
Contributor guide
Research direction
No file or test is named. Start by locating Kapacitor’s OpsGenie integration and comparing its current message and tag payload with the requested alert fields; the issue mentions _payload.extraProperties and an attempted .details payload. Done means defining the supported fields, mapping them into the OpsGenie payload, and verifying the resulting alert data.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- api, observability
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100