chef-handler-datadog 0.9.0 → 0.10.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +6 -0
  3. data/Appraisals +9 -1
  4. data/CHANGELOG.md +15 -0
  5. data/chef-handler-datadog.gemspec +1 -1
  6. data/gemfiles/chef_11.gemfile +2 -0
  7. data/lib/chef/handler/datadog.rb +70 -12
  8. data/lib/chef/handler/datadog_chef_events.rb +12 -20
  9. data/lib/chef/handler/datadog_chef_metrics.rb +8 -15
  10. data/lib/chef/handler/datadog_chef_tags.rb +33 -34
  11. data/lib/chef_handler_datadog.rb +1 -1
  12. data/spec/datadog_spec.rb +266 -7
  13. data/spec/support/cassettes/Chef_Handler_Datadog/failed_Chef_run/sets_alert_handles_when_specified.yml +90 -12
  14. data/spec/support/cassettes/Chef_Handler_Datadog/failed_Chef_run/sets_event_title_correctly.yml +45 -6
  15. data/spec/support/cassettes/Chef_Handler_Datadog/failed_Chef_run/sets_priority_correctly.yml +45 -6
  16. data/spec/support/cassettes/Chef_Handler_Datadog/hostname/uses_the_node_name_when_no_config_specified.yml +45 -6
  17. data/spec/support/cassettes/Chef_Handler_Datadog/hostname/uses_the_specified_hostname_when_provided.yml +45 -6
  18. data/spec/support/cassettes/Chef_Handler_Datadog/reports_correct_hostname_on_an_ec2_node/does_not_use_the_instance_id_when_config_specified_to_false.yml +45 -6
  19. data/spec/support/cassettes/Chef_Handler_Datadog/reports_correct_hostname_on_an_ec2_node/uses_the_instance_id_when_config_is_specified.yml +45 -6
  20. data/spec/support/cassettes/Chef_Handler_Datadog/reports_correct_hostname_on_an_ec2_node/uses_the_instance_id_when_no_config_specified.yml +45 -6
  21. data/spec/support/cassettes/Chef_Handler_Datadog/reports_metrics_event_and_sets_tags/emits_events/posts_an_event.yml +45 -6
  22. data/spec/support/cassettes/Chef_Handler_Datadog/reports_metrics_event_and_sets_tags/emits_events/sets_priority_correctly.yml +45 -6
  23. data/spec/support/cassettes/Chef_Handler_Datadog/reports_metrics_event_and_sets_tags/emits_metrics/reports_metrics.yml +45 -6
  24. data/spec/support/cassettes/Chef_Handler_Datadog/reports_metrics_event_and_sets_tags/sets_tags/puts_the_tags_for_the_current_node.yml +45 -6
  25. data/spec/support/cassettes/Chef_Handler_Datadog/resources/failure_during_compile_phase/{only_emits_a_failure_metric.yml → only_emits_the_run_status_metrics.yml} +43 -4
  26. data/spec/support/cassettes/Chef_Handler_Datadog/resources/failure_during_compile_phase/posts_an_event.yml +43 -4
  27. data/spec/support/cassettes/Chef_Handler_Datadog/tags/when_specified/allows_for_empty_scope_prefix.yml +290 -0
  28. data/spec/support/cassettes/Chef_Handler_Datadog/tags/when_specified/allows_for_empty_tag_prefix.yml +84 -6
  29. data/spec/support/cassettes/Chef_Handler_Datadog/tags/when_specified/allows_for_user-specified_scope_prefix.yml +290 -0
  30. data/spec/support/cassettes/Chef_Handler_Datadog/tags/when_specified/allows_for_user-specified_tag_prefix.yml +45 -6
  31. data/spec/support/cassettes/Chef_Handler_Datadog/tags/when_specified/sets_the_role_and_env_and_tags.yml +45 -6
  32. data/spec/support/cassettes/Chef_Handler_Datadog/tags/when_tag_blacklist_is_specified/does_not_include_the_tag_s_specified.yml +289 -0
  33. data/spec/support/cassettes/Chef_Handler_Datadog/tags/when_tag_blacklist_is_unspecified/should_include_all_of_the_tag_s_.yml +289 -0
  34. data/spec/support/cassettes/Chef_Handler_Datadog/tags/when_unspecified/sets_role_env_and_nothing_else.yml +45 -6
  35. data/spec/support/cassettes/Chef_Handler_Datadog/tags_submission_retries/when_not_specified/does_not_retry_after_a_failed_submission.yml +37 -0
  36. data/spec/support/cassettes/Chef_Handler_Datadog/tags_submission_retries/when_specified_as_2_retries/retries_no_more_than_twice.yml +37 -0
  37. data/spec/support/cassettes/Chef_Handler_Datadog/tags_submission_retries/when_specified_as_2_retries/stops_retrying_once_submission_is_successful.yml +37 -0
  38. data/spec/support/cassettes/Chef_Handler_Datadog/updated_resources/posts_an_event.yml +45 -6
  39. data/spec/support/cassettes/Chef_Handler_Datadog/when_reporting_to_multiple_endpoints/emits_events/posts_an_event.yml +575 -0
  40. data/spec/support/cassettes/Chef_Handler_Datadog/when_reporting_to_multiple_endpoints/emits_metrics/reports_metrics.yml +575 -0
  41. data/spec/support/cassettes/Chef_Handler_Datadog/when_reporting_to_multiple_endpoints/sets_tags/puts_the_tags_for_the_current_node.yml +575 -0
  42. metadata +24 -11
  43. data/spec/support/cassettes/Chef_Handler_Datadog/resources/failure_during_compile_phase/does_not_emit_metrics.yml +0 -82
@@ -1,5 +1,44 @@
1
1
  ---
2
2
  http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://app.datadoghq.com/api/v1/series?api_key=<API_KEY>
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"series":[{"metric":"chef.run.success","points":[[1453838668,0.0]],"type":"counter","host":"chef.handler.datadog.test-failed","device":null}]}'
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - "*/*"
14
+ User-Agent:
15
+ - Ruby
16
+ Content-Type:
17
+ - application/json
18
+ response:
19
+ status:
20
+ code: 202
21
+ message: Accepted
22
+ headers:
23
+ Content-Type:
24
+ - text/json
25
+ Date:
26
+ - Tue, 26 Jan 2016 20:04:26 GMT
27
+ Dd-Pool:
28
+ - propjoe
29
+ Strict-Transport-Security:
30
+ - max-age=15724800;
31
+ X-Content-Type-Options:
32
+ - nosniff
33
+ Content-Length:
34
+ - '16'
35
+ Connection:
36
+ - keep-alive
37
+ body:
38
+ encoding: UTF-8
39
+ string: '{"status": "ok"}'
40
+ http_version:
41
+ recorded_at: Tue, 26 Jan 2016 20:04:28 GMT
3
42
  - request:
4
43
  method: post
5
44
  uri: https://app.datadoghq.com/api/v1/series?api_key=<API_KEY>
@@ -37,7 +76,7 @@ http_interactions:
37
76
  body:
38
77
  encoding: UTF-8
39
78
  string: '{"status": "ok"}'
40
- http_version:
79
+ http_version:
41
80
  recorded_at: Tue, 26 Jan 2016 20:04:28 GMT
42
81
  - request:
43
82
  method: post
@@ -76,7 +115,7 @@ http_interactions:
76
115
  body:
77
116
  encoding: UTF-8
78
117
  string: '{"status": "ok"}'
79
- http_version:
118
+ http_version:
80
119
  recorded_at: Tue, 26 Jan 2016 20:04:28 GMT
81
120
  - request:
82
121
  method: post
@@ -115,7 +154,7 @@ http_interactions:
115
154
  body:
116
155
  encoding: UTF-8
117
156
  string: '{"status": "ok"}'
118
- http_version:
157
+ http_version:
119
158
  recorded_at: Tue, 26 Jan 2016 20:04:28 GMT
120
159
  - request:
121
160
  method: post
@@ -154,7 +193,7 @@ http_interactions:
154
193
  body:
155
194
  encoding: UTF-8
156
195
  string: '{"status": "ok"}'
157
- http_version:
196
+ http_version:
158
197
  recorded_at: Tue, 26 Jan 2016 20:04:28 GMT
159
198
  - request:
160
199
  method: post
@@ -205,7 +244,7 @@ http_interactions:
205
244
  (dynamically defined)\n- [ears] (dynamically defined)\n- [nose] (dynamically
206
245
  defined)\n- [tail] (dynamically defined)\n- [fur] (dynamically defined)\n\n$$$\n\n$$$\nChef::Exceptions::UnsupportedAction:
207
246
  Something awry.\n$$$\n\n$$$\nwhiskers.rb:2\npaws.rb:1\nfile.rb:2\nfile.rb:1\n$$$\n","date_happened":1453838668,"handle":null,"priority":"normal","related_event_id":null,"tags":["env:hostile","role:highlander","tag:the_one_and_only"],"url":"https://app.datadoghq.com/event/event?id=381236694692316426"}}'
208
- http_version:
247
+ http_version:
209
248
  recorded_at: Tue, 26 Jan 2016 20:04:28 GMT
210
249
  - request:
211
250
  method: put
@@ -253,7 +292,46 @@ http_interactions:
253
292
  encoding: UTF-8
254
293
  string: '{"host": "chef.handler.datadog.test-failed", "tags": ["env:hostile",
255
294
  "role:highlander", "tag:the_one_and_only"]}'
256
- http_version:
295
+ http_version:
296
+ recorded_at: Tue, 26 Jan 2016 20:04:28 GMT
297
+ - request:
298
+ method: post
299
+ uri: https://app.datadoghq.com/api/v1/series?api_key=<API_KEY>
300
+ body:
301
+ encoding: UTF-8
302
+ string: '{"series":[{"metric":"chef.run.success","points":[[1453838668,0.0]],"type":"counter","host":"chef.handler.datadog.test-failed","device":null}]}'
303
+ headers:
304
+ Accept-Encoding:
305
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
306
+ Accept:
307
+ - "*/*"
308
+ User-Agent:
309
+ - Ruby
310
+ Content-Type:
311
+ - application/json
312
+ response:
313
+ status:
314
+ code: 202
315
+ message: Accepted
316
+ headers:
317
+ Content-Type:
318
+ - text/json
319
+ Date:
320
+ - Tue, 26 Jan 2016 20:04:26 GMT
321
+ Dd-Pool:
322
+ - propjoe
323
+ Strict-Transport-Security:
324
+ - max-age=15724800;
325
+ X-Content-Type-Options:
326
+ - nosniff
327
+ Content-Length:
328
+ - '16'
329
+ Connection:
330
+ - keep-alive
331
+ body:
332
+ encoding: UTF-8
333
+ string: '{"status": "ok"}'
334
+ http_version:
257
335
  recorded_at: Tue, 26 Jan 2016 20:04:28 GMT
258
336
  - request:
259
337
  method: post
@@ -292,7 +370,7 @@ http_interactions:
292
370
  body:
293
371
  encoding: UTF-8
294
372
  string: '{"status": "ok"}'
295
- http_version:
373
+ http_version:
296
374
  recorded_at: Tue, 26 Jan 2016 20:04:28 GMT
297
375
  - request:
298
376
  method: post
@@ -331,7 +409,7 @@ http_interactions:
331
409
  body:
332
410
  encoding: UTF-8
333
411
  string: '{"status": "ok"}'
334
- http_version:
412
+ http_version:
335
413
  recorded_at: Tue, 26 Jan 2016 20:04:28 GMT
336
414
  - request:
337
415
  method: post
@@ -370,7 +448,7 @@ http_interactions:
370
448
  body:
371
449
  encoding: UTF-8
372
450
  string: '{"status": "ok"}'
373
- http_version:
451
+ http_version:
374
452
  recorded_at: Tue, 26 Jan 2016 20:04:28 GMT
375
453
  - request:
376
454
  method: post
@@ -409,7 +487,7 @@ http_interactions:
409
487
  body:
410
488
  encoding: UTF-8
411
489
  string: '{"status": "ok"}'
412
- http_version:
490
+ http_version:
413
491
  recorded_at: Tue, 26 Jan 2016 20:04:28 GMT
414
492
  - request:
415
493
  method: post
@@ -460,7 +538,7 @@ http_interactions:
460
538
  (dynamically defined)\n- [ears] (dynamically defined)\n- [nose] (dynamically
461
539
  defined)\n- [tail] (dynamically defined)\n- [fur] (dynamically defined)\n\n$$$\n\nAlerting:
462
540
  @alice @bob\n\n$$$\nChef::Exceptions::UnsupportedAction: Something awry.\n$$$\n\n$$$\nwhiskers.rb:2\npaws.rb:1\nfile.rb:2\nfile.rb:1\n$$$\n","date_happened":1453838668,"handle":null,"priority":"normal","related_event_id":null,"tags":["env:hostile","role:highlander","tag:tag:the_one_and_only"],"url":"https://app.datadoghq.com/event/event?id=381236701686654829"}}'
463
- http_version:
541
+ http_version:
464
542
  recorded_at: Tue, 26 Jan 2016 20:04:28 GMT
465
543
  - request:
466
544
  method: put
@@ -508,6 +586,6 @@ http_interactions:
508
586
  encoding: UTF-8
509
587
  string: '{"host": "chef.handler.datadog.test-failed", "tags": ["tag:tag:the_one_and_only",
510
588
  "env:hostile", "role:highlander"]}'
511
- http_version:
589
+ http_version:
512
590
  recorded_at: Tue, 26 Jan 2016 20:04:28 GMT
513
591
  recorded_with: VCR 3.0.1
@@ -1,5 +1,44 @@
1
1
  ---
2
2
  http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://app.datadoghq.com/api/v1/series?api_key=<API_KEY>
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"series":[{"metric":"chef.run.success","points":[[1453838669,0.0]],"type":"counter","host":"chef.handler.datadog.test-failed","device":null}]}'
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - "*/*"
14
+ User-Agent:
15
+ - Ruby
16
+ Content-Type:
17
+ - application/json
18
+ response:
19
+ status:
20
+ code: 202
21
+ message: Accepted
22
+ headers:
23
+ Content-Type:
24
+ - text/json
25
+ Date:
26
+ - Tue, 26 Jan 2016 20:04:27 GMT
27
+ Dd-Pool:
28
+ - propjoe
29
+ Strict-Transport-Security:
30
+ - max-age=15724800;
31
+ X-Content-Type-Options:
32
+ - nosniff
33
+ Content-Length:
34
+ - '16'
35
+ Connection:
36
+ - keep-alive
37
+ body:
38
+ encoding: UTF-8
39
+ string: '{"status": "ok"}'
40
+ http_version:
41
+ recorded_at: Tue, 26 Jan 2016 20:04:29 GMT
3
42
  - request:
4
43
  method: post
5
44
  uri: https://app.datadoghq.com/api/v1/series?api_key=<API_KEY>
@@ -37,7 +76,7 @@ http_interactions:
37
76
  body:
38
77
  encoding: UTF-8
39
78
  string: '{"status": "ok"}'
40
- http_version:
79
+ http_version:
41
80
  recorded_at: Tue, 26 Jan 2016 20:04:29 GMT
42
81
  - request:
43
82
  method: post
@@ -76,7 +115,7 @@ http_interactions:
76
115
  body:
77
116
  encoding: UTF-8
78
117
  string: '{"status": "ok"}'
79
- http_version:
118
+ http_version:
80
119
  recorded_at: Tue, 26 Jan 2016 20:04:29 GMT
81
120
  - request:
82
121
  method: post
@@ -115,7 +154,7 @@ http_interactions:
115
154
  body:
116
155
  encoding: UTF-8
117
156
  string: '{"status": "ok"}'
118
- http_version:
157
+ http_version:
119
158
  recorded_at: Tue, 26 Jan 2016 20:04:29 GMT
120
159
  - request:
121
160
  method: post
@@ -154,7 +193,7 @@ http_interactions:
154
193
  body:
155
194
  encoding: UTF-8
156
195
  string: '{"status": "ok"}'
157
- http_version:
196
+ http_version:
158
197
  recorded_at: Tue, 26 Jan 2016 20:04:29 GMT
159
198
  - request:
160
199
  method: post
@@ -205,7 +244,7 @@ http_interactions:
205
244
  (dynamically defined)\n- [ears] (dynamically defined)\n- [nose] (dynamically
206
245
  defined)\n- [tail] (dynamically defined)\n- [fur] (dynamically defined)\n\n$$$\n\n$$$\nChef::Exceptions::UnsupportedAction:
207
246
  Something awry.\n$$$\n\n$$$\nwhiskers.rb:2\npaws.rb:1\nfile.rb:2\nfile.rb:1\n$$$\n","date_happened":1453838669,"handle":null,"priority":"normal","related_event_id":null,"tags":["env:hostile","role:highlander","tag:the_one_and_only"],"url":"https://app.datadoghq.com/event/event?id=381236719251068806"}}'
