checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
---
2
2
SHA1:
3
- metadata.gz: bfa7f8b751a05fb855f1b09da6903620025d56cb
4
- data.tar.gz: 6500d5cc5e0afa9ba17d9fafc629efa095214db4
3
+ metadata.gz: f53abe032d06ebd5bb1f7e3de65c857876deb2ee
4
+ data.tar.gz: 5e502f110bc4e81099f5ce7916db894a4326460a
5
5
SHA512:
6
- metadata.gz: 88f680b791fe6aa290e11fd23512ef5e2808728d26989cadb4c6de8131fbffe4e5f552e78ecc1cdb6b2476a44c43762c5e517fb8b4e112c9bb0622bcd1a1d0a1
7
- data.tar.gz: 753b906d6d578f68020a4d83deb8e7c9d21c6f05e5f2766eedf185b8739a8480744e7be35f1bbaf364f4caf3e2b133b0382915b1626414565166fb6ff3a9632f
6
+ metadata.gz: 52273db6b4f606ddd847992afd93900e67d373e3a40ca1bedf45e4ae9ebff96e42e23f4ab5e1e8781f31029e8ec1af4c93812aeb41f9d1143cf7e618c6e3c481
7
+ data.tar.gz: '099c08f29fd50c904cfebc3724df3a92f57581fb10f1bdf5584d6e687062e202b0f7a4e5d695bf55f7c7e6e04bee39ed63b4ad0aeb2a45f9068dc492cde1a5b9'
data/bin/prometheus-config-builder CHANGED
@@ -91,9 +91,9 @@ loop do
91
91
starting = Time.now
92
92
begin
93
93
something_changed = builder.write_out()
94
- config_has_errors.set(0)
94
+ config_has_errors.observe(0)
95
95
rescue Exception => e
96
- config_has_errors.set(1)
96
+ config_has_errors.observe(1)
97
97
log.warn("Error while building config: #{e}")
98
98
puts e.backtrace
99
99
error_count.increment
data/prometheus-config-builder.gemspec CHANGED
@@ -3,7 +3,7 @@
3
3
4
4
Gem::Specification.new do |s|
5
5
s.name = 'prometheus-config-builder'
6
- s.version = '0.0.19'
6
+ s.version = '0.0.20'
7
7
s.date = Time.now
8
8
9
9
s.summary = %q{Template based config generation}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
--- !ruby/object:Gem::Specification
2
2
name: prometheus-config-builder
3
3
version: !ruby/object:Gem::Version
4
- version: 0.0.19
4
+ version: 0.0.20
5
5
platform: ruby
6
6
authors:
7
7
- Juho Mäkinen juho.makinen@gmail.com