bc-prometheus-ruby 0.5.2 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +1 -1
- data/bc-prometheus-ruby.gemspec +1 -1
- data/lib/bigcommerce/prometheus/client.rb +1 -1
- data/lib/bigcommerce/prometheus/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a698cc0ac06efacbba9d2448adf0cac2c1f1f54468ee3ba4c14fab8e5c25e012
|
|
4
|
+
data.tar.gz: f8c629aa6c16174692bf804271af7edbf1f087d9abb7bc2ff32400a01d00a001
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e7b37136f17cc98bd2f8c88adc4668f4685965602453261a27ff90516788c86d6571ceb15158e7fd0a3fb78f42e31c6cafbd4beacf4b590f6e82395682c33174
|
|
7
|
+
data.tar.gz: 5879abda273f9d1b127483f7ee0f6083bc013fe4376033e15f917a62113d1727b4d32e34381e98dbbab90981fd7e7e124242775cd3c18e6e792b4a451ecd7aa2
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# bc-prometheus-ruby - Drop-in Prometheus metrics
|
|
2
2
|
|
|
3
|
-
[](https://circleci.com/gh/bigcommerce/bc-prometheus-ruby) [](https://badge.fury.io/rb/bc-prometheus-ruby) [](https://inch-ci.org/github/bigcommerce/bc-prometheus-ruby?branch=main)
|
|
3
|
+
[](https://circleci.com/gh/bigcommerce/bc-prometheus-ruby) [](https://badge.fury.io/rb/bc-prometheus-ruby) [](https://inch-ci.org/github/bigcommerce/bc-prometheus-ruby?branch=main) [](https://codeclimate.com/github/bigcommerce/bc-prometheus-ruby/maintainability) [](https://codeclimate.com/github/bigcommerce/bc-prometheus-ruby/test_coverage)
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
data/bc-prometheus-ruby.gemspec
CHANGED
|
@@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
|
|
|
31
31
|
|
|
32
32
|
spec.files = Dir['README.md', 'CHANGELOG.md', 'CODE_OF_CONDUCT.md', 'lib/**/*', 'bc-prometheus-ruby.gemspec']
|
|
33
33
|
spec.require_paths = ['lib']
|
|
34
|
-
spec.required_ruby_version = '>=
|
|
34
|
+
spec.required_ruby_version = '>= 3.0'
|
|
35
35
|
|
|
36
36
|
spec.add_development_dependency 'bundler-audit', '>= 0.6'
|
|
37
37
|
spec.add_development_dependency 'pry', '>= 0.12'
|
|
@@ -78,7 +78,7 @@ module Bigcommerce
|
|
|
78
78
|
message = @queue.pop
|
|
79
79
|
Net::HTTP.post(uri_path('/send-metrics'), message)
|
|
80
80
|
rescue StandardError => e
|
|
81
|
-
logger.warn "[bigcommerce-prometheus][#{@process_name}] Prometheus Exporter is dropping a message
|
|
81
|
+
logger.warn "[bigcommerce-prometheus][#{@process_name}] Prometheus Exporter is dropping a message to #{uri_path('/send-metrics')}: #{e}"
|
|
82
82
|
raise
|
|
83
83
|
end
|
|
84
84
|
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.
|
|
4
|
+
version: 0.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Shaun McCormick
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2023-02-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler-audit
|
|
@@ -189,7 +189,7 @@ homepage: https://github.com/bigcommerce/bc-prometheus-ruby
|
|
|
189
189
|
licenses:
|
|
190
190
|
- MIT
|
|
191
191
|
metadata: {}
|
|
192
|
-
post_install_message:
|
|
192
|
+
post_install_message:
|
|
193
193
|
rdoc_options: []
|
|
194
194
|
require_paths:
|
|
195
195
|
- lib
|
|
@@ -197,15 +197,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
197
197
|
requirements:
|
|
198
198
|
- - ">="
|
|
199
199
|
- !ruby/object:Gem::Version
|
|
200
|
-
version: '
|
|
200
|
+
version: '3.0'
|
|
201
201
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
202
202
|
requirements:
|
|
203
203
|
- - ">="
|
|
204
204
|
- !ruby/object:Gem::Version
|
|
205
205
|
version: '0'
|
|
206
206
|
requirements: []
|
|
207
|
-
rubygems_version: 3.
|
|
208
|
-
signing_key:
|
|
207
|
+
rubygems_version: 3.4.1
|
|
208
|
+
signing_key:
|
|
209
209
|
specification_version: 4
|
|
210
210
|
summary: Simple integration of ruby and puma servers with prometheus
|
|
211
211
|
test_files: []
|