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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1dd508763a1de6a8422e45a002377ab160cd3729
4
- data.tar.gz: 3d3b335b66d9a689de0a01a8f0868052530cdc94
3
+ metadata.gz: 3894e3b7ff9114544697b10bf53ead6188d2c2a3
4
+ data.tar.gz: 02cbbcfc0024c9655d92b580b20830c6d94c42c1
5
5
  SHA512:
6
- metadata.gz: fed9e9d92aeeedbf0e894355363daa55efac73a954187bd3f3af5adf22b0ce0170abdea386cb6417ad08d562579d7446b3ba12aaeb145c6f5f908b257009329d
7
- data.tar.gz: 5996ca6076b6f2332537720d52047a6bc2f9d8e09120a382c5e4e010ee4ec71e67235fb7d0c456dea758231ab20c599dfb41c63b107765ec67c4cc3c2a23e084
6
+ metadata.gz: a02b808838473eebe89f3c297ac68dbb78bd5adb668038980244b2a2aa36b36e74c737f915bd1106991c71197152d1364b294bdad380895e218c1b204959698c
7
+ data.tar.gz: 5ccb1140fd2c07ad7cd7246257bbbe059bfa090846c0030db87dcb85786c1ac24acb09e798596a63a1df067209fda036e0dbeb6d9ca6d8ab7097ec73e583dd03
@@ -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.1.1...HEAD
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|
@@ -1,8 +1,8 @@
1
1
  module SensuPluginsLogstash
2
2
  module Version
3
3
  MAJOR = 1
4
- MINOR = 1
5
- PATCH = 1
4
+ MINOR = 2
5
+ PATCH = 0
6
6
 
7
7
  VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
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.1.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-08-26 00:00:00.000000000 Z
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.4.5
253
+ rubygems_version: 2.6.14
240
254
  signing_key:
241
255
  specification_version: 4
242
256
  summary: Sensu plugins for working with logstash