Created
February 11, 2020 15:33
Star
You must be signed in to star a gist
stackdriver webhook payload v1.2 example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"incident": { | |
"incident_id": "0.lj2va6zdkemq", | |
"resource_id": "", | |
"resource_name": "foobar appserver", | |
"resource": { | |
"type": "gce_instance", | |
"labels": { | |
"instance_id": "8979287136362607111", | |
"zone": "us-central1-c" | |
} | |
}, | |
"started_at": 1580920957, | |
"policy_name": "test", | |
"condition_name": "GCE VM Instance - CPU usage", | |
"url": "https://app.google.stackdriver.com/incidents/0.lj2va6zdkemq?project=foobar", | |
"documentation": { | |
"content": "docs here. blah blha\nfoof bar\nlorem ipsum, son", | |
"mime_type": "text/markdown" | |
}, | |
"state": "open", | |
"ended_at": null, | |
"summary": "CPU usage for foobar appserver with metric labels {instance_name=appserver} is above the threshold of 0.01 with a value of 4.997." | |
}, | |
"version": "1.2" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment