Opsgenie alert channel
Alerting
You can now send alerts to Opsgenie! To configure, head over to "Settings > Team Settings > Events & Alerts > Alert Channels > Add Alert Channel".
The following Opsgenie events are notified with the help of configured API Key.
On Open Issues/Incidents
{
"message": "Garbage Collection Activity High (11%)",
"description": "https://XXXXXXX/#/?snapshotId=rjhkZXdNzegliVVEswMScGNn0YY",
"tags": "OPSGENIE_TAGS",
"alias": "53650436-8e35-49a3-a610-56b442ae7620",
"note": "Suggestion: Tune your Garbage Collector, reduce allocation rate through code changes",
"priority": "P3",
"details": {
"Zone": "prod",
"FQDN / Host": "host1.demo.com",
"Entity": "jvm",
"Entity Label": "Test jvm",
"Tags": "production, documents, elasticsearch"
}
}
On Close Issues/Incidents
A resolution notification is sent to Opsgenie with the corresponding issue/incident ID.
On Offline/Online/Change events
{
"message": "offline",
"description": "https://XXXXXXX/#/?snapshotId=rjhkZXdNzegliVVEswMScGNn0YY",
"tags": "OPSGENIE_TAGS",
"alias": "53650436-a335-49a3-a610-56b442ae7620",
"note": "Suggestion: Docker container on Host host1.demo.com",
"priority": "P4",
"details": {
"Zone": "prod",
"FQDN / Host": "host1.demo.com",
"Entity": "Docker Container",
"Entity Label": "postgres:10",
"Tags": "production, documents"
}
}