telegraf 0.4.0 → 0.5.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 880b5d95e2fb34e2f1f03d8d20b0cb9fca7617ef
4
- data.tar.gz: d78b0b208c7c3fe10fa63a9ae99d9ae6cf3c1de1
2
+ SHA256:
3
+ metadata.gz: d53dac00d7d4f119abfbc7b5f15990d60b23416da600e50044e47253c6562c58
4
+ data.tar.gz: 1fc9a85ac74357802a3dbf6b46ab935022bf42d0d2956ffdbe535b31fc76f9ba
5
5
  SHA512:
6
- metadata.gz: 2eb66afb4ab9d6f23107b31f5a2ebe7e669eafd932e582bde65bb4a474f87a061ffd991a913e7177f7bd216386e19da63d470951c42074f66d1aeb1a450faf2c
7
- data.tar.gz: 7a00b60bd44a4fb37236a76b4738301ae41b47510a01b5e8d40c9156ad1f4948ab72da1790a8804d5b251005a93fd7c306efd7e801ba6025671b9d2c4e269baf
6
+ metadata.gz: ec13d880ebfaa1c3373a55bafa829d443e8c449ae13f8fbab610d1dbb1d3fb1f1c8519d75a56218d7306b5e9cd64ae6b9f2f8c0be26fbc5ae0aac61e510da145
7
+ data.tar.gz: 4bdab197198995e62ae1f144c0aa663895b05cb5e695d7620dc642c3500dce0af23b8278d694a7fa124af2f3f11a08bd94ac1bb7182bd9ab3bfefc949b4a8ba2
@@ -2,7 +2,23 @@ sudo: false
2
2
  dist: trusty
3
3
  language: ruby
4
4
  rvm:
5
- - 2.4.1
6
- - 2.3.4
5
+ - 2.5.1
6
+ - 2.4.4
7
+ - 2.3.7
7
8
  before_install:
8
- - gem install bundler -v 1.15.1
9
+ - gem install bundler
10
+
11
+ jobs:
12
+ include:
13
+ - stage: Release
14
+ rvm: 2.5.1
15
+ script: skip
16
+ install: skip
17
+ deploy:
18
+ provider: rubygems
19
+ api_key:
20
+ secure: CcUafYaGbfw8OqiCGEr2vqcGeb16FtpUsL8y6jTz4rWKJbWpt5HZL9GBw5vr+bhS8b4vOySVfWhR9GkHB0Z8q36GDh5Y1Rmh6OZKdN3PQs/ACH9pP0BL9jxrNcZWdsEttGaUjrZzgCNwZKs21BUiTpWUSuUMhQuSU03GmPqpTaX8NZyBrIIX8UpqHjtJ1+y3BfJkuUPc07JDPLfQVvz7/Np/5UdMJ7DEec7lipGXXA/R8VbOL6f+NP6kf6EHunEH0BWbWWmonIybdvYX0T9lSa6ajr+SQx1oD29HUdQUwspDAlsUKkNm4nfpp6Wwznt11SYMJFLKOH6RycNtENTakXaG3C7RH5XFkHACSs/c0LQdCmdkJCv27PC0rYUrnyfYv+5p6kCh0GJoM/e5eTlyborhdOF97GlVcHe/vmTfSjOW2UaXRwpaM9b2s7SMkURiGVoYnXlq0GM+98Tp1qR7c/AFjzrpfSXxyFXQRiycILaRt2bdA9ySbkfxD3gz0hkjrjuclSa+Oxn/ufsDt56FklDftZpQUI4+ydhhxh6VdG3Hr8mQezuc+3u+z6HYPjoVbccHkQb3YjuIj2wUF6tICaO9voYIRsxtMaG1R0pDBMTjfmWzbJF6nhtZrigwC31e0fqen3LmXuWK8I6pk/TgCEdYXn8aaDqEC+WsRWGZkMY=
21
+ gem: telegraf
22
+ on:
23
+ tags: true
24
+ repo: jgraichen/telegraf-ruby
@@ -0,0 +1,6 @@
1
+ # Changelog
2
+
3
+ ## 0.5.0
4
+
5
+ * Remove `influxdb` not unnecessarily restrict users needing a specific influxdb client.
6
+
data/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  Minimal gem to send metrics to a local telegraf agent.
4
4
 
5
+ This gem only uses the line protocol from the `influxdb` gem and does not depend on a specific version. This may break in the future but does not restrict you in using a your preferred `influxdb` version.
6
+
5
7
  ## Installation
6
8
 
7
9
  ```ruby
@@ -22,14 +24,13 @@ Configure telegraf socket listener e.g.:
22
24
 
23
25
  ```
24
26
  [[inputs.socket_listener]]
25
- service_address = "unix:/run/telegraf/telegraf.sock"
26
- # service_address = "tcp://localhost:8094"
27
+ service_address = "udp://localhost:8094"
27
28
 
28
29
  ```
29
30
 
30
31
  ```ruby
31
- telegraf = Telegraf::Agent.new 'unix:/run/telegraf/telegraf.sock'
32
- # telegraf = Telegraf::Agent.new 'tcp://localhost:8094'
32
+ telegraf = Telegraf::Agent.new 'udp://localhost:8094'
33
+ telegraf = Telegraf::Agent.new # default: 'udp://localhost:8094'
33
34
 
34
35
  telegraf.write('demo',
35
36
  tags: {tag_a: 'A', tag_b: 'B'},
@@ -3,7 +3,7 @@
3
3
  module Telegraf
4
4
  module VERSION
5
5
  MAJOR = 0
6
- MINOR = 4
6
+ MINOR = 5
7
7
  PATCH = 0
8
8
  STAGE = nil
9
9
  STRING = [MAJOR, MINOR, PATCH, STAGE].reject(&:nil?).join('.').freeze
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
24
24
  spec.executables = spec.files.grep(%r{^exe/}) {|f| File.basename(f) }
25
25
  spec.require_paths = ['lib']
26
26
 
27
- spec.add_dependency 'influxdb', '~> 0.3.15'
27
+ spec.add_dependency 'influxdb'
28
28
 
29
29
  spec.add_development_dependency 'bundler', '~> 1.15'
30
30
  spec.add_development_dependency 'rake', '~> 12.0'
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: telegraf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Graichen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-08-16 00:00:00.000000000 Z
11
+ date: 2018-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: influxdb
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.3.15
19
+ version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 0.3.15
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -77,6 +77,7 @@ files:
77
77
  - ".rspec"
78
78
  - ".rubocop.yml"
79
79
  - ".travis.yml"
80
+ - CHANGELOG.md
80
81
  - Gemfile
81
82
  - LICENSE
82
83
  - README.md
@@ -107,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
107
108
  version: '0'
108
109
  requirements: []
109
110
  rubyforge_project:
110
- rubygems_version: 2.6.12
111
+ rubygems_version: 2.7.7
111
112
  signing_key:
112
113
  specification_version: 4
113
114
  summary: Metric Reporter to local telegraf agent