kurchatov 0.2.8 → 0.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/Gemfile.lock +2 -2
- data/debian/changelog +6 -0
- data/lib/kurchatov/application.rb +6 -0
- data/lib/kurchatov/mixin/event.rb +1 -0
- data/lib/kurchatov/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 247abfa52a37d8051801052016ef346544c09f10
|
|
4
|
+
data.tar.gz: 9f97e862d7883ecdc041828ea1ea4616b07e1490
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8cd099c85c04b12005ac992c4c899da6fcffebb27d4d745a6f7a802eb6239097361e6076c36b2d855c42bdeab21fe3414eab284079327facaea98fb8e96f2f6e
|
|
7
|
+
data.tar.gz: b4e3961ba06d675e6216107aee355bf4133face543d7c73ec76e630b107d0b600eda51a7a4bedf337144e3cc429f62be3d79bbdbde4fce6c4460f407f39ca6db
|
data/app/Gemfile.lock
CHANGED
|
@@ -11,7 +11,7 @@ GEM
|
|
|
11
11
|
file-tail (1.0.12)
|
|
12
12
|
tins (~> 0.5)
|
|
13
13
|
ipaddress (0.8.0)
|
|
14
|
-
kurchatov (0.2.
|
|
14
|
+
kurchatov (0.2.8)
|
|
15
15
|
beefcake (>= 0.3.5)
|
|
16
16
|
ohai (~> 6.20.0)
|
|
17
17
|
mixlib-cli (1.5.0)
|
|
@@ -44,7 +44,7 @@ DEPENDENCIES
|
|
|
44
44
|
addressable
|
|
45
45
|
ffi-rzmq
|
|
46
46
|
file-tail
|
|
47
|
-
kurchatov (= 0.2.
|
|
47
|
+
kurchatov (= 0.2.8)
|
|
48
48
|
net-ntp
|
|
49
49
|
net-ping
|
|
50
50
|
parallel
|
data/debian/changelog
CHANGED
|
@@ -76,6 +76,12 @@ module Kurchatov
|
|
|
76
76
|
:description => 'Set tags for events',
|
|
77
77
|
:proc => lambda { |l| l.split(',') }
|
|
78
78
|
|
|
79
|
+
option :tsdb_tags,
|
|
80
|
+
:short => '-T key1=value,key2=value',
|
|
81
|
+
:long => '--tsdb-tags key1=value,key2=value',
|
|
82
|
+
:description => 'Set opentsdb tags for events',
|
|
83
|
+
:proc => lambda { |l| l.split(',').inject({}) {|mem,x| k,v=x.split('='); mem[k] = v; mem} }
|
|
84
|
+
|
|
79
85
|
option :riemann_responder,
|
|
80
86
|
:short => '-H HOST1,HOST2:55655',
|
|
81
87
|
:long => '--hosts HOST1,HOST2:55655',
|
|
@@ -109,6 +109,7 @@ module Kurchatov
|
|
|
109
109
|
hash[:tsdb_tags] = hash[:opentsdb_tags] if hash[:opentsdb_tags]
|
|
110
110
|
hash[:tsdb_service] = hash[:opentsdb_service] if hash[:opentsdb_service]
|
|
111
111
|
hash[:tsdb_tags] ||= {}
|
|
112
|
+
hash[:tsdb_tags].merge!(Kurchatov::Config[:tsdb_tags])
|
|
112
113
|
hash[:tsdb_tags] = hash[:tsdb_tags].map {|k,v| "#{k}=#{v}" }
|
|
113
114
|
hash[:tsdb_tags] << "host=#{Kurchatov::Config[:host]}"
|
|
114
115
|
hash[:tsdb_tags].uniq!
|
data/lib/kurchatov/version.rb
CHANGED