sensu-plugins-postgres 2.2.1 → 2.2.2
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 +4 -4
- data/CHANGELOG.md +6 -1
- data/bin/metric-postgres-statsdb.rb +2 -2
- data/lib/sensu-plugins-postgres/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: e486ba4b6be97a59bf9ce5ab6698aa1f06259b3d047f1664f9c8ea5af50af2ba
|
|
4
|
+
data.tar.gz: fe88e75af6e33f353b5f0971a4a10758c390e3462a7cfb07de43b42ef6450e83
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9daf56fc3e7329dcddba532844f4cb1e0f39962d1ae3a8c31f1ec84d6db6a62ec024044037cf241d544e5f2c4d2fc09b12a904e237d65a7bd6a7fac34f912f45
|
|
7
|
+
data.tar.gz: 883c5427c025521d5e303ab1a5024ab1b81af9c104cb65629702ccf28cf0405ed3e15029c1f39bbcdd0275f0003e0abe1280757ab6e37d8202224b2f5bb7d152
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,10 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [2.2.2] - 2018-10-27
|
|
9
|
+
### Fixed
|
|
10
|
+
- Remove unexplicit dependency on ActiveSupport (@multani)
|
|
11
|
+
|
|
8
12
|
## [2.2.1] - 2018-10-16
|
|
9
13
|
### Security
|
|
10
14
|
- updated yard dependency to `~> 0.9.11` per: https://nvd.nist.gov/vuln/detail/CVE-2017-17042 (@majormoses)
|
|
@@ -162,7 +166,8 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
|
|
|
162
166
|
### Added
|
|
163
167
|
- initial release
|
|
164
168
|
|
|
165
|
-
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-postgres/compare/2.2.
|
|
169
|
+
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-postgres/compare/2.2.2...HEAD
|
|
170
|
+
[2.2.2]: https://github.com/sensu-plugins/sensu-plugins-postgres/compare/2.2.1...2.2.2
|
|
166
171
|
[2.2.1]: https://github.com/sensu-plugins/sensu-plugins-postgres/compare/2.2.0...2.2.1
|
|
167
172
|
[2.2.0]: https://github.com/sensu-plugins/sensu-plugins-postgres/compare/2.1.0...2.2.0
|
|
168
173
|
[2.1.0]: https://github.com/sensu-plugins/sensu-plugins-postgres/compare/2.0.0...2.1.0
|
|
@@ -29,7 +29,6 @@
|
|
|
29
29
|
# for details.
|
|
30
30
|
#
|
|
31
31
|
|
|
32
|
-
require 'active_support/core_ext/hash'
|
|
33
32
|
require 'sensu-plugins-postgres/pgpass'
|
|
34
33
|
require 'sensu-plugin/metric/cli'
|
|
35
34
|
require 'pg'
|
|
@@ -95,7 +94,8 @@ class PostgresStatsDBMetrics < Sensu::Plugin::Metric::CLI::Graphite
|
|
|
95
94
|
]
|
|
96
95
|
con.exec(request.join(' ')) do |result|
|
|
97
96
|
result.each do |row|
|
|
98
|
-
row.
|
|
97
|
+
row.each do |key, value|
|
|
98
|
+
next if %w[datid stats_reset].include?(key)
|
|
99
99
|
output "#{config[:scheme]}.statsdb.#{config[:database]}.#{key}", value.to_s, timestamp
|
|
100
100
|
end
|
|
101
101
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sensu-plugins-postgres
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.2.
|
|
4
|
+
version: 2.2.2
|
|
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: 2018-10-
|
|
11
|
+
date: 2018-10-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: sensu-plugin
|