sidekiq_prometheus 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.chglog/config.yml +16 -12
- data/CHANGELOG.md +13 -1
- data/README.md +2 -2
- data/lib/sidekiq_prometheus.rb +1 -2
- data/lib/sidekiq_prometheus/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db02e6a73906c876430f6d54584035af02baaa208ef092c31fc08e0182d01534
|
4
|
+
data.tar.gz: bb146c52c773bc61edab389892326901fab130560c6f7cf1d449abae3250a929
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6408684452a45e2145b9294ae7bb0f991b7824d14b847ccbcf6b951b9d372cd72ce946945f07e138a7b8ad312b03343590f2ac8314bc270f2e75c66368b3b1d
|
7
|
+
data.tar.gz: 91f0409841a1a29e30809fee05478310a74ef58ed009de90b439e2a81e3e73f55f3f618e77c150d023a64b256700e1820ec09b490f51ac05e52e1776fbfdcd9c
|
data/.chglog/config.yml
CHANGED
@@ -5,18 +5,22 @@ info:
|
|
5
5
|
repository_url: https://github.com/fastly/sidekiq-prometheus
|
6
6
|
options:
|
7
7
|
commits:
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
# - perf
|
13
|
-
# - refactor
|
8
|
+
filters:
|
9
|
+
Type:
|
10
|
+
- feat
|
11
|
+
- fix
|
14
12
|
commit_groups:
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
13
|
+
title_maps:
|
14
|
+
feat: Features
|
15
|
+
doc: Documentation
|
16
|
+
fix: Bug Fixes
|
17
|
+
refs:
|
18
|
+
actions:
|
19
|
+
- Closes
|
20
|
+
- Fixes
|
21
|
+
issues:
|
22
|
+
prefix:
|
23
|
+
- #
|
20
24
|
header:
|
21
25
|
pattern: "^(\\w*)\\:\\s(.*)$"
|
22
26
|
pattern_maps:
|
@@ -24,4 +28,4 @@ options:
|
|
24
28
|
- Subject
|
25
29
|
notes:
|
26
30
|
keywords:
|
27
|
-
- BREAKING CHANGE
|
31
|
+
- BREAKING CHANGE
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
CHANGELOG
|
2
2
|
|
3
|
+
<a name="v0.9.0"></a>
|
4
|
+
## [v0.9.0](https://github.com/fastly/sidekiq-prometheus/compare/v0.8.1...v0.9.0) (2019-03-18)
|
5
|
+
|
6
|
+
### Features
|
7
|
+
|
8
|
+
* Custom Metrics
|
9
|
+
|
10
|
+
### Pull Requests
|
11
|
+
|
12
|
+
* Merge pull request [#4](https://github.com/fastly/sidekiq-prometheus/issues/4) from fastly/custom_metrics-fix[#2](https://github.com/fastly/sidekiq-prometheus/issues/2)
|
13
|
+
* Merge pull request [#3](https://github.com/fastly/sidekiq-prometheus/issues/3) from fastly/doc_refinement_(fix-[#1](https://github.com/fastly/sidekiq-prometheus/issues/1))
|
14
|
+
|
15
|
+
|
3
16
|
<a name="v0.8.1"></a>
|
4
17
|
## v0.8.1 (2019-02-08)
|
5
18
|
|
6
|
-
Initial Release!
|
data/README.md
CHANGED
@@ -191,8 +191,8 @@ Registering a set of custom metrics is done by defining `custom_metrics` in the
|
|
191
191
|
```ruby
|
192
192
|
SidekiqPrometheus.configure do |config|
|
193
193
|
config.custom_metrics = [
|
194
|
-
{ name: :imported_records, type: :counter,
|
195
|
-
{ name: :failed_records, type: counter:,
|
194
|
+
{ name: :imported_records, type: :counter, docstring: 'Count of successfully imported records' },
|
195
|
+
{ name: :failed_records, type: counter:, docstring: 'Count of failed records' },
|
196
196
|
]
|
197
197
|
end
|
198
198
|
```
|
data/lib/sidekiq_prometheus.rb
CHANGED
@@ -91,8 +91,6 @@ module SidekiqPrometheus
|
|
91
91
|
setup
|
92
92
|
end
|
93
93
|
|
94
|
-
alias configure! configure
|
95
|
-
|
96
94
|
# Helper method for +gc_metrics_enabled+ configuration setting
|
97
95
|
# @return [Boolean] defaults to true
|
98
96
|
def gc_metrics_enabled?
|
@@ -124,6 +122,7 @@ module SidekiqPrometheus
|
|
124
122
|
end
|
125
123
|
|
126
124
|
class << self
|
125
|
+
alias configure! configure
|
127
126
|
alias get []
|
128
127
|
end
|
129
128
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sidekiq_prometheus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lukas Eklund
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -168,7 +168,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
168
168
|
version: '0'
|
169
169
|
requirements: []
|
170
170
|
rubyforge_project:
|
171
|
-
rubygems_version: 2.7.
|
171
|
+
rubygems_version: 2.7.8
|
172
172
|
signing_key:
|
173
173
|
specification_version: 4
|
174
174
|
summary: Prometheus Instrumentation for Sidekiq
|