diff options
author | kballou <kballou@devnulllabs.io> | 2016-12-27 10:06:46 -0700 |
---|---|---|
committer | kballou <kballou@devnulllabs.io> | 2016-12-27 10:40:46 -0700 |
commit | 9752309f2f44804f8aa077086a732b3455a5d125 (patch) | |
tree | ad33f807f3ef10ef6274e7cd56f104faf028e482 /test/fixture/vcr_cassettes/monitors/details_with_group_states.json | |
parent | 6e36a9c3fb482cc993a3fa6511c51cc19b59d5a2 (diff) | |
download | exdatadog-wip.tar.gz exdatadog-wip.tar.xz |
WIP: Fleshout API implementationwip
Diffstat (limited to 'test/fixture/vcr_cassettes/monitors/details_with_group_states.json')
-rw-r--r-- | test/fixture/vcr_cassettes/monitors/details_with_group_states.json | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/fixture/vcr_cassettes/monitors/details_with_group_states.json b/test/fixture/vcr_cassettes/monitors/details_with_group_states.json new file mode 100644 index 0000000..2de9ea9 --- /dev/null +++ b/test/fixture/vcr_cassettes/monitors/details_with_group_states.json @@ -0,0 +1,19 @@ +[ + { + "request": { + "body": "\"\"", + "headers": { + "user-agent": "exdatadog" + }, + "method": "get", + "options": [], + "request_body": "", + "url": "https://app.datadoghq.com/api/v1/monitor/91879?api_key=1234&application_key=abcd&group_states=alert%2Cwarn" + }, + "response": { + "body": "{\"id\":91879,\"message\":\"We may need to add web hosts if this is consistently high.\",\"name\":\"Bytes received on host0\",\"options\":{\"no_data_timeframe\":20,\"notify_audit\":false,\"notify_no_data\":false,\"silenced\":{}},\"org_id\":1499,\"query\":\"avg(last_1h):sum:system.net.bytes_rcvd{host:host0} > 100\",\"type\":\"metric alert\",\"multi\":false,\"created\":\"2015-12-18T16:34:14.014039+00:00\",\"modified\":\"2015-12-18T16:34:14.014039+00:00\",\"state\":{\"groups\":{\"host:host0\":{\"last_nodata_ts\":null,\"last_notified_ts\":1481909160,\"last_resolved_ts\":1481908200,\"last_triggered_ts\":1481909160,\"name\":\"host:host0\",\"status\":\"Alert\",\"triggering_value\":{\"from_ts\":1481909037,\"to_ts\":1481909097,\"value\":1000}}}}}", + "status_code": 200, + "type": "ok" + } + } +] |