bc-prometheus-ruby 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/bigcommerce/prometheus/integrations/puma.rb +6 -4
- data/lib/bigcommerce/prometheus/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cf312395a8013ec6faae2f338f74480cdd6b419ea117f0e872fd161c4da54c94
|
4
|
+
data.tar.gz: f149b260bae32001429d95ed39a55f40060feb47412fc8df205ddf2974259374
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42f9133f0ef55104154f4da0524895f57f9ebbbaf79c03e3af959c5cd1603782a9b27d92d20f1c349b4119c204b0f23ab37d51ae669055a4aa01a170f9db72ff
|
7
|
+
data.tar.gz: 99163c006b2e1beaa5a06612ed59bb437bfb123022cfc2f214d9a3974ebf15a283fd2e3596cbf1b676ebc8c625da09dbac5738074fa675f68b93e3023c9440d3
|
data/CHANGELOG.md
CHANGED
@@ -28,10 +28,12 @@ module Bigcommerce
|
|
28
28
|
def self.start(client: nil, frequency: nil)
|
29
29
|
return unless puma_enabled?
|
30
30
|
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
31
|
+
if puma_enabled?
|
32
|
+
::PrometheusExporter::Instrumentation::Puma.start(
|
33
|
+
client: client || ::Bigcommerce::Prometheus.client,
|
34
|
+
frequency: frequency || ::Bigcommerce::Prometheus.puma_collection_frequency
|
35
|
+
)
|
36
|
+
end
|
35
37
|
if active_record_enabled?
|
36
38
|
::PrometheusExporter::Instrumentation::ActiveRecord.start(
|
37
39
|
client: client || ::Bigcommerce::Prometheus.client,
|
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.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shaun McCormick
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|