chef-handler-datadog 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +8 -8
  2. data/.gitignore +3 -0
  3. data/.rubocop.yml +4 -0
  4. data/.travis.yml +2 -1
  5. data/Appraisals +2 -1
  6. data/CHANGELOG.md +13 -1
  7. data/CONTRIBUTING.md +23 -0
  8. data/Gemfile +4 -0
  9. data/Guardfile +37 -0
  10. data/README.md +12 -20
  11. data/Rakefile +1 -1
  12. data/chef-handler-datadog.gemspec +4 -4
  13. data/gemfiles/chef_10.26.0.gemfile +4 -0
  14. data/gemfiles/chef_10.32.2.gemfile +4 -0
  15. data/gemfiles/chef_11.10.4.gemfile +4 -0
  16. data/gemfiles/{chef_11.12.2.gemfile → chef_11.12.8.gemfile} +5 -1
  17. data/gemfiles/chef_11.14.2.gemfile +16 -0
  18. data/gemfiles/chef_11.8.2.gemfile +4 -0
  19. data/lib/chef/handler/datadog.rb +47 -12
  20. data/lib/chef_handler_datadog.rb +1 -1
  21. data/spec/datadog_spec.rb +58 -8
  22. data/spec/spec_helper.rb +0 -1
  23. data/spec/support/cassettes/Chef_Handler_Datadog/failed_Chef_run/sets_alert_handles_when_specified.yml +69 -57
  24. data/spec/support/cassettes/Chef_Handler_Datadog/failed_Chef_run/sets_event_title_correctly.yml +35 -29
  25. data/spec/support/cassettes/Chef_Handler_Datadog/failed_Chef_run/sets_priority_correctly.yml +35 -29
  26. data/spec/support/cassettes/Chef_Handler_Datadog/handles_no_application_key/fails_when_no_application_key_is_provided.yml +20 -20
  27. data/spec/support/cassettes/Chef_Handler_Datadog/handles_tags_correctly/sets_the_role_and_env_and_tags.yml +23 -23
  28. data/spec/support/cassettes/Chef_Handler_Datadog/hostname/uses_the_node_name_when_no_config_specified.yml +23 -23
  29. data/spec/support/cassettes/Chef_Handler_Datadog/hostname/uses_the_specified_hostname_when_provided.yml +23 -23
  30. 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 +23 -23
  31. data/spec/support/cassettes/Chef_Handler_Datadog/reports_correct_hostname_on_an_ec2_node/uses_the_instance_id_when_config_is_specified.yml +23 -23
  32. data/spec/support/cassettes/Chef_Handler_Datadog/reports_correct_hostname_on_an_ec2_node/uses_the_instance_id_when_no_config_specified.yml +23 -23
  33. data/spec/support/cassettes/Chef_Handler_Datadog/reports_metrics_event_and_sets_tags/emits_events/posts_an_event.yml +23 -23
  34. data/spec/support/cassettes/Chef_Handler_Datadog/reports_metrics_event_and_sets_tags/emits_events/sets_priority_correctly.yml +23 -23
  35. data/spec/support/cassettes/Chef_Handler_Datadog/reports_metrics_event_and_sets_tags/emits_metrics/reports_metrics.yml +23 -23
  36. data/spec/support/cassettes/Chef_Handler_Datadog/reports_metrics_event_and_sets_tags/sets_tags/puts_the_tags_for_the_current_node.yml +23 -23
  37. data/spec/support/cassettes/Chef_Handler_Datadog/resources/failure_during_compile_phase/does_not_emit_metrics.yml +81 -0
  38. data/spec/support/cassettes/Chef_Handler_Datadog/resources/failure_during_compile_phase/posts_an_event.yml +81 -0
  39. data/spec/support/cassettes/Chef_Handler_Datadog/updated_resources/posts_an_event.yml +28 -28
  40. metadata +18 -16
  41. data/gemfiles/chef_10.26.0.gemfile.lock +0 -140
  42. data/gemfiles/chef_10.32.2.gemfile.lock +0 -140
  43. data/gemfiles/chef_11.10.4.gemfile.lock +0 -143
  44. data/gemfiles/chef_11.12.2.gemfile.lock +0 -139
  45. data/gemfiles/chef_11.8.2.gemfile.lock +0 -143
