chef-handler-graphite 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +4 -0
- data/chef-handler-graphite.gemspec +1 -1
- data/lib/chef-handler-graphite.rb +2 -2
- metadata +29 -21
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: c2fe7ab3de98b12f2a0aa665019ebc5099c9b9c1
|
4
|
+
data.tar.gz: 7226b6268b4e3d0f9ab509b4198e5d9f33f06227
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 185125525027ac144bf4b8ccb8920d1d389fcfed6cb2f5ac3928da62b6518ee1dca7584494e21a2b9bdd14bc40fccfbb4711d14aca0ad871df66d6d206547160
|
7
|
+
data.tar.gz: 66bd841900f099f5ffe81a5e55f0750cc9269ec34c4e388498907432363123c9481b4cebec7cfb71b74b1f76e3fa3a5fb58a07f0869f4bc70462fc2f468d4aa6
|
data/README.md
CHANGED
@@ -3,3 +3,7 @@
|
|
3
3
|
Please see the [wiki](https://github.com/imeyer/chef-handler-graphite/wiki) for instructions on how to use.
|
4
4
|
|
5
5
|
Patches welcome, just send me a pull request!
|
6
|
+
|
7
|
+
# Cookbook?
|
8
|
+
|
9
|
+
[Peter Donald](https://github.com/realityforge) was awesome enough to turn this into a cookbook if you want a different approach. [Check it out!](https://github.com/realityforge/chef-graphite_handler)
|
@@ -45,8 +45,8 @@ class GraphiteReporting < Chef::Handler
|
|
45
45
|
g.port = @graphite_port
|
46
46
|
|
47
47
|
metrics = Hash.new
|
48
|
-
metrics[:updated_resources] = run_status.updated_resources.length
|
49
|
-
metrics[:all_resources] = run_status.all_resources.length
|
48
|
+
metrics[:updated_resources] = run_status.updated_resources.length if run_status.updated_resources
|
49
|
+
metrics[:all_resources] = run_status.all_resources.length if run_status.all_resources
|
50
50
|
metrics[:elapsed_time] = run_status.elapsed_time
|
51
51
|
|
52
52
|
if run_status.success?
|
metadata
CHANGED
@@ -1,49 +1,57 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chef-handler-graphite
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
5
|
-
prerelease:
|
4
|
+
version: 1.2.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Ian Meyer
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2014-08-21 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: simple-graphite
|
16
|
-
requirement:
|
17
|
-
none: false
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '0'
|
22
20
|
type: :development
|
23
21
|
prerelease: false
|
24
|
-
version_requirements:
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
25
27
|
- !ruby/object:Gem::Dependency
|
26
28
|
name: simple-graphite
|
27
|
-
requirement:
|
28
|
-
none: false
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
29
30
|
requirements:
|
30
|
-
- -
|
31
|
+
- - '>='
|
31
32
|
- !ruby/object:Gem::Version
|
32
33
|
version: '0'
|
33
34
|
type: :runtime
|
34
35
|
prerelease: false
|
35
|
-
version_requirements:
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
36
41
|
- !ruby/object:Gem::Dependency
|
37
42
|
name: chef
|
38
|
-
requirement:
|
39
|
-
none: false
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
40
44
|
requirements:
|
41
|
-
- -
|
45
|
+
- - '>='
|
42
46
|
- !ruby/object:Gem::Version
|
43
47
|
version: '0'
|
44
48
|
type: :runtime
|
45
49
|
prerelease: false
|
46
|
-
version_requirements:
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
47
55
|
description: Push reporting stats to Graphite
|
48
56
|
email:
|
49
57
|
- ianmmeyer@gmail.com
|
@@ -58,26 +66,26 @@ files:
|
|
58
66
|
- lib/chef-handler-graphite.rb
|
59
67
|
homepage: ''
|
60
68
|
licenses: []
|
69
|
+
metadata: {}
|
61
70
|
post_install_message:
|
62
71
|
rdoc_options: []
|
63
72
|
require_paths:
|
64
73
|
- lib
|
65
74
|
required_ruby_version: !ruby/object:Gem::Requirement
|
66
|
-
none: false
|
67
75
|
requirements:
|
68
|
-
- -
|
76
|
+
- - '>='
|
69
77
|
- !ruby/object:Gem::Version
|
70
78
|
version: '0'
|
71
79
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
72
|
-
none: false
|
73
80
|
requirements:
|
74
|
-
- -
|
81
|
+
- - '>='
|
75
82
|
- !ruby/object:Gem::Version
|
76
83
|
version: '0'
|
77
84
|
requirements: []
|
78
85
|
rubyforge_project: chef-handler-graphite
|
79
|
-
rubygems_version:
|
86
|
+
rubygems_version: 2.0.14
|
80
87
|
signing_key:
|
81
|
-
specification_version:
|
88
|
+
specification_version: 4
|
82
89
|
summary: Push reporting stats to Graphite
|
83
90
|
test_files: []
|
91
|
+
has_rdoc:
|