influx_reporter 1.2.1 → 1.2.2
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/Gemfile +1 -3
- data/README.md +2 -2
- data/gemfiles/Gemfile.base +1 -1
- data/gemfiles/Gemfile.rails-6.0.x +5 -0
- data/lib/influx_reporter/influx_db_client.rb +1 -1
- data/lib/influx_reporter/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b0730709cd958cf778fb9a098097e7e0cd5480de1d1eb5dae0741bd231d74f0
|
4
|
+
data.tar.gz: 63a762abff77d226038ece2240435626bf903efa95e7e1b1fb2c35a4f2e811a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b1b90c44b16e924f69be8ac91f558796612ea33576927d8f353d45cd5187205ac4a41da0dff6a6a6c862100d3124a007f6a2173f91aee4010acc9f5850a5c26
|
7
|
+
data.tar.gz: 6044d661cfb071d19119ed39b1b1fdff97378c9eab9e200b312c7de258d051aff87ebdf0453c8829cb09a238c3dd8d5dabb6d33c3d3fa9881297bff3cd0e7858
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -34,8 +34,8 @@ require 'influx_reporter'
|
|
34
34
|
|
35
35
|
# set up an InfluxReporter configuration
|
36
36
|
config = InfluxReporter::Configuration.new do |conf|
|
37
|
-
conf.
|
38
|
-
conf.
|
37
|
+
conf.database = 'endpoints'
|
38
|
+
conf.influx_db = {
|
39
39
|
host: 'influxdb.local',
|
40
40
|
port: '8080'
|
41
41
|
}
|
data/gemfiles/Gemfile.base
CHANGED
@@ -25,5 +25,5 @@ gem 'resque', require: false
|
|
25
25
|
|
26
26
|
# Freeze Sidekiq to < 5 in Ruby 2.2 Gemfiles
|
27
27
|
if RUBY_VERSION >= '2'
|
28
|
-
gem 'sidekiq', (RUBY_VERSION >= '2.
|
28
|
+
gem 'sidekiq', (RUBY_VERSION >= '2.5.0' ? '~> 6' : '~> 4'), require: false
|
29
29
|
end
|
@@ -14,7 +14,7 @@ module InfluxReporter
|
|
14
14
|
# @param config [InfluxReporter::Configuration]
|
15
15
|
def initialize(config)
|
16
16
|
@config = config
|
17
|
-
@client = InfluxDB::Client.new config.database, config.influx_db.merge(time_precision: 'ns')
|
17
|
+
@client = InfluxDB::Client.new config.database, **config.influx_db.merge(time_precision: 'ns')
|
18
18
|
@state = ClientState.new config
|
19
19
|
end
|
20
20
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: influx_reporter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kacper Kawecki
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-05-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -52,7 +52,7 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
-
description:
|
55
|
+
description:
|
56
56
|
email: kacper@geniebelt.com
|
57
57
|
executables: []
|
58
58
|
extensions: []
|
@@ -77,6 +77,7 @@ files:
|
|
77
77
|
- gemfiles/Gemfile.rails-4.1.x
|
78
78
|
- gemfiles/Gemfile.rails-4.2.x
|
79
79
|
- gemfiles/Gemfile.rails-5.0.x
|
80
|
+
- gemfiles/Gemfile.rails-6.0.x
|
80
81
|
- gemfiles/Gemfile.rails-HEAD
|
81
82
|
- influx_reporter.gemspec
|
82
83
|
- lib/influx_reporter.rb
|
@@ -167,7 +168,7 @@ homepage: https://github.com/GenieBelt/influx-reporter
|
|
167
168
|
licenses:
|
168
169
|
- BSD-3-Clause
|
169
170
|
metadata: {}
|
170
|
-
post_install_message:
|
171
|
+
post_install_message:
|
171
172
|
rdoc_options: []
|
172
173
|
require_paths:
|
173
174
|
- lib
|
@@ -182,9 +183,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
182
183
|
- !ruby/object:Gem::Version
|
183
184
|
version: '0'
|
184
185
|
requirements: []
|
185
|
-
|
186
|
-
|
187
|
-
signing_key:
|
186
|
+
rubygems_version: 3.0.9
|
187
|
+
signing_key:
|
188
188
|
specification_version: 4
|
189
189
|
summary: Metrics collector for rails and InfluxDB based on Opbeat Ruby client library
|
190
190
|
test_files: []
|