@@ -0,0 +1,81 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://app.datadoghq.com/api/v1/events?api_key=<API_KEY>
6
+ body:
7
+ encoding: UTF-8
8
+ string: ! '{"msg_text":"Chef was unable to complete a run, an error during compilation
9
+ may have occured.","date_happened":1408567903,"msg_title":"Chef failed during
10
+ compile phase on chef.handler.datadog.test-resources ","priority":"normal","parent":null,"tags":[],"aggregation_key":"chef.handler.datadog.test-resources","alert_type":"error","event_type":"config_management.run","source_type_name":"chef","title":"Chef
11
+ failed during compile phase on chef.handler.datadog.test-resources ","text":"Chef
12
+ was unable to complete a run, an error during compilation may have occured.","host":"chef.handler.datadog.test-resources","device":null}'
13
+ headers:
14
+ Accept:
15
+ - ! '*/*'
16
+ User-Agent:
17
+ - Ruby
18
+ Content-Type:
19
+ - application/json
20
+ response:
21
+ status:
22
+ code: 202
23
+ message: Accepted
24
+ headers:
25
+ Content-Type:
26
+ - text/json; charset=UTF-8
27
+ Date:
28
+ - Wed, 20 Aug 2014 20:51:44 GMT
29
+ Server:
30
+ - dogdispatcher/5.1.1
31
+ Content-Length:
32
+ - '415'
33
+ Connection:
34
+ - keep-alive
35
+ body:
36
+ encoding: US-ASCII
37
+ string: ! '{"status": "ok", "event": {"priority": "normal", "date_happened":
38
+ 1408567903, "handle": null, "title": "Chef failed during compile phase on
39
+ chef.handler.datadog.test-resources ", "url": "https://app.datadoghq.com/event/jump_to?event_id=2421036798907738052",
40
+ "text": "Chef was unable to complete a run, an error during compilation may
41
+ have occured.", "tags": [], "related_event_id": null, "id": 2421036798907738052}}'
42
+ http_version:
43
+ recorded_at: Wed, 20 Aug 2014 20:51:44 GMT
44
+ - request:
45
+ method: put
46
+ uri: https://app.datadoghq.com/api/v1/tags/hosts/chef.handler.datadog.test-resources?api_key=<API_KEY>&application_key=<APPLICATION_KEY>&source=chef
47
+ body:
48
+ encoding: UTF-8
49
+ string: ! '{"tags":["env:resources"]}'
50
+ headers:
51
+ Accept:
52
+ - ! '*/*'
53
+ User-Agent:
54
+ - Ruby
55
+ Content-Type:
56
+ - application/json
57
+ response:
58
+ status:
59
+ code: 201
60
+ message: Created
61
+ headers:
62
+ Cache-Control:
63
+ - no-cache
64
+ Content-Type:
65
+ - application/json
66
+ Date:
67
+ - Wed, 20 Aug 2014 20:51:45 GMT
68
+ Pragma:
69
+ - no-cache
70
+ Server:
71
+ - gunicorn/19.1.0
72
+ Content-Length:
73
+ - '74'
74
+ Connection:
75
+ - keep-alive
76
+ body:
77
+ encoding: US-ASCII
78
+ string: ! '{"host": "chef.handler.datadog.test-resources", "tags": ["env:resources"]}'
79
+ http_version:
80
+ recorded_at: Wed, 20 Aug 2014 20:51:45 GMT
81
+ recorded_with: VCR 2.9.2
@@ -0,0 +1,81 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: https://app.datadoghq.com/api/v1/events?api_key=<API_KEY>
6
+ body:
7
+ encoding: UTF-8
8
+ string: ! '{"msg_text":"Chef was unable to complete a run, an error during compilation
9
+ may have occured.","date_happened":1408567902,"msg_title":"Chef failed during
10
+ compile phase on chef.handler.datadog.test-resources ","priority":"normal","parent":null,"tags":[],"aggregation_key":"chef.handler.datadog.test-resources","alert_type":"error","event_type":"config_management.run","source_type_name":"chef","title":"Chef
11
+ failed during compile phase on chef.handler.datadog.test-resources ","text":"Chef
12
+ was unable to complete a run, an error during compilation may have occured.","host":"chef.handler.datadog.test-resources","device":null}'
13
+ headers:
14
+ Accept:
15
+ - ! '*/*'
16
+ User-Agent:
17
+ - Ruby
18
+ Content-Type:
19
+ - application/json
20
+ response:
21
+ status:
22
+ code: 202
23
+ message: Accepted
24
+ headers:
25
+ Content-Type:
26
+ - text/json; charset=UTF-8
27
+ Date:
28
+ - Wed, 20 Aug 2014 20:51:43 GMT
29
+ Server:
30
+ - dogdispatcher/5.1.1
31
+ Content-Length:
32
+ - '415'
33
+ Connection:
34
+ - keep-alive
35
+ body:
36
+ encoding: US-ASCII
37
+ string: ! '{"status": "ok", "event": {"priority": "normal", "date_happened":
38
+ 1408567902, "handle": null, "title": "Chef failed during compile phase on
39
+ chef.handler.datadog.test-resources ", "url": "https://app.datadoghq.com/event/jump_to?event_id=2421036780452550465",
40
+ "text": "Chef was unable to complete a run, an error during compilation may
41
+ have occured.", "tags": [], "related_event_id": null, "id": 2421036780452550465}}'
42
+ http_version:
43
+ recorded_at: Wed, 20 Aug 2014 20:51:43 GMT
44
+ - request:
45
+ method: put
46
+ uri: https://app.datadoghq.com/api/v1/tags/hosts/chef.handler.datadog.test-resources?api_key=<API_KEY>&application_key=<APPLICATION_KEY>&source=chef
47
+ body:
48
+ encoding: UTF-8
49
+ string: ! '{"tags":["env:resources"]}'
50
+ headers:
51
+ Accept:
52
+ - ! '*/*'
53
+ User-Agent:
54
+ - Ruby
55
+ Content-Type:
56
+ - application/json
57
+ response:
58
+ status:
59
+ code: 201
60
+ message: Created
61
+ headers:
62
+ Cache-Control:
63
+ - no-cache
64
+ Content-Type:
65
+ - application/json
66
+ Date:
67
+ - Wed, 20 Aug 2014 20:51:43 GMT
68
+ Pragma:
69
+ - no-cache
70
+ Server:
71
+ - gunicorn/19.1.0
72
+ Content-Length:
73
+ - '74'
74
+ Connection:
75
+ - keep-alive
76
+ body:
77
+ encoding: US-ASCII
78
+ string: ! '{"host": "chef.handler.datadog.test-resources", "tags": ["env:resources"]}'
79
+ http_version:
80
+ recorded_at: Wed, 20 Aug 2014 20:51:43 GMT
81
+ recorded_with: VCR 2.9.2
@@ -5,7 +5,7 @@ http_interactions:
5
5
  uri: https://app.datadoghq.com/api/v1/series?api_key=<API_KEY>
