aboutsummaryrefslogtreecommitdiff
path: root/test/fixture/vcr_cassettes/monitors/details_with_group_states.json
diff options
context:
space:
mode:
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.json19
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"
+ }
+ }
+]