dogapi 1.9.2 → 1.10.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +0 -1
- data/CHANGELOG.md +5 -0
- data/lib/capistrano/datadog.rb +8 -3
- data/lib/capistrano/datadog/v2.rb +1 -1
- data/lib/capistrano/datadog/v3.rb +1 -1
- data/lib/dogapi/common.rb +3 -10
- data/lib/dogapi/facade.rb +12 -11
- data/lib/dogapi/version.rb +1 -1
- data/spec/facade_spec.rb +4 -4
- data/spec/support/cassettes/Alerts/create/returns_HTTP_code_201.yml +121 -20
- data/spec/support/cassettes/Alerts/create/returns_a_valid_event_ID.yml +110 -20
- data/spec/support/cassettes/Alerts/create/returns_the_same_query_as_sent.yml +110 -20
- data/spec/support/cassettes/Facade/Events/emits_aggregate_events.yml +257 -101
- data/spec/support/cassettes/Facade/Events/emits_events_and_retrieves_them.yml +151 -51
- data/spec/support/cassettes/Facade/Events/emits_events_with_specified_priority.yml +147 -52
- data/spec/support/cassettes/Facade/Tags/adds_updates_and_detaches_tags.yml +45 -37
- data/tests/test_client.rb +2 -4
- data/tests/test_dashes.rb +2 -1
- metadata +23 -33
- checksums.yaml +0 -7
@@ -1,67 +1,167 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://app.datadoghq.com/api/v1/events/1905040728720298327?api_key=9775a026f1ca7d1c6c5af9d94d9595a4&application_key=87ce4a24b5553d2e482ea8a8500e71b8ad4554ff
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- ! '*/*'
|
12
|
+
response:
|
13
|
+
status:
|
14
|
+
code: 200
|
15
|
+
message: OK
|
16
|
+
headers:
|
17
|
+
Content-Length:
|
18
|
+
- '367'
|
19
|
+
Cache-Control:
|
20
|
+
- no-cache
|
21
|
+
Content-Type:
|
22
|
+
- application/json
|
23
|
+
X-Dd-Version:
|
24
|
+
- 31.160-300-bedcb85
|
25
|
+
Set-Cookie:
|
26
|
+
- user={"org":{"id":1499},"_type":"User","id":3658}; Path=/
|
27
|
+
Server:
|
28
|
+
- gunicorn/0.17.4
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
Pragma:
|
32
|
+
- no-cache
|
33
|
+
Date:
|
34
|
+
- Thu, 29 Aug 2013 21:35:47 GMT
|
35
|
+
body:
|
36
|
+
encoding: UTF-8
|
37
|
+
string: ! '{"event": {"date_happened": 1377812141, "alert_type": "info", "resource":
|
38
|
+
"/api/v1/events/1905040728720298327", "title": "dogapi-rb end test title 1377812141",
|
39
|
+
"url": "/event/jump_to?event_id=1905040728720298327", "text": "test message",
|
40
|
+
"tags": ["test-run:1"], "id": 1905040728720298327, "priority": "normal", "host":
|
41
|
+
"dogbox", "device_name": null, "payload": "{}"}}'
|
42
|
+
http_version:
|
43
|
+
recorded_at: Thu, 29 Aug 2013 21:35:46 GMT
|
44
|
+
- request:
|
45
|
+
method: get
|
46
|
+
uri: https://app.datadoghq.com/api/v1/events/2270123736026243269?api_key=9775a026f1ca7d1c6c5af9d94d9595a4&application_key=87ce4a24b5553d2e482ea8a8500e71b8ad4554ff
|
47
|
+
body:
|
48
|
+
encoding: US-ASCII
|
49
|
+
string: ''
|
50
|
+
headers:
|
51
|
+
Accept:
|
52
|
+
- ! '*/*'
|
53
|
+
User-Agent:
|
54
|
+
- Ruby
|
55
|
+
response:
|
56
|
+
status:
|
57
|
+
code: 404
|
58
|
+
message: Not Found
|
59
|
+
headers:
|
60
|
+
Cache-Control:
|
61
|
+
- no-cache
|
62
|
+
Content-Type:
|
63
|
+
- application/json
|
64
|
+
Date:
|
65
|
+
- Thu, 08 May 2014 18:13:05 GMT
|
66
|
+
Pragma:
|
67
|
+
- no-cache
|
68
|
+
Server:
|
69
|
+
- gunicorn/0.17.4
|
70
|
+
Set-Cookie:
|
71
|
+
- user={"org":{"id":1499,"time_zone":null},"_type":"User","id":3658,"time_zone":null};
|
72
|
+
Path=/
|
73
|
+
X-Dd-Version:
|
74
|
+
- 31.1102.1335-0
|
75
|
+
Content-Length:
|
76
|
+
- '49'
|
77
|
+
Connection:
|
78
|
+
- keep-alive
|
79
|
+
body:
|
80
|
+
encoding: US-ASCII
|
81
|
+
string: ! '{"errors": ["No event matches that comment_id."]}'
|
82
|
+
http_version:
|
83
|
+
recorded_at: Thu, 08 May 2014 18:08:42 GMT
|
84
|
+
- request:
|
4
85
|
method: post
|
5
86
|
uri: https://app.datadoghq.com/api/v1/events?api_key=9775a026f1ca7d1c6c5af9d94d9595a4
|
6
|
-
body:
|
7
|
-
|
8
|
-
|
9
|
-
|
87
|
+
body:
|
88
|
+
encoding: UTF-8
|
89
|
+
string: ! '{"msg_text":"test message","date_happened":1400010475,"msg_title":"dogapi-rb
|
90
|
+
end test title 1400010475","priority":"normal","parent":null,"tags":["test-run:carlo"],"aggregation_key":"","alert_type":null,"event_type":null,"source_type_name":null,"title":"dogapi-rb
|
91
|
+
end test title 1400010475","text":"test message","host":"dogbox-carlo","device":null}'
|
92
|
+
headers:
|
93
|
+
Accept:
|
94
|
+
- ! '*/*'
|
95
|
+
User-Agent:
|
96
|
+
- Ruby
|
97
|
+
Content-Type:
|
10
98
|
- application/json
|
11
|
-
|
12
|
-
|
13
|
-
response:
|
14
|
-
status:
|
99
|
+
response:
|
100
|
+
status:
|
15
101
|
code: 202
|
16
102
|
message: Accepted
|
17
|
-
headers:
|
18
|
-
Content-
|
19
|
-
- "312"
|
20
|
-
Content-Type:
|
103
|
+
headers:
|
104
|
+
Content-Type:
|
21
105
|
- text/json; charset=UTF-8
|
22
|
-
|
23
|
-
-
|
24
|
-
|
106
|
+
Date:
|
107
|
+
- Tue, 13 May 2014 19:47:56 GMT
|
108
|
+
Server:
|
109
|
+
- dogdispatcher/4.12.1
|
110
|
+
Content-Length:
|
111
|
+
- '326'
|
112
|
+
Connection:
|
25
113
|
- keep-alive
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
114
|
+
body:
|
115
|
+
encoding: US-ASCII
|
116
|
+
string: ! '{"status": "ok", "event": {"priority": "normal", "date_happened":
|
117
|
+
1400010475, "handle": null, "title": "dogapi-rb end test title 1400010475",
|
118
|
+
"url": "https://app.datadoghq.com/event/jump_to?event_id=2277466975478186943",
|
119
|
+
"text": "test message", "tags": ["test-run:carlo"], "related_event_id": null,
|
120
|
+
"id": 2277466975478186943}}'
|
30
121
|
http_version:
|
31
|
-
recorded_at:
|
32
|
-
- request:
|
122
|
+
recorded_at: Tue, 13 May 2014 19:47:56 GMT
|
123
|
+
- request:
|
33
124
|
method: get
|
34
|
-
uri: https://app.datadoghq.com/api/v1/events/
|
35
|
-
body:
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
125
|
+
uri: https://app.datadoghq.com/api/v1/events/2277466975478186943?api_key=9775a026f1ca7d1c6c5af9d94d9595a4&application_key=87ce4a24b5553d2e482ea8a8500e71b8ad4554ff
|
126
|
+
body:
|
127
|
+
encoding: US-ASCII
|
128
|
+
string: ''
|
129
|
+
headers:
|
130
|
+
Accept:
|
131
|
+
- ! '*/*'
|
132
|
+
User-Agent:
|
133
|
+
- Ruby
|
134
|
+
response:
|
135
|
+
status:
|
42
136
|
code: 200
|
43
137
|
message: OK
|
44
|
-
headers:
|
45
|
-
|
46
|
-
- "367"
|
47
|
-
Cache-Control:
|
138
|
+
headers:
|
139
|
+
Cache-Control:
|
48
140
|
- no-cache
|
49
|
-
Content-Type:
|
141
|
+
Content-Type:
|
50
142
|
- application/json
|
51
|
-
|
52
|
-
-
|
53
|
-
|
54
|
-
-
|
55
|
-
Server:
|
143
|
+
Date:
|
144
|
+
- Tue, 13 May 2014 19:48:01 GMT
|
145
|
+
Pragma:
|
146
|
+
- no-cache
|
147
|
+
Server:
|
56
148
|
- gunicorn/0.17.4
|
57
|
-
|
149
|
+
Set-Cookie:
|
150
|
+
- user={"org":{"id":1499,"time_zone":null},"_type":"User","id":3658,"time_zone":null};
|
151
|
+
Path=/
|
152
|
+
X-Dd-Version:
|
153
|
+
- 31.1129.1362-0
|
154
|
+
Content-Length:
|
155
|
+
- '377'
|
156
|
+
Connection:
|
58
157
|
- keep-alive
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
158
|
+
body:
|
159
|
+
encoding: US-ASCII
|
160
|
+
string: ! '{"event": {"date_happened": 1400010475, "alert_type": "info", "resource":
|
161
|
+
"/api/v1/events/2277466975478186943", "title": "dogapi-rb end test title 1400010475",
|
162
|
+
"url": "/event/jump_to?event_id=2277466975478186943", "text": "test message",
|
163
|
+
"tags": ["test-run:carlo"], "id": 2277466975478186943, "priority": "normal",
|
164
|
+
"host": "dogbox-carlo", "device_name": null, "payload": "{}"}}'
|
65
165
|
http_version:
|
66
|
-
recorded_at:
|
67
|
-
recorded_with: VCR 2.
|
166
|
+
recorded_at: Tue, 13 May 2014 19:48:01 GMT
|
167
|
+
recorded_with: VCR 2.9.0
|
@@ -1,67 +1,162 @@
|
|
1
|
-
---
|
2
|
-
http_interactions:
|
3
|
-
- request:
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://app.datadoghq.com/api/v1/events/1905050031133446537?api_key=9775a026f1ca7d1c6c5af9d94d9595a4&application_key=87ce4a24b5553d2e482ea8a8500e71b8ad4554ff
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- ! '*/*'
|
12
|
+
response:
|
13
|
+
status:
|
14
|
+
code: 200
|
15
|
+
message: OK
|
16
|
+
headers:
|
17
|
+
Date:
|
18
|
+
- Thu, 29 Aug 2013 21:54:11 GMT
|
19
|
+
Set-Cookie:
|
20
|
+
- user={"org":{"id":1499},"_type":"User","id":3658}; Path=/
|
21
|
+
Server:
|
22
|
+
- gunicorn/0.17.4
|
23
|
+
Content-Length:
|
24
|
+
- '322'
|
25
|
+
Content-Type:
|
26
|
+
- application/json
|
27
|
+
Pragma:
|
28
|
+
- no-cache
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
X-Dd-Version:
|
32
|
+
- 31.160-300-bedcb85
|
33
|
+
Cache-Control:
|
34
|
+
- no-cache
|
35
|
+
body:
|
36
|
+
encoding: UTF-8
|
37
|
+
string: ! '{"event": {"date_happened": 1377812695, "alert_type": "info", "resource":
|
38
|
+
"/api/v1/events/1905050031133446537", "title": "title", "url": "/event/jump_to?event_id=1905050031133446537",
|
39
|
+
"text": "test message", "tags": [], "id": 1905050031133446537, "priority":
|
40
|
+
"low", "host": "dogbox", "device_name": null, "payload": "{}"}}'
|
41
|
+
http_version:
|
42
|
+
recorded_at: Thu, 29 Aug 2013 21:54:11 GMT
|
43
|
+
- request:
|
44
|
+
method: get
|
45
|
+
uri: https://app.datadoghq.com/api/v1/events/2270123722067656874?api_key=9775a026f1ca7d1c6c5af9d94d9595a4&application_key=87ce4a24b5553d2e482ea8a8500e71b8ad4554ff
|
46
|
+
body:
|
47
|
+
encoding: US-ASCII
|
48
|
+
string: ''
|
49
|
+
headers:
|
50
|
+
Accept:
|
51
|
+
- ! '*/*'
|
52
|
+
User-Agent:
|
53
|
+
- Ruby
|
54
|
+
response:
|
55
|
+
status:
|
56
|
+
code: 404
|
57
|
+
message: Not Found
|
58
|
+
headers:
|
59
|
+
Cache-Control:
|
60
|
+
- no-cache
|
61
|
+
Content-Type:
|
62
|
+
- application/json
|
63
|
+
Date:
|
64
|
+
- Thu, 08 May 2014 18:13:04 GMT
|
65
|
+
Pragma:
|
66
|
+
- no-cache
|
67
|
+
Server:
|
68
|
+
- gunicorn/0.17.4
|
69
|
+
Set-Cookie:
|
70
|
+
- user={"org":{"id":1499,"time_zone":null},"_type":"User","id":3658,"time_zone":null};
|
71
|
+
Path=/
|
72
|
+
X-Dd-Version:
|
73
|
+
- 31.1104.1337
|
74
|
+
Content-Length:
|
75
|
+
- '49'
|
76
|
+
Connection:
|
77
|
+
- keep-alive
|
78
|
+
body:
|
79
|
+
encoding: US-ASCII
|
80
|
+
string: ! '{"errors": ["No event matches that comment_id."]}'
|
81
|
+
http_version:
|
82
|
+
recorded_at: Thu, 08 May 2014 18:08:41 GMT
|
83
|
+
- request:
|
4
84
|
method: post
|
5
85
|
uri: https://app.datadoghq.com/api/v1/events?api_key=9775a026f1ca7d1c6c5af9d94d9595a4
|
6
|
-
body:
|
7
|
-
|
8
|
-
|
9
|
-
|
86
|
+
body:
|
87
|
+
encoding: UTF-8
|
88
|
+
string: ! '{"msg_text":"test message","date_happened":1400010467,"msg_title":"title","priority":"low","parent":null,"tags":[],"aggregation_key":"","alert_type":null,"event_type":null,"source_type_name":null,"title":"title","text":"test
|
89
|
+
message","host":"dogbox-carlo","device":null}'
|
90
|
+
headers:
|
91
|
+
Accept:
|
92
|
+
- ! '*/*'
|
93
|
+
User-Agent:
|
94
|
+
- Ruby
|
95
|
+
Content-Type:
|
10
96
|
- application/json
|
11
|
-
|
12
|
-
|
13
|
-
response:
|
14
|
-
status:
|
97
|
+
response:
|
98
|
+
status:
|
15
99
|
code: 202
|
16
100
|
message: Accepted
|
17
|
-
headers:
|
18
|
-
|
19
|
-
- Thu, 29 Aug 2013 21:44:56 GMT
|
20
|
-
Server:
|
21
|
-
- dogdispatcher/4.7.0
|
22
|
-
Content-Length:
|
23
|
-
- "267"
|
24
|
-
Content-Type:
|
101
|
+
headers:
|
102
|
+
Content-Type:
|
25
103
|
- text/json; charset=UTF-8
|
26
|
-
|
104
|
+
Date:
|
105
|
+
- Tue, 13 May 2014 19:47:50 GMT
|
106
|
+
Server:
|
107
|
+
- dogdispatcher/4.12.1
|
108
|
+
Content-Length:
|
109
|
+
- '277'
|
110
|
+
Connection:
|
27
111
|
- keep-alive
|
28
|
-
body:
|
29
|
-
|
112
|
+
body:
|
113
|
+
encoding: US-ASCII
|
114
|
+
string: ! '{"status": "ok", "event": {"priority": "low", "date_happened": 1400010467,
|
115
|
+
"handle": null, "title": "title", "url": "https://app.datadoghq.com/event/jump_to?event_id=2277466877264261870",
|
116
|
+
"text": "test message", "tags": [], "related_event_id": null, "id": 2277466877264261870}}'
|
30
117
|
http_version:
|
31
|
-
recorded_at:
|
32
|
-
- request:
|
118
|
+
recorded_at: Tue, 13 May 2014 19:47:50 GMT
|
119
|
+
- request:
|
33
120
|
method: get
|
34
|
-
uri: https://app.datadoghq.com/api/v1/events/
|
35
|
-
body:
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
121
|
+
uri: https://app.datadoghq.com/api/v1/events/2277466877264261870?api_key=9775a026f1ca7d1c6c5af9d94d9595a4&application_key=87ce4a24b5553d2e482ea8a8500e71b8ad4554ff
|
122
|
+
body:
|
123
|
+
encoding: US-ASCII
|
124
|
+
string: ''
|
125
|
+
headers:
|
126
|
+
Accept:
|
127
|
+
- ! '*/*'
|
128
|
+
User-Agent:
|
129
|
+
- Ruby
|
130
|
+
response:
|
131
|
+
status:
|
42
132
|
code: 200
|
43
133
|
message: OK
|
44
|
-
headers:
|
45
|
-
|
46
|
-
-
|
47
|
-
|
48
|
-
- user={"org":{"id":1499},"_type":"User","id":3658}; Path=/
|
49
|
-
Server:
|
50
|
-
- gunicorn/0.17.4
|
51
|
-
Content-Length:
|
52
|
-
- "322"
|
53
|
-
Content-Type:
|
134
|
+
headers:
|
135
|
+
Cache-Control:
|
136
|
+
- no-cache
|
137
|
+
Content-Type:
|
54
138
|
- application/json
|
55
|
-
|
139
|
+
Date:
|
140
|
+
- Tue, 13 May 2014 19:47:55 GMT
|
141
|
+
Pragma:
|
56
142
|
- no-cache
|
57
|
-
|
143
|
+
Server:
|
144
|
+
- gunicorn/0.17.4
|
145
|
+
Set-Cookie:
|
146
|
+
- user={"org":{"id":1499,"time_zone":null},"_type":"User","id":3658,"time_zone":null};
|
147
|
+
Path=/
|
148
|
+
X-Dd-Version:
|
149
|
+
- 31.1129.1362-0
|
150
|
+
Content-Length:
|
151
|
+
- '328'
|
152
|
+
Connection:
|
58
153
|
- keep-alive
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
154
|
+
body:
|
155
|
+
encoding: US-ASCII
|
156
|
+
string: ! '{"event": {"date_happened": 1400010467, "alert_type": "info", "resource":
|
157
|
+
"/api/v1/events/2277466877264261870", "title": "title", "url": "/event/jump_to?event_id=2277466877264261870",
|
158
|
+
"text": "test message", "tags": [], "id": 2277466877264261870, "priority":
|
159
|
+
"low", "host": "dogbox-carlo", "device_name": null, "payload": "{}"}}'
|
65
160
|
http_version:
|
66
|
-
recorded_at:
|
67
|
-
recorded_with: VCR 2.
|
161
|
+
recorded_at: Tue, 13 May 2014 19:47:55 GMT
|
162
|
+
recorded_with: VCR 2.9.0
|
@@ -5,7 +5,7 @@ http_interactions:
|
|
5
5
|
uri: https://app.datadoghq.com/api/v1/series?api_key=9775a026f1ca7d1c6c5af9d94d9595a4
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
|
-
string: ! '{"series":[{"metric":"test.tag.metric","points":[[
|
8
|
+
string: ! '{"series":[{"metric":"test.tag.metric","points":[[1399572523,1.0]],"type":"gauge","host":"test.tag.host","device":null}]}'
|
9
9
|
headers:
|
10
10
|
Accept:
|
11
11
|
- ! '*/*'
|
@@ -21,9 +21,9 @@ http_interactions:
|
|
21
21
|
Content-Type:
|
22
22
|
- text/json; charset=UTF-8
|
23
23
|
Date:
|
24
|
-
- Thu,
|
24
|
+
- Thu, 08 May 2014 18:13:06 GMT
|
25
25
|
Server:
|
26
|
-
- dogdispatcher/4.
|
26
|
+
- dogdispatcher/4.12.1
|
27
27
|
Content-Length:
|
28
28
|
- '15'
|
29
29
|
Connection:
|
@@ -32,7 +32,7 @@ http_interactions:
|
|
32
32
|
encoding: US-ASCII
|
33
33
|
string: ! '{"status":"ok"}'
|
34
34
|
http_version:
|
35
|
-
recorded_at: Thu,
|
35
|
+
recorded_at: Thu, 08 May 2014 18:08:43 GMT
|
36
36
|
- request:
|
37
37
|
method: delete
|
38
38
|
uri: https://app.datadoghq.com/api/v1/tags/hosts/test.tag.host?api_key=9775a026f1ca7d1c6c5af9d94d9595a4&application_key=87ce4a24b5553d2e482ea8a8500e71b8ad4554ff
|
@@ -56,22 +56,23 @@ http_interactions:
|
|
56
56
|
Content-Type:
|
57
57
|
- application/json
|
58
58
|
Date:
|
59
|
-
- Thu,
|
59
|
+
- Thu, 08 May 2014 18:13:07 GMT
|
60
60
|
Pragma:
|
61
61
|
- no-cache
|
62
62
|
Server:
|
63
63
|
- gunicorn/0.17.4
|
64
64
|
Set-Cookie:
|
65
|
-
- user={"org":{"id":1499},"_type":"User","id":3658};
|
65
|
+
- user={"org":{"id":1499,"time_zone":null},"_type":"User","id":3658,"time_zone":null};
|
66
|
+
Path=/
|
66
67
|
X-Dd-Version:
|
67
|
-
- 31.
|
68
|
+
- 31.1104.1337
|
68
69
|
Connection:
|
69
70
|
- keep-alive
|
70
71
|
body:
|
71
72
|
encoding: US-ASCII
|
72
73
|
string: ''
|
73
74
|
http_version:
|
74
|
-
recorded_at: Thu,
|
75
|
+
recorded_at: Thu, 08 May 2014 18:08:44 GMT
|
75
76
|
- request:
|
76
77
|
method: get
|
77
78
|
uri: https://app.datadoghq.com/api/v1/tags/hosts/test.tag.host?api_key=9775a026f1ca7d1c6c5af9d94d9595a4&application_key=87ce4a24b5553d2e482ea8a8500e71b8ad4554ff
|
@@ -93,15 +94,16 @@ http_interactions:
|
|
93
94
|
Content-Type:
|
94
95
|
- application/json
|
95
96
|
Date:
|
96
|
-
- Thu,
|
97
|
+
- Thu, 08 May 2014 18:13:07 GMT
|
97
98
|
Pragma:
|
98
99
|
- no-cache
|
99
100
|
Server:
|
100
101
|
- gunicorn/0.17.4
|
101
102
|
Set-Cookie:
|
102
|
-
- user={"org":{"id":1499},"_type":"User","id":3658};
|
103
|
+
- user={"org":{"id":1499,"time_zone":null},"_type":"User","id":3658,"time_zone":null};
|
104
|
+
Path=/
|
103
105
|
X-Dd-Version:
|
104
|
-
- 31.
|
106
|
+
- 31.1102.1335-0
|
105
107
|
Content-Length:
|
106
108
|
- '12'
|
107
109
|
Connection:
|
@@ -110,7 +112,7 @@ http_interactions:
|
|
110
112
|
encoding: US-ASCII
|
111
113
|
string: ! '{"tags": []}'
|
112
114
|
http_version:
|
113
|
-
recorded_at: Thu,
|
115
|
+
recorded_at: Thu, 08 May 2014 18:08:44 GMT
|
114
116
|
- request:
|
115
117
|
method: post
|
116
118
|
uri: https://app.datadoghq.com/api/v1/tags/hosts/test.tag.host?api_key=9775a026f1ca7d1c6c5af9d94d9595a4&application_key=87ce4a24b5553d2e482ea8a8500e71b8ad4554ff
|
@@ -134,15 +136,16 @@ http_interactions:
|
|
134
136
|
Content-Type:
|
135
137
|
- application/json
|
136
138
|
Date:
|
137
|
-
- Thu,
|
139
|
+
- Thu, 08 May 2014 18:13:07 GMT
|
138
140
|
Pragma:
|
139
141
|
- no-cache
|
140
142
|
Server:
|
141
143
|
- gunicorn/0.17.4
|
142
144
|
Set-Cookie:
|
143
|
-
- user={"org":{"id":1499},"_type":"User","id":3658};
|
145
|
+
- user={"org":{"id":1499,"time_zone":null},"_type":"User","id":3658,"time_zone":null};
|
146
|
+
Path=/
|
144
147
|
X-Dd-Version:
|
145
|
-
- 31.
|
148
|
+
- 31.1102.1335-0
|
146
149
|
Content-Length:
|
147
150
|
- '63'
|
148
151
|
Connection:
|
@@ -151,7 +154,7 @@ http_interactions:
|
|
151
154
|
encoding: US-ASCII
|
152
155
|
string: ! '{"host": "test.tag.host", "tags": ["test.tag.2", "test.tag.1"]}'
|
153
156
|
http_version:
|
154
|
-
recorded_at: Thu,
|
157
|
+
recorded_at: Thu, 08 May 2014 18:08:44 GMT
|
155
158
|
- request:
|
156
159
|
method: get
|
157
160
|
uri: https://app.datadoghq.com/api/v1/tags/hosts/test.tag.host?api_key=9775a026f1ca7d1c6c5af9d94d9595a4&application_key=87ce4a24b5553d2e482ea8a8500e71b8ad4554ff
|
@@ -173,15 +176,16 @@ http_interactions:
|
|
173
176
|
Content-Type:
|
174
177
|
- application/json
|
175
178
|
Date:
|
176
|
-
- Thu,
|
179
|
+
- Thu, 08 May 2014 18:13:08 GMT
|
177
180
|
Pragma:
|
178
181
|
- no-cache
|
179
182
|
Server:
|
180
183
|
- gunicorn/0.17.4
|
181
184
|
Set-Cookie:
|
182
|
-
- user={"org":{"id":1499},"_type":"User","id":3658};
|
185
|
+
- user={"org":{"id":1499,"time_zone":null},"_type":"User","id":3658,"time_zone":null};
|
186
|
+
Path=/
|
183
187
|
X-Dd-Version:
|
184
|
-
- 31.
|
188
|
+
- 31.1104.1337
|
185
189
|
Content-Length:
|
186
190
|
- '38'
|
187
191
|
Connection:
|
@@ -190,7 +194,7 @@ http_interactions:
|
|
190
194
|
encoding: US-ASCII
|
191
195
|
string: ! '{"tags": ["test.tag.2", "test.tag.1"]}'
|
192
196
|
http_version:
|
193
|
-
recorded_at: Thu,
|
197
|
+
recorded_at: Thu, 08 May 2014 18:08:45 GMT
|
194
198
|
- request:
|
195
199
|
method: post
|
196
200
|
uri: https://app.datadoghq.com/api/v1/tags/hosts/test.tag.host?api_key=9775a026f1ca7d1c6c5af9d94d9595a4&application_key=87ce4a24b5553d2e482ea8a8500e71b8ad4554ff
|
@@ -214,15 +218,16 @@ http_interactions:
|
|
214
218
|
Content-Type:
|
215
219
|
- application/json
|
216
220
|
Date:
|
217
|
-
- Thu,
|
221
|
+
- Thu, 08 May 2014 18:13:08 GMT
|
218
222
|
Pragma:
|
219
223
|
- no-cache
|
220
224
|
Server:
|
221
225
|
- gunicorn/0.17.4
|
222
226
|
Set-Cookie:
|
223
|
-
- user={"org":{"id":1499},"_type":"User","id":3658};
|
227
|
+
- user={"org":{"id":1499,"time_zone":null},"_type":"User","id":3658,"time_zone":null};
|
228
|
+
Path=/
|
224
229
|
X-Dd-Version:
|
225
|
-
- 31.
|
230
|
+
- 31.1104.1337
|
226
231
|
Content-Length:
|
227
232
|
- '77'
|
228
233
|
Connection:
|
@@ -231,7 +236,7 @@ http_interactions:
|
|
231
236
|
encoding: US-ASCII
|
232
237
|
string: ! '{"host": "test.tag.host", "tags": ["test.tag.2", "test.tag.3", "test.tag.1"]}'
|
233
238
|
http_version:
|
234
|
-
recorded_at: Thu,
|
239
|
+
recorded_at: Thu, 08 May 2014 18:08:45 GMT
|
235
240
|
- request:
|
236
241
|
method: get
|
237
242
|
uri: https://app.datadoghq.com/api/v1/tags/hosts/test.tag.host?api_key=9775a026f1ca7d1c6c5af9d94d9595a4&application_key=87ce4a24b5553d2e482ea8a8500e71b8ad4554ff
|
@@ -253,15 +258,16 @@ http_interactions:
|
|
253
258
|
Content-Type:
|
254
259
|
- application/json
|
255
260
|
Date:
|
256
|
-
- Thu,
|
261
|
+
- Thu, 08 May 2014 18:13:08 GMT
|
257
262
|
Pragma:
|
258
263
|
- no-cache
|
259
264
|
Server:
|
260
265
|
- gunicorn/0.17.4
|
261
266
|
Set-Cookie:
|
262
|
-
- user={"org":{"id":1499},"_type":"User","id":3658};
|
267
|
+
- user={"org":{"id":1499,"time_zone":null},"_type":"User","id":3658,"time_zone":null};
|
268
|
+
Path=/
|
263
269
|
X-Dd-Version:
|
264
|
-
- 31.
|
270
|
+
- 31.1104.1337
|
265
271
|
Content-Length:
|
266
272
|
- '52'
|
267
273
|
Connection:
|
@@ -270,7 +276,7 @@ http_interactions:
|
|
270
276
|
encoding: US-ASCII
|
271
277
|
string: ! '{"tags": ["test.tag.2", "test.tag.3", "test.tag.1"]}'
|
272
278
|
http_version:
|
273
|
-
recorded_at: Thu,
|
279
|
+
recorded_at: Thu, 08 May 2014 18:08:45 GMT
|
274
280
|
- request:
|
275
281
|
method: delete
|
276
282
|
uri: https://app.datadoghq.com/api/v1/tags/hosts/test.tag.host?api_key=9775a026f1ca7d1c6c5af9d94d9595a4&application_key=87ce4a24b5553d2e482ea8a8500e71b8ad4554ff
|
@@ -294,22 +300,23 @@ http_interactions:
|
|
294
300
|
Content-Type:
|
295
301
|
- application/json
|
296
302
|
Date:
|
297
|
-
- Thu,
|
303
|
+
- Thu, 08 May 2014 18:13:08 GMT
|
298
304
|
Pragma:
|
299
305
|
- no-cache
|
300
306
|
Server:
|
301
307
|
- gunicorn/0.17.4
|
302
308
|
Set-Cookie:
|
303
|
-
- user={"org":{"id":1499},"_type":"User","id":3658};
|
309
|
+
- user={"org":{"id":1499,"time_zone":null},"_type":"User","id":3658,"time_zone":null};
|
310
|
+
Path=/
|
304
311
|
X-Dd-Version:
|
305
|
-
- 31.
|
312
|
+
- 31.1102.1335-0
|
306
313
|
Connection:
|
307
314
|
- keep-alive
|
308
315
|
body:
|
309
316
|
encoding: US-ASCII
|
310
317
|
string: ''
|
311
318
|
http_version:
|
312
|
-
recorded_at: Thu,
|
319
|
+
recorded_at: Thu, 08 May 2014 18:08:46 GMT
|
313
320
|
- request:
|
314
321
|
method: get
|
315
322
|
uri: https://app.datadoghq.com/api/v1/tags/hosts/test.tag.host?api_key=9775a026f1ca7d1c6c5af9d94d9595a4&application_key=87ce4a24b5553d2e482ea8a8500e71b8ad4554ff
|
@@ -331,15 +338,16 @@ http_interactions:
|
|
331
338
|
Content-Type:
|
332
339
|
- application/json
|
333
340
|
Date:
|
334
|
-
- Thu,
|
341
|
+
- Thu, 08 May 2014 18:13:09 GMT
|
335
342
|
Pragma:
|
336
343
|
- no-cache
|
337
344
|
Server:
|
338
345
|
- gunicorn/0.17.4
|
339
346
|
Set-Cookie:
|
340
|
-
- user={"org":{"id":1499},"_type":"User","id":3658};
|
347
|
+
- user={"org":{"id":1499,"time_zone":null},"_type":"User","id":3658,"time_zone":null};
|
348
|
+
Path=/
|
341
349
|
X-Dd-Version:
|
342
|
-
- 31.
|
350
|
+
- 31.1102.1335-0
|
343
351
|
Content-Length:
|
344
352
|
- '12'
|
345
353
|
Connection:
|
@@ -348,5 +356,5 @@ http_interactions:
|
|
348
356
|
encoding: US-ASCII
|
349
357
|
string: ! '{"tags": []}'
|
350
358
|
http_version:
|
351
|
-
recorded_at: Thu,
|
352
|
-
recorded_with: VCR 2.
|
359
|
+
recorded_at: Thu, 08 May 2014 18:08:46 GMT
|
360
|
+
recorded_with: VCR 2.9.0
|