208
- http_version:
247
+ http_version:
209
248
  recorded_at: Tue, 26 Jan 2016 20:04:29 GMT
210
249
  - request:
211
250
  method: put
@@ -253,6 +292,6 @@ http_interactions:
253
292
  encoding: UTF-8
254
293
  string: '{"host": "chef.handler.datadog.test-failed", "tags": ["env:hostile",
255
294
  "role:highlander", "tag:the_one_and_only"]}'
256
- http_version:
295
+ http_version:
257
296
  recorded_at: Tue, 26 Jan 2016 20:04:29 GMT
258
297
  recorded_with: VCR 3.0.1
@@ -1,5 +1,44 @@
1
1
  ---
2
2
  http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://app.datadoghq.com/api/v1/series?api_key=<API_KEY>
6
+ body:
7
+ encoding: UTF-8
8
+ string: '{"series":[{"metric":"chef.run.success","points":[[1453838669,0.0]],"type":"counter","host":"chef.handler.datadog.test-failed","device":null}]}'
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - "*/*"
14
+ User-Agent:
15
+ - Ruby
16
+ Content-Type:
17
+ - application/json
18
+ response:
19
+ status:
20
+ code: 202
21
+ message: Accepted
22
+ headers:
23
+ Content-Type:
24
+ - text/json
25
+ Date:
26
+ - Tue, 26 Jan 2016 20:04:27 GMT
27
+ Dd-Pool:
28
+ - propjoe
29
+ Strict-Transport-Security:
30
+ - max-age=15724800;
31
+ X-Content-Type-Options:
32
+ - nosniff
33
+ Content-Length:
34
+ - '16'
35
+ Connection:
36
+ - keep-alive
37
+ body:
38
+ encoding: UTF-8
39
+ string: '{"status": "ok"}'
40
+ http_version:
41
+ recorded_at: Tue, 26 Jan 2016 20:04:29 GMT
3
42
  - request:
4
43
  method: post
5
44
  uri: https://app.datadoghq.com/api/v1/series?api_key=<API_KEY>
@@ -37,7 +76,7 @@ http_interactions:
37
76
  body:
38
77
  encoding: UTF-8
39
78
  string: '{"status": "ok"}'
40
- http_version:
79
+ http_version:
41
80
  recorded_at: Tue, 26 Jan 2016 20:04:29 GMT
42
81
  - request:
43
82
  method: post
@@ -76,7 +115,7 @@ http_interactions:
76
115
  body:
77
116
  encoding: UTF-8
78
117
  string: '{"status": "ok"}'
79
- http_version:
118
+ http_version:
80
119
  recorded_at: Tue, 26 Jan 2016 20:04:29 GMT
81
120
  - request:
82
121
  method: post
@@ -115,7 +154,7 @@ http_interactions:
115
154
  body:
116
155
  encoding: UTF-8
117
156
  string: '{"status": "ok"}'
118
- http_version:
157
+ http_version:
119
158
  recorded_at: Tue, 26 Jan 2016 20:04:29 GMT
120
159
  - request:
121
160
  method: post
@@ -154,7 +193,7 @@ http_interactions:
154
193
  body:
155
194
  encoding: UTF-8
156
195
  string: '{"status": "ok"}'
157
- http_version:
196
+ http_version:
158
197
  recorded_at: Tue, 26 Jan 2016 20:04:29 GMT
159
198
  - request:
160
199
  method: post
@@ -205,7 +244,7 @@ http_interactions:
205
244
  (dynamically defined)\n- [ears] (dynamically defined)\n- [nose] (dynamically
206
245
  defined)\n- [tail] (dynamically defined)\n- [fur] (dynamically defined)\n\n$$$\n\n$$$\nChef::Exceptions::UnsupportedAction:
207
246
  Something awry.\n$$$\n\n$$$\nwhiskers.rb:2\npaws.rb:1\nfile.rb:2\nfile.rb:1\n$$$\n","date_happened":1453838669,"handle":null,"priority":"normal","related_event_id":null,"tags":["env:hostile","role:highlander","tag:the_one_and_only"],"url":"https://app.datadoghq.com/event/event?id=381236709941151618"}}'
208
- http_version:
247
+ http_version:
209
248
  recorded_at: Tue, 26 Jan 2016 20:04:29 GMT