6
6
  body:
7
7
  encoding: UTF-8
8
- string: ! '{"series":[{"metric":"chef.resources.total","points":[[1398157256,2.0]],"type":"gauge","host":"chef.handler.datadog.test-resources","device":null}]}'
8
+ string: ! '{"series":[{"metric":"chef.resources.total","points":[[1408567933,2.0]],"type":"gauge","host":"chef.handler.datadog.test-resources","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
- - Tue, 22 Apr 2014 09:00:49 GMT
24
+ - Wed, 20 Aug 2014 20:52:05 GMT
25
25
  Server:
26
- - dogdispatcher/4.12.1
26
+ - dogdispatcher/5.1.1
27
27
  Content-Length:
28
28
  - '15'
29
29
  Connection:
@@ -32,13 +32,13 @@ http_interactions:
32
32
  encoding: US-ASCII
33
33
  string: ! '{"status":"ok"}'
34
34
  http_version:
35
- recorded_at: Tue, 22 Apr 2014 09:00:56 GMT
35
+ recorded_at: Wed, 20 Aug 2014 20:52:13 GMT
36
36
  - request:
37
37
  method: post
38
38
  uri: https://app.datadoghq.com/api/v1/series?api_key=<API_KEY>
39
39
  body:
40
40
  encoding: UTF-8
41
- string: ! '{"series":[{"metric":"chef.resources.updated","points":[[1398157256,1.0]],"type":"gauge","host":"chef.handler.datadog.test-resources","device":null}]}'
41
+ string: ! '{"series":[{"metric":"chef.resources.updated","points":[[1408567933,1.0]],"type":"gauge","host":"chef.handler.datadog.test-resources","device":null}]}'
42
42
  headers:
43
43
  Accept:
44
44
  - ! '*/*'
@@ -54,9 +54,9 @@ http_interactions:
54
54
  Content-Type:
55
55
  - text/json; charset=UTF-8
56
56
  Date:
