prometheus_exporter 0.4.8 → 0.4.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d78846839afaebda3169dbf21569a55a692884872508f751544d791f75f3c993
4
- data.tar.gz: aa70c3578a9fa9b7a15bcc032981d21d49344e0c313c874346ee96e962894c9f
3
+ metadata.gz: 71b406ba7c421d68e71912c260c0f520e31ee1f77eaf1fa1d5c1c2787f2de7d4
4
+ data.tar.gz: abdb9ec293106feb25d997887558229fe293f6530fb7799d03b94c6183f91a29
5
5
  SHA512:
6
- metadata.gz: cc029080ef384bd5f9adff56491ee1a1ba9bb601ee81009c4685fca76a22ab2e20440f4bc1e5f67bcba7f0ec9f703ffbb0ac0f9b08c86c91bdee6a47c7bcdeb4
7
- data.tar.gz: f5fc713effa23e04599272a4dcfe51091927e3b281ed6e930306d4f200ff591dea70f0c9762b1e372300168cee1dcec82427ed407c4633c8300230fd8d551030
6
+ metadata.gz: b09926d30a09bd16df3afa1b55dddc37016d7ce93e4c42d54d874e6f04bc0b2f44ea8ee32211e09abe02ca1ee296bd02e0087640832d6f7854efc7ca300c8c32
7
+ data.tar.gz: 3c7d52250ce85c35a461959273b98b6d51db63ff33aa926a34b0c82dc447690dad66e557e7f0cde2bf3c0f99eaad615109c0ad8df7d8b81b36d0238a05515cab
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ 0.4.9 - 11-04-2019
2
+
3
+ - Fix: Gem was not working correctly in Ruby 2.4 and below due to a syntax error
4
+
1
5
  0.4.8 - 10-04-2019
2
6
 
3
7
  - Feature: added helpers for instrumenting unicorn using raindrops
@@ -12,12 +12,14 @@ module PrometheusExporter::Instrumentation
12
12
  client ||= PrometheusExporter::Client.default
13
13
  Thread.new do
14
14
  loop do
15
- metric = unicorn_collector.collect
16
- client.send_json metric
17
- rescue StandardError => e
18
- STDERR.puts("Prometheus Exporter Failed To Collect Unicorn Stats #{e}")
19
- ensure
20
- sleep frequency
15
+ begin
16
+ metric = unicorn_collector.collect
17
+ client.send_json metric
18
+ rescue StandardError => e
19
+ STDERR.puts("Prometheus Exporter Failed To Collect Unicorn Stats #{e}")
20
+ ensure
21
+ sleep frequency
22
+ end
21
23
  end
22
24
  end
23
25
  end
@@ -1,3 +1,3 @@
1
1
  module PrometheusExporter
2
- VERSION = "0.4.8"
2
+ VERSION = "0.4.9"
3
3
  end
@@ -31,5 +31,8 @@ Gem::Specification.new do |spec|
31
31
  spec.add_development_dependency "oj", "~> 3.0"
32
32
  spec.add_development_dependency "rack-test", "~> 0.8.3"
33
33
  spec.add_development_dependency "minitest-stub-const", "~> 0.6"
34
+ if !RUBY_ENGINE == 'jruby'
35
+ spec.add_development_dependency "raindrops", "~> 0.19"
36
+ end
34
37
  spec.required_ruby_version = '>= 2.3.0'
35
38
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prometheus_exporter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.8
4
+ version: 0.4.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Saffron
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-04-10 00:00:00.000000000 Z
11
+ date: 2019-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler