bc-prometheus-ruby 0.1.4 → 0.1.5

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: 1c0e12140ddec68a3948d287f64447dd3bfc431a26cdb1c5bee3148732263396
4
- data.tar.gz: 60d57ee94401660ee6f9fa980106d70f9e158b29c03de6b7f28a6965effabe4a
3
+ metadata.gz: f508f25c190541cb70c122a43df4a1080d806c90c9d40bfcd783dfa8ed98f3b0
4
+ data.tar.gz: ce143665ff9e84032601aa8a592c22c374f0939a6b3bd708a8fc8b4d38c47eff
5
5
  SHA512:
6
- metadata.gz: e60684700496ab86fc11451bb472e5747103f6c100724959b3477859ed89f4d21b392894bcac431cb740501bca7e4878b65c8b33a9c6e8b78c96bddea1ae042f
7
- data.tar.gz: 46b989c7bd48a418944adfc477cd870962e9ab0bb02d0645f5a31f99848cef8fb0262df10f049b3ddec8c2dbf30c6e7efae5fd31867bb9bc3b5f13a14eb0856e
6
+ metadata.gz: 44464c27e557945ff3f1dfbcf130565a1bf88678d252cbfdf882ecdd9753afb35cf20052a16fe15f25e7e396d63fd6d0139f2b13daf550be78864cccb2bbc778
7
+ data.tar.gz: c8392da5b98df9d071af54220d5223a99cd3cb0c52c61bb410c2c88db16143c99621eb62810ce7aa5a7c82d96e2c57d28faf02f061b5e1bde700f2f255642b4f
@@ -2,6 +2,10 @@ Changelog for the bc-prometheus-ruby gem.
2
2
 
3
3
  h3. Pending Release
4
4
 
5
+ h3. 0.1.5
6
+
7
+ - Fix issue where puma collector was not being registered on the server
8
+
5
9
  h3. 0.1.4
6
10
 
7
11
  - Handle circumstances when before_fork_callbacks is called outside of the web process
@@ -64,6 +64,7 @@ module Bigcommerce
64
64
  @app.config.before_fork_callbacks << lambda do
65
65
  server.add_type_collector(PrometheusExporter::Server::ActiveRecordCollector.new)
66
66
  server.add_type_collector(PrometheusExporter::Server::WebCollector.new)
67
+ server.add_type_collector(PrometheusExporter::Server::PumaCollector.new)
67
68
  server.start
68
69
  end
69
70
  end
@@ -56,7 +56,7 @@ module Bigcommerce
56
56
  # @return [Boolean]
57
57
  #
58
58
  def self.puma_enabled?
59
- defined?(Puma) && Puma.respond_to?(:stats)
59
+ defined?(::Puma) && ::Puma.respond_to?(:stats)
60
60
  end
61
61
  end
62
62
  end
@@ -17,6 +17,6 @@
17
17
  #
18
18
  module Bigcommerce
19
19
  module Prometheus
20
- VERSION = '0.1.4'
20
+ VERSION = '0.1.5'
21
21
  end
22
22
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bc-prometheus-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shaun McCormick
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-11 00:00:00.000000000 Z
11
+ date: 2019-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake