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.
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 :)