telegraf 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -1
- data/README.md +1 -1
- data/lib/telegraf/railtie.rb +2 -2
- data/lib/telegraf/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f68b6dfd1bcf5659a4ee22bbe80665502a4fc09e55b90834ec85ab09e040893
|
4
|
+
data.tar.gz: d5be579cd9bec77152ef0af33ed0c7040a2f5cfe59923da85f096be604e07ba5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7b349c501e843458c7232f4695638a763927895c4001efe4b23cc76cda6ba4b6143153f0f43a9b037130b192cb1ca8152509488413947ae3de9cd8e120361be
|
7
|
+
data.tar.gz: 88a520e880d0507da05f9af9c58b69288bf59968dc4fc54238f6cdf1a5a8ca92359fe5bf6ab558171cbaf09111e1634a827c0607e1afbcf24c35285e8b8bbe15
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
8
|
|
9
|
+
## [0.6.1] - 2020-04-01
|
10
|
+
### Fixed
|
11
|
+
- Fix type in instrumentation option (#7)
|
12
|
+
|
9
13
|
## [0.6.0] - 2020-03-31
|
10
14
|
### Added
|
11
15
|
- New Rack middleware and Rails plugin to collect request events (#5)
|
@@ -14,5 +18,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
14
18
|
### Changed
|
15
19
|
- Remove `influxdb` not unnecessarily restrict users needing a specific influxdb client.
|
16
20
|
|
17
|
-
[unreleased]: https://github.com/:jgraichen/telegraf-ruby/compare/v0.6.
|
21
|
+
[unreleased]: https://github.com/:jgraichen/telegraf-ruby/compare/v0.6.1...HEAD
|
22
|
+
[0.6.1]: https://github.com/:jgraichen/telegraf-ruby/compare/v0.6.0...v0.6.1
|
18
23
|
[0.6.0]: https://github.com/:jgraichen/telegraf-ruby/compare/v0.5.0...v0.6.0
|
data/README.md
CHANGED
@@ -86,7 +86,7 @@ class MyApplication > ::Rails::Application
|
|
86
86
|
|
87
87
|
# Additionally the application is instrumented to tag events with
|
88
88
|
# controller and action as well as to collect app, database and view timings
|
89
|
-
config.telegraf.
|
89
|
+
config.telegraf.instrumentation = true
|
90
90
|
end
|
91
91
|
```
|
92
92
|
|
data/lib/telegraf/railtie.rb
CHANGED
@@ -51,7 +51,7 @@ module Telegraf
|
|
51
51
|
config.telegraf.rack.tags = {}
|
52
52
|
|
53
53
|
# Install request instrumentation
|
54
|
-
config.telegraf.
|
54
|
+
config.telegraf.instrumentation = true
|
55
55
|
|
56
56
|
initializer 'telegraf.agent' do |app|
|
57
57
|
app.config.telegraf.agent ||= begin
|
@@ -72,7 +72,7 @@ module Telegraf
|
|
72
72
|
end
|
73
73
|
|
74
74
|
initializer 'telegraf.instrumentation' do |app|
|
75
|
-
next unless app.config.telegraf.
|
75
|
+
next unless app.config.telegraf.instrumentation
|
76
76
|
|
77
77
|
ActiveSupport::Notifications.subscribe(
|
78
78
|
'process_action.action_controller'
|
data/lib/telegraf/version.rb
CHANGED
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: 0.6.
|
4
|
+
version: 0.6.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: 2020-
|
11
|
+
date: 2020-04-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: influxdb
|