sensu-plugins-elasticsearch 1.4.0 → 1.4.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 +7 -1
- data/bin/check-es-query-ratio.rb +1 -1
- data/lib/sensu-plugins-elasticsearch/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 599c45c505813b0f4cedc04625d908997f1dd07f
|
4
|
+
data.tar.gz: f419a11fa51624afa6152ecf788aabb53abf1724
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e0f1782b1a25fec8eda540e82136709503846d10940a7c12a64e0aa09359b519f80b57a1173ce615f2efd37c3723637f7fe0d0b9b2ab9a0fa6c2c4175ffa08e
|
7
|
+
data.tar.gz: e36e42d3c79b0000a1aaa96c6ea20153ab2386941c01c0a046ed69cf35b3f654a7950a816872bc9efea56c7ea93d090efc6d1102da9dba5429376ef0431a9666
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,11 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
4
4
|
This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachangelog.com/)
|
5
5
|
|
6
6
|
## [Unreleased]
|
7
|
+
|
8
|
+
## [1.4.1] - 2017-07-13
|
9
|
+
### Fixed
|
10
|
+
- use timestamp_field from config for sorting in Kibana (@osgida)
|
11
|
+
|
7
12
|
## [1.4.0] - 2017-07-04
|
8
13
|
### Added
|
9
14
|
- added ruby 2.4 testing (@majormoses)
|
@@ -159,7 +164,8 @@ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachang
|
|
159
164
|
### Added
|
160
165
|
- initial release
|
161
166
|
|
162
|
-
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/1.4.
|
167
|
+
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/1.4.1...HEAD
|
168
|
+
[1.4.1]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/1.4.0...1.4.1
|
163
169
|
[1.4.0]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/1.3.1...1.4.0
|
164
170
|
[1.3.1]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/1.3.0...1.3.1
|
165
171
|
[1.3.0]: https://github.com/sensu-plugins/sensu-plugins-elasticsearch/compare/1.2.0...1.3.0
|
data/bin/check-es-query-ratio.rb
CHANGED
@@ -240,7 +240,7 @@ class ESQueryRatio < Sensu::Plugin::Check::CLI
|
|
240
240
|
"#{URI.escape(Time.at(start_time).utc.strftime kibana_date_format)}',mode:absolute,to:'" \
|
241
241
|
"#{URI.escape(Time.at(end_time).utc.strftime kibana_date_format)}'))&_a=(columns:!(_source),index:" \
|
242
242
|
"#{URI.escape(index)},interval:auto,query:(query_string:(analyze_wildcard:!t,query:'" \
|
243
|
-
"#{URI.escape(config[:query])}')),sort:!('
|
243
|
+
"#{URI.escape(config[:query])}')),sort:!('#{config[:timestamp_field]}',desc))&dummy"
|
244
244
|
end
|
245
245
|
end
|
246
246
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu-plugins-elasticsearch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.1
|
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-07-
|
11
|
+
date: 2017-07-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|