telegraf 2.1.0 → 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b2ee7281b9a2894ca1b68ad84e14cf0ddaf1668d6203df4173438d8c137048c4
4
- data.tar.gz: 87b415ca608c3c6d70495f1c7cc013a5720361d68d1baaf86b5366180891d92a
3
+ metadata.gz: f2506d8a79e471b78413607796219aa467e330bed37f379482ae51f8b3f41d45
4
+ data.tar.gz: 30202e32e4584499161208af9d1e355bb6b8770d425675738a7b4a3e4cad553d
5
5
  SHA512:
6
- metadata.gz: b5fb0d9e6572edee60f78b3ff9ed6e4345be20fd3440dfdcc5b7b983caaa74ef087014d10395aac65034aac071e7d65e886d3f49ac58e5bb50e69352e1e9199d
7
- data.tar.gz: c38898a38963a56f148a43a05e9a29ae42072e434ed48c3e741ef2c834940cb2524ede03734ec66078b3c036b52a37f2dfc4059994fc29416e333bc943f14d63
6
+ metadata.gz: bac63da09a0586326816bb0bf13ec2ca10900af04be4c058f5dd4b524a579ea5752c02573e8b275030dcba8cd66fbcf8b3b96f0e6e7933068ffaffc49197d8e3
7
+ data.tar.gz: 261d7ef27d1afa299561581d946d85833a1254835ced37f9cf97d7a01e2364a7d43cd65cdfa1fe616216e75382373dcd840d1089751110549c4eb06d4651cf1d
data/CHANGELOG.md CHANGED
@@ -1,4 +1,7 @@
1
+ <!-- markdownlint-disable-file MD024 -->
2
+
1
3
  # Changelog
4
+
2
5
  All notable changes to this project will be documented in this file.
3
6
 
4
7
  The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
@@ -6,40 +9,63 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
6
9
 
7
10
  ## [Unreleased]
8
11
 
12
+ ## [2.1.1] - 2022-08-23
13
+
14
+ ### Fixed
15
+
16
+ - Possible RuntimeError: can't add a new key into hash during iteration (@MrSerth)
17
+
9
18
  ## [2.1.0] - 2022-01-24
19
+
10
20
  ### Added
21
+
11
22
  - Support for Rails 7.0 and Ruby 3.1
12
23
  - Grape API instrumentation (#17)
13
24
 
14
25
  ## [2.0.0] - 2021-09-30
26
+
15
27
  ### Changed
28
+
16
29
  - The sidekiq middleware does not use keyword arguments as sidekiq does not handle them correctly on Ruby 3.0 (#14)
17
30
 
18
31
  ## [1.0.0] - 2021-01-26
32
+
19
33
  ### Added
34
+
20
35
  - Global tags (#6)
21
36
 
22
37
  ## [0.8.0] - 2020-12-02
38
+
23
39
  ### Added
40
+
24
41
  - ActiveJob instrumentation (#10)
25
42
 
26
43
  ## [0.7.0] - 2020-05-07
44
+
27
45
  ### Added
46
+
28
47
  - Sidekiq middleware (#8)
29
48
 
30
49
  ## [0.6.1] - 2020-04-01
50
+
31
51
  ### Fixed
52
+
32
53
  - Fix type in instrumentation option (#7)
33
54
 
34
55
  ## [0.6.0] - 2020-03-31
56
+
35
57
  ### Added
58
+
36
59
  - New Rack middleware and Rails plugin to collect request events (#5)
37
60
 
38
61
  ## 0.5.0 - undefined
62
+
39
63
  ### Changed
64
+
40
65
  - Remove `influxdb` not unnecessarily restrict users needing a specific influxdb client.
41
66
 
42
- [Unreleased]: https://github.com/jgraichen/telegraf-ruby/compare/v2.1.0...HEAD
67
+ [unreleased]: https://github.com/jgraichen/telegraf-ruby/compare/v2.1.1...HEAD
68
+ [2.1.1]: https://github.com/jgraichen/telegraf-ruby/compare/v2.1.0...v2.1.1
43
69
  [2.1.0]: https://github.com/jgraichen/telegraf-ruby/compare/v2.0.0...v2.1.0
44
70
  [2.0.0]: https://github.com/jgraichen/telegraf-ruby/compare/v1.0.0...v2.0.0
45
71
  [1.0.0]: https://github.com/jgraichen/telegraf-ruby/compare/v0.8.0...v1.0.0
data/README.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Telegraf
2
2
 
3
+ [![Gem Version](https://img.shields.io/gem/v/telegraf?logo=ruby)](https://rubygems.org/gems/telegraf)
4
+ [![GitHub Workflow Status](https://img.shields.io/github/workflow/status/jgraichen/telegraf-ruby/test?logo=github)](https://github.com/jgraichen/telegraf-ruby/actions)
5
+
3
6
  Send events to a local [Telegraf](https://github.com/influxdata/telegraf) agent or anything that can receive the InfluxDB line protocol.
4
7
 
5
8
  It further includes plugins for Rack, Rails, ActiveJob and Sidekiq to collect request events. See plugin usage details below.
@@ -24,7 +24,7 @@ module Telegraf
24
24
  tags = tags.merge(@tags) unless @tags.empty?
25
25
 
26
26
  if values
27
- data = [{series: series || data.to_s, tags: tags, values: values}]
27
+ data = [{series: series || data.to_s, tags: tags, values: values.dup}]
28
28
  end
29
29
 
30
30
  socket = connect @uri
@@ -4,7 +4,7 @@ module Telegraf
4
4
  module VERSION
5
5
  MAJOR = 2
6
6
  MINOR = 1
7
- PATCH = 0
7
+ PATCH = 1
8
8
  STAGE = nil
9
9
  STRING = [MAJOR, MINOR, PATCH, STAGE].compact.join('.').freeze
10
10
 
data/renovate.json ADDED
@@ -0,0 +1,5 @@
1
+ {
2
+ "extends": [
3
+ "config:base"
4
+ ]
5
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: telegraf
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Graichen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-01-24 00:00:00.000000000 Z
11
+ date: 2022-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: influxdb
@@ -74,6 +74,7 @@ files:
74
74
  - lib/telegraf/railtie.rb
75
75
  - lib/telegraf/sidekiq.rb
76
76
  - lib/telegraf/version.rb
77
+ - renovate.json
77
78
  - telegraf.gemspec
78
79
  homepage: https://github.com/jgraichen/telegraf-ruby
79
80
  licenses:
@@ -95,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
95
96
  - !ruby/object:Gem::Version
96
97
  version: '0'
97
98
  requirements: []
98
- rubygems_version: 3.1.6
99
+ rubygems_version: 3.3.7
99
100
  signing_key:
100
101
  specification_version: 4
101
102
  summary: Metric Reporter to local telegraf agent