57
- - Tue, 22 Apr 2014 09:00:50 GMT
57
+ - Wed, 20 Aug 2014 20:52:05 GMT
58
58
  Server:
59
- - dogdispatcher/4.12.1
59
+ - dogdispatcher/5.1.1
60
60
  Content-Length:
61
61
  - '15'
62
62
  Connection:
@@ -65,13 +65,13 @@ http_interactions:
65
65
  encoding: US-ASCII
66
66
  string: ! '{"status":"ok"}'
67
67
  http_version:
68
- recorded_at: Tue, 22 Apr 2014 09:00:56 GMT
68
+ recorded_at: Wed, 20 Aug 2014 20:52:13 GMT
69
69
  - request:
70
70
  method: post
71
71
  uri: https://app.datadoghq.com/api/v1/series?api_key=<API_KEY>
72
72
  body:
73
73
  encoding: UTF-8
74
- string: ! '{"series":[{"metric":"chef.resources.elapsed_time","points":[[1398157256,8.0]],"type":"gauge","host":"chef.handler.datadog.test-resources","device":null}]}'
74
+ string: ! '{"series":[{"metric":"chef.resources.elapsed_time","points":[[1408567933,8.0]],"type":"gauge","host":"chef.handler.datadog.test-resources","device":null}]}'
75
75
  headers:
76
76
  Accept:
77
77
  - ! '*/*'
@@ -87,9 +87,9 @@ http_interactions:
87
87
  Content-Type:
88
88
  - text/json; charset=UTF-8
89
89
  Date:
90
- - Tue, 22 Apr 2014 09:00:51 GMT
90
+ - Wed, 20 Aug 2014 20:52:06 GMT
91
91
  Server:
92
- - dogdispatcher/4.12.1
92
+ - dogdispatcher/5.1.1
93
93
  Content-Length:
94
94
  - '15'
95
95
  Connection:
@@ -98,18 +98,18 @@ http_interactions:
98
98
  encoding: US-ASCII
99
99
  string: ! '{"status":"ok"}'
100
100
  http_version:
101
- recorded_at: Tue, 22 Apr 2014 09:00:56 GMT
101
+ recorded_at: Wed, 20 Aug 2014 20:52:13 GMT
102
102
  - request:
103
103
  method: post
104
104
  uri: https://app.datadoghq.com/api/v1/events?api_key=<API_KEY>
105
105
  body:
106
106
  encoding: UTF-8
107
- string: ! '{"msg_text":"Chef updated 1 resources out of 2 resources total.\n@@@\n-
108
- [whiskers] (dynamically defined)\n\n@@@\n","date_happened":1398157256,"msg_title":"Chef
107
+ string: ! '{"msg_text":"Chef updated 1 resources out of 2 resources total.\n$$$\n-
108
+ [whiskers] (dynamically defined)\n\n$$$\n","date_happened":1408567933,"msg_title":"Chef
109
109
  completed in 8 seconds on chef.handler.datadog.test-resources ","priority":"low","parent":null,"tags":[],"aggregation_key":"chef.handler.datadog.test-resources","alert_type":"success","event_type":"config_management.run","source_type_name":"chef","title":"Chef
110
110
  completed in 8 seconds on chef.handler.datadog.test-resources ","text":"Chef
111
- updated 1 resources out of 2 resources total.\n@@@\n- [whiskers] (dynamically
112
- defined)\n\n@@@\n","host":"chef.handler.datadog.test-resources","device":null}'
111
+ updated 1 resources out of 2 resources total.\n$$$\n- [whiskers] (dynamically
112
+ defined)\n\n$$$\n","host":"chef.handler.datadog.test-resources","device":null}'
113
113
  headers:
114
114
  Accept:
115
115
  - ! '*/*'
@@ -125,23 +125,23 @@ http_interactions:
125
125
  Content-Type:
126
126
  - text/json; charset=UTF-8
127
127
  Date:
128
- - Tue, 22 Apr 2014 09:00:53 GMT
128
+ - Wed, 20 Aug 2014 20:52:07 GMT
129
129
  Server:
130
- - dogdispatcher/4.12.1
130
+ - dogdispatcher/5.1.1
131
131
  Content-Length:
132
132
  - '427'
133
133
  Connection:
134
134
  - keep-alive
135
135
  body:
136
136
  encoding: US-ASCII
