sensu-plugins-logstash 1.1.1 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -2
- data/bin/metrics-logstash-node.rb +1 -0
- data/lib/sensu-plugins-logstash/version.rb +2 -2
- metadata +17 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3894e3b7ff9114544697b10bf53ead6188d2c2a3
|
4
|
+
data.tar.gz: 02cbbcfc0024c9655d92b580b20830c6d94c42c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a02b808838473eebe89f3c297ac68dbb78bd5adb668038980244b2a2aa36b36e74c737f915bd1106991c71197152d1364b294bdad380895e218c1b204959698c
|
7
|
+
data.tar.gz: 5ccb1140fd2c07ad7cd7246257bbbe059bfa090846c0030db87dcb85786c1ac24acb09e798596a63a1df067209fda036e0dbeb6d9ca6d8ab7097ec73e583dd03
|
data/CHANGELOG.md
CHANGED
@@ -1,10 +1,14 @@
|
|
1
|
-
#Change Log
|
1
|
+
# Change Log
|
2
2
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
3
3
|
|
4
4
|
This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachangelog.com/)
|
5
5
|
|
6
6
|
## [Unreleased]
|
7
7
|
|
8
|
+
## [1.2.0] - 2017-10-31
|
9
|
+
### Added
|
10
|
+
- metrics-logstash-node.rb: Added queue_push_duration_in_millis metric for logstash pipeline inputs. (@Evesy)
|
11
|
+
|
8
12
|
## [1.1.1] - 2017-08-26
|
9
13
|
### Fixed
|
10
14
|
- locking runtime dependency and misc changes to `metrics-logstash-node.rb` (@multani)
|
@@ -51,7 +55,8 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
|
|
51
55
|
### Added
|
52
56
|
- initial release
|
53
57
|
|
54
|
-
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-logstash/compare/1.
|
58
|
+
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-logstash/compare/1.2.0...HEAD
|
59
|
+
[1.2.0]: https://github.com/sensu-plugins/sensu-plugins-logstash/compare/1.1.1...1.2.0
|
55
60
|
[1.1.1]: https://github.com/sensu-plugins/sensu-plugins-logstash/compare/1.1.0...1.1.1
|
56
61
|
[1.1.0]: https://github.com/sensu-plugins/sensu-plugins-logstash/compare/1.0.0...1.1.0
|
57
62
|
[1.0.0]: https://github.com/sensu-plugins/sensu-plugins-logstash/compare/0.1.1...1.0.0
|
@@ -121,6 +121,7 @@ class LogstashNodeMetrics < Sensu::Plugin::Metric::CLI::Graphite
|
|
121
121
|
item['events'] = {} unless item.key?('events')
|
122
122
|
metrics["pipeline.plugins.inputs.#{item['id']}.events.in"] = item['events']['in'].to_i || 0
|
123
123
|
metrics["pipeline.plugins.inputs.#{item['id']}.events.out"] = item['events']['out'].to_i || 0
|
124
|
+
metrics["pipeline.plugins.inputs.#{item['id']}.events.queue_push_duration_in_millis"] = item['events']['queue_push_duration_in_millis'].to_i || 0
|
124
125
|
end
|
125
126
|
|
126
127
|
node['pipeline']['plugins']['filters'].each do |item|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu-plugins-logstash
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sensu Plugins and contributors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -192,6 +192,20 @@ dependencies:
|
|
192
192
|
- - "~>"
|
193
193
|
- !ruby/object:Gem::Version
|
194
194
|
version: '0.8'
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: webmock
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - "~>"
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '3.1'
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - "~>"
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '3.1'
|
195
209
|
description: |-
|
196
210
|
This plugin provides native logstash instrumentation
|
197
211
|
for monitoring, including: a handler for sending events
|
@@ -236,7 +250,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
236
250
|
version: '0'
|
237
251
|
requirements: []
|
238
252
|
rubyforge_project:
|
239
|
-
rubygems_version: 2.
|
253
|
+
rubygems_version: 2.6.14
|
240
254
|
signing_key:
|
241
255
|
specification_version: 4
|
242
256
|
summary: Sensu plugins for working with logstash
|