210
249
  - request:
211
250
  method: put
@@ -253,6 +292,6 @@ http_interactions:
253
292
  encoding: UTF-8
254
293
  string: '{"host": "chef.handler.datadog.test-failed", "tags": ["env:hostile",
255
294
  "role:highlander", "tag:the_one_and_only"]}'
256
- http_version:
295
+ http_version:
257
296
  recorded_at: Tue, 26 Jan 2016 20:04:29 GMT
258
297
  recorded_with: VCR 3.0.1
@@ -37,7 +37,46 @@ http_interactions:
37
37
  body:
38
38
  encoding: UTF-8
39
39
  string: '{"status": "ok"}'
40
- http_version:
40
+ http_version:
41
+ recorded_at: Tue, 26 Jan 2016 20:04:29 GMT
42
+ - request:
43
+ method: post
44
+ uri: https://app.datadoghq.com/api/v1/series?api_key=<API_KEY>
45
+ body:
46
+ encoding: UTF-8
47
+ string: '{"series":[{"metric":"chef.run.failure","points":[[1453838669,0.0]],"type":"counter","host":"chef.handler.datadog.test-hostname","device":null}]}'
48
+ headers:
49
+ Accept-Encoding:
50
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
51
+ Accept:
52
+ - "*/*"
53
+ User-Agent:
54
+ - Ruby
55
+ Content-Type:
56
+ - application/json
57
+ response:
58
+ status:
59
+ code: 202
60
+ message: Accepted
61
+ headers:
62
+ Content-Type:
63
+ - text/json
64
+ Date:
65
+ - Tue, 26 Jan 2016 20:04:24 GMT
66
+ Dd-Pool:
67
+ - propjoe
68
+ Strict-Transport-Security:
69
+ - max-age=15724800;
70
+ X-Content-Type-Options:
71
+ - nosniff
72
+ Content-Length:
73
+ - '16'
74
+ Connection:
75
+ - keep-alive
76
+ body:
77
+ encoding: UTF-8
78
+ string: '{"status": "ok"}'
79
+ http_version:
41
80
  recorded_at: Tue, 26 Jan 2016 20:04:29 GMT
42
81
  - request:
43
82
  method: post
@@ -76,7 +115,7 @@ http_interactions:
76
115
  body:
77
116
  encoding: UTF-8
78
117
  string: '{"status": "ok"}'
79
- http_version:
118
+ http_version:
80
119
  recorded_at: Tue, 26 Jan 2016 20:04:29 GMT
81
120
  - request:
82
121
  method: post
@@ -115,7 +154,7 @@ http_interactions:
115
154
  body:
116
155
  encoding: UTF-8
117
156
  string: '{"status": "ok"}'
118
- http_version:
157
+ http_version:
119
158
  recorded_at: Tue, 26 Jan 2016 20:04:29 GMT
120
159
  - request:
121
160
  method: post
@@ -154,7 +193,7 @@ http_interactions:
154
193
  body:
155
194
  encoding: UTF-8
156
195
  string: '{"status": "ok"}'
157
- http_version:
196
+ http_version:
158
197
  recorded_at: Tue, 26 Jan 2016 20:04:29 GMT
159
198
  - request:
160
199
  method: post
@@ -198,7 +237,7 @@ http_interactions:
198
237
  string: '{"status":"ok","event":{"id":381236660345629768,"title":"Chef completed
199
238
  in 5 seconds on chef.handler.datadog.test-hostname ","text":"Chef updated
200
239
  0 resources out of 0 resources total.","date_happened":1453838669,"handle":null,"priority":"low","related_event_id":null,"tags":["env:testing"],"url":"https://app.datadoghq.com/event/event?id=381236660345629768"}}'
201
- http_version:
240
+ http_version:
202
241
  recorded_at: Tue, 26 Jan 2016 20:04:29 GMT
203
242
  - request:
204
243
  method: put
@@ -245,6 +284,6 @@ http_interactions:
245
284
  body:
246
285
  encoding: UTF-8
247
286
  string: '{"host": "chef.handler.datadog.test-hostname", "tags": ["env:testing"]}'
248
- http_version:
287
+ http_version:
249
288
  recorded_at: Tue, 26 Jan 2016 20:04:29 GMT
250
289
  recorded_with: VCR 3.0.1