137
- string: ! '{"status": "ok", "event": {"priority": "low", "date_happened": 1398157256,
137
+ string: ! '{"status": "ok", "event": {"priority": "low", "date_happened": 1408567933,
138
138
  "handle": null, "title": "Chef completed in 8 seconds on chef.handler.datadog.test-resources
139
- ", "url": "https://app.datadoghq.com/event/jump_to?event_id=2246375055376905800",
140
- "text": "Chef updated 1 resources out of 2 resources total.\n@@@\n- [whiskers]
141
- (dynamically defined)\n\n@@@\n", "tags": [], "related_event_id": null, "id":
142
- 2246375055376905800}}'
139
+ ", "url": "https://app.datadoghq.com/event/jump_to?event_id=2421037179633100568",
140
+ "text": "Chef updated 1 resources out of 2 resources total.\n$$$\n- [whiskers]
141
+ (dynamically defined)\n\n$$$\n", "tags": [], "related_event_id": null, "id":
142
+ 2421037179633100568}}'
143
143
  http_version:
144
- recorded_at: Tue, 22 Apr 2014 09:00:56 GMT
144
+ recorded_at: Wed, 20 Aug 2014 20:52:13 GMT
145
145
  - request:
146
146
  method: put
147
147
  uri: https://app.datadoghq.com/api/v1/tags/hosts/chef.handler.datadog.test-resources?api_key=<API_KEY>&application_key=<APPLICATION_KEY>&source=chef
@@ -165,11 +165,11 @@ http_interactions:
165
165
  Content-Type:
166
166
  - application/json
167
167
  Date:
168
- - Tue, 22 Apr 2014 09:00:54 GMT
168
+ - Wed, 20 Aug 2014 20:52:07 GMT
169
169
  Pragma:
170
170
  - no-cache
171
171
  Server:
172
- - gunicorn/0.17.4
172
+ - gunicorn/19.1.0
173
173
  Content-Length:
174
174
  - '74'
175
175
  Connection:
@@ -178,5 +178,5 @@ http_interactions:
178
178
  encoding: US-ASCII
179
179
  string: ! '{"host": "chef.handler.datadog.test-resources", "tags": ["env:resources"]}'
180
180
  http_version:
181
- recorded_at: Tue, 22 Apr 2014 09:00:56 GMT
182
- recorded_with: VCR 2.9.0
181
+ recorded_at: Wed, 20 Aug 2014 20:52:13 GMT
182
+ recorded_with: VCR 2.9.2
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-handler-datadog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Fiedler
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-05-08 00:00:00.000000000 Z
13
+ date: 2014-08-21 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: dogapi
@@ -106,30 +106,30 @@ dependencies:
106
106
  name: rspec
107
107
  requirement: !ruby/object:Gem::Requirement
108
108
  requirements:
109
- - - ! '>='
109
+ - - ~>
110
110
  - !ruby/object:Gem::Version
111
- version: '0'
111
+ version: 3.0.0
112
112
  type: :development
113
113
  prerelease: false
114
114
  version_requirements: !ruby/object:Gem::Requirement
115
115
  requirements:
116
- - - ! '>='
116
+ - - ~>
117
117
  - !ruby/object:Gem::Version
118
- version: '0'
118
+ version: 3.0.0
119
119
  - !ruby/object:Gem::Dependency
120
120
  name: rubocop
121
121
  requirement: !ruby/object:Gem::Requirement
122
122
  requirements:
123
123
  - - ~>
124
124
  - !ruby/object:Gem::Version
125
- version: 0.21.0
125
+ version: 0.25.0
126
126
  type: :development
127
127
  prerelease: false
128
128
  version_requirements: !ruby/object:Gem::Requirement
129
129
  requirements:
130
130
  - - ~>
131
131
  - !ruby/object:Gem::Version
132
- version: 0.21.0
132
+ version: 0.25.0
133
133
  - !ruby/object:Gem::Dependency
134
134
  name: simplecov
135
135
  requirement: !ruby/object:Gem::Requirement
@@ -173,7 +173,7 @@ dependencies:
173
173
  - !ruby/object:Gem::Version
174
174
  version: '0'
175
175
  description: This Handler will report the events and metrics for a chef-client run
176
- to DataDog.
176
+ to Datadog.
177
177
  email:
178
178
  - package@datadoghq.com
179
179
  executables: []
@@ -188,21 +188,19 @@ files:
188
188
  - .travis.yml
189
189
  - Appraisals
190
190
  - CHANGELOG.md
