sidekiq_prometheus 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +4 -3
- data/lib/sidekiq_prometheus.rb +1 -0
- data/lib/sidekiq_prometheus/metrics.rb +3 -3
- data/lib/sidekiq_prometheus/version.rb +1 -1
- data/sidekiq_prometheus.gemspec +1 -0
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd485c3e82871eb0083e0f8c66b506d72624cdc48bcee1fa2e3c0d45eee9a8fa
|
4
|
+
data.tar.gz: a1e2fa1f170d6c2115c6de05bb9f029f4bc6c54f0fa208a683c9a074afc06c06
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f52ccff4847c333ba9c50d9e5033214f0d739edd4eca461b1b9b5406c6d236505b0e3e7fcc04f7f26bc460debb16e0ada2f1834ffc49c73b24f8c9369fe21bff
|
7
|
+
data.tar.gz: 7e0e854ab573ead62b8ff19a1a8d736587e00250a4fd447a9bbc393d1765c7eab8083d6beb9f14ac7e766d88d28875088f8ee5a3bf2c77d34a1d00af5a573136
|
data/.travis.yml
CHANGED
data/lib/sidekiq_prometheus.rb
CHANGED
@@ -107,7 +107,7 @@ module SidekiqPrometheus::Metrics
|
|
107
107
|
end
|
108
108
|
|
109
109
|
def register_sidekiq_gc_metric
|
110
|
-
register
|
110
|
+
register(**SIDEKIQ_GC_METRIC)
|
111
111
|
end
|
112
112
|
|
113
113
|
def register_sidekiq_worker_gc_metrics
|
@@ -120,7 +120,7 @@ module SidekiqPrometheus::Metrics
|
|
120
120
|
|
121
121
|
def register_metrics(metrics)
|
122
122
|
metrics.each do |metric|
|
123
|
-
register(metric)
|
123
|
+
register(**metric)
|
124
124
|
end
|
125
125
|
end
|
126
126
|
|
@@ -159,7 +159,7 @@ module SidekiqPrometheus::Metrics
|
|
159
159
|
|
160
160
|
options[:buckets] = buckets if buckets
|
161
161
|
|
162
|
-
registry.send(type, name.to_sym, options)
|
162
|
+
registry.send(type, name.to_sym, **options)
|
163
163
|
end
|
164
164
|
|
165
165
|
def unregister(name:)
|
data/sidekiq_prometheus.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sidekiq_prometheus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lukas Eklund
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2021-03-
|
12
|
+
date: 2021-03-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -123,6 +123,20 @@ dependencies:
|
|
123
123
|
- - ">"
|
124
124
|
- !ruby/object:Gem::Version
|
125
125
|
version: '5.1'
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: webrick
|
128
|
+
requirement: !ruby/object:Gem::Requirement
|
129
|
+
requirements:
|
130
|
+
- - ">="
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: '0'
|
133
|
+
type: :runtime
|
134
|
+
prerelease: false
|
135
|
+
version_requirements: !ruby/object:Gem::Requirement
|
136
|
+
requirements:
|
137
|
+
- - ">="
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: '0'
|
126
140
|
description:
|
127
141
|
email:
|
128
142
|
- leklund@fastly.com
|