191
+ - CONTRIBUTING.md
191
192
  - Gemfile
193
+ - Guardfile
192
194
  - LICENSE.txt
193
195
  - README.md
194
196
  - Rakefile
195
197
  - chef-handler-datadog.gemspec
196
198
  - gemfiles/chef_10.26.0.gemfile
197
- - gemfiles/chef_10.26.0.gemfile.lock
198
199
  - gemfiles/chef_10.32.2.gemfile
199
- - gemfiles/chef_10.32.2.gemfile.lock
200
200
  - gemfiles/chef_11.10.4.gemfile
201
- - gemfiles/chef_11.10.4.gemfile.lock
202
- - gemfiles/chef_11.12.2.gemfile
203
- - gemfiles/chef_11.12.2.gemfile.lock
201
+ - gemfiles/chef_11.12.8.gemfile
202
+ - gemfiles/chef_11.14.2.gemfile
204
203
  - gemfiles/chef_11.8.2.gemfile
205
- - gemfiles/chef_11.8.2.gemfile.lock
206
204
  - lib/chef/handler/datadog.rb
207
205
  - lib/chef_handler_datadog.rb
208
206
  - spec/datadog_spec.rb
@@ -221,6 +219,8 @@ files:
221
219
  - spec/support/cassettes/Chef_Handler_Datadog/reports_metrics_event_and_sets_tags/emits_events/sets_priority_correctly.yml
222
220
  - spec/support/cassettes/Chef_Handler_Datadog/reports_metrics_event_and_sets_tags/emits_metrics/reports_metrics.yml
223
221
  - spec/support/cassettes/Chef_Handler_Datadog/reports_metrics_event_and_sets_tags/sets_tags/puts_the_tags_for_the_current_node.yml
222
+ - spec/support/cassettes/Chef_Handler_Datadog/resources/failure_during_compile_phase/does_not_emit_metrics.yml
223
+ - spec/support/cassettes/Chef_Handler_Datadog/resources/failure_during_compile_phase/posts_an_event.yml
224
224
  - spec/support/cassettes/Chef_Handler_Datadog/updated_resources/posts_an_event.yml
225
225
  homepage: http://www.datadoghq.com/
226
226
  licenses:
@@ -245,7 +245,7 @@ rubyforge_project:
245
245
  rubygems_version: 2.2.2
246
246
  signing_key:
247
247
  specification_version: 4
248
- summary: Chef Handler for DataDog events and metrics
248
+ summary: Chef Handler reports events and metrics to Datadog
249
249
  test_files:
250
250
  - spec/datadog_spec.rb
251
251
  - spec/spec_helper.rb
@@ -263,4 +263,6 @@ test_files:
263
263
  - spec/support/cassettes/Chef_Handler_Datadog/reports_metrics_event_and_sets_tags/emits_events/sets_priority_correctly.yml
264
264
  - spec/support/cassettes/Chef_Handler_Datadog/reports_metrics_event_and_sets_tags/emits_metrics/reports_metrics.yml
265
265
  - spec/support/cassettes/Chef_Handler_Datadog/reports_metrics_event_and_sets_tags/sets_tags/puts_the_tags_for_the_current_node.yml
266
+ - spec/support/cassettes/Chef_Handler_Datadog/resources/failure_during_compile_phase/does_not_emit_metrics.yml
267
+ - spec/support/cassettes/Chef_Handler_Datadog/resources/failure_during_compile_phase/posts_an_event.yml
266
268
  - spec/support/cassettes/Chef_Handler_Datadog/updated_resources/posts_an_event.yml
@@ -1,140 +0,0 @@
1
- PATH
2
- remote: ../
3
- specs:
4
- chef-handler-datadog (0.4.0.alpha)
5
- dogapi (>= 1.6)
6
-
7
- GEM
8
- remote: http://rubygems.org/
9
- specs:
10
- addressable (2.3.6)
11
- appraisal (1.0.0)
12
- bundler
13
- rake
14
- thor (>= 0.14.0)
15
- ast (1.1.0)
16
- bunny (0.7.9)
17
- chef (10.26.0)
18
- bunny (>= 0.6.0, < 0.8.0)
19
- erubis
20
- highline (>= 1.6.9)
21
- json (>= 1.4.4, <= 1.7.7)
22
- mixlib-authentication (>= 1.3.0)
23
- mixlib-cli (>= 1.1.0)
24
- mixlib-config (>= 1.1.2)
25
- mixlib-log (>= 1.3.0)
26
- mixlib-shellout
27
- moneta (< 0.7.0)
28
- net-ssh (~> 2.6)
29
- net-ssh-multi (~> 1.1.0)
30
- ohai (>= 0.6.0)
31
- rest-client (>= 1.0.4, < 1.7.0)
32
- treetop (~> 1.4.9)
33
- uuidtools
34
- yajl-ruby (~> 1.1)
35
- coderay (1.1.0)
36
- crack (0.4.1)
37
- safe_yaml (~> 0.9.0)
38
- diff-lcs (1.2.5)
39
- docile (1.1.3)
40
- dogapi (1.9.2)
41
- json (>= 1.5.1)
42
- dotenv (0.10.0)
43
- erubis (2.7.0)
44
- hashr (0.0.22)
45
- highline (1.6.21)
46
- ipaddress (0.8.0)
47
- json (1.7.7)
48
- method_source (0.8.2)
49
- mime-types (1.25.1)
50
- mixlib-authentication (1.3.0)
51
- mixlib-log
52
- mixlib-cli (1.4.0)
53
- mixlib-config (2.1.0)
54
- mixlib-log (1.6.0)
55
- mixlib-shellout (1.4.0)
56
- moneta (0.6.0)
57
- multi_json (1.9.2)
58
- net-ssh (2.8.0)
59
- net-ssh-gateway (1.2.0)
60
- net-ssh (>= 2.6.5)
61
- net-ssh-multi (1.1)
62
- net-ssh (>= 2.1.4)
63
- net-ssh-gateway (>= 0.99.0)
64
- ohai (7.0.2)
65
- ipaddress
66
- mime-types (~> 1.16)
67
- mixlib-cli
68
- mixlib-config (~> 2.0)
69
- mixlib-log
70
- mixlib-shellout (~> 1.2)
71
- systemu (~> 2.5.2)
72
- yajl-ruby
73
- parser (2.1.8)
74
- ast (~> 1.1)
75
- slop (~> 3.4, >= 3.4.5)
76
- polyglot (0.3.4)
77
- powerpack (0.0.9)
78
- pry (0.9.12.6)
79
- coderay (~> 1.0)
80
- method_source (~> 0.8)
81
- slop (~> 3.4)
82
- rainbow (2.0.0)
83
- rake (10.3.1)
84
- rest-client (1.6.7)
85
- mime-types (>= 1.16)
86
- rspec (2.14.1)
87
- rspec-core (~> 2.14.0)
88
- rspec-expectations (~> 2.14.0)
89
- rspec-mocks (~> 2.14.0)
90
- rspec-core (2.14.8)
91
- rspec-expectations (2.14.5)
92
- diff-lcs (>= 1.1.3, < 2.0)
93
- rspec-mocks (2.14.6)
94
- rubocop (0.20.1)
95
- json (>= 1.7.7, < 2)
96
- parser (~> 2.1.7)
97
- powerpack (~> 0.0.6)
98
- rainbow (>= 1.99.1, < 3.0)
99
- ruby-progressbar (~> 1.4)
100
- ruby-progressbar (1.4.2)
101
- safe_yaml (0.9.7)
102
- simplecov (0.8.2)
103
- docile (~> 1.1.0)
104
- multi_json
105
- simplecov-html (~> 0.8.0)
106
- simplecov-html (0.8.0)
107
- slop (3.5.0)
108
- systemu (2.5.2)
109
- thor (0.19.1)
110
- travis-lint (1.8.0)
111
- hashr (~> 0.0.22)
112
- safe_yaml (~> 0.9.0)
113
- treetop (1.4.15)
114
- polyglot
115
- polyglot (>= 0.3.1)
116
- uuidtools (2.1.4)
117
- vcr (2.9.0)
118
- webmock (1.17.4)
119
- addressable (>= 2.2.7)
120
- crack (>= 0.3.2)
121
- yajl-ruby (1.2.0)
122
-
123
- PLATFORMS
124
- ruby
125
-
126
- DEPENDENCIES
127
- appraisal (~> 1.0.0)
128
- bundler
129
- chef (= 10.26.0)
130
- chef-handler-datadog!
131
- dotenv
132
- json (= 1.7.7)
133
- pry
134
- rake
135
- rspec
136
- rubocop (~> 0.20.1)
137
- simplecov
138
- travis-lint
139
- vcr
140
- webmock