sensu-plugins-postgres 2.3.0 → 2.3.1
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 +1 -1
- 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: 81d24e9ab393e0ef90085644a3edb9d44cb67c3675bb43c8c4554bc7e9446c23
|
|
4
|
+
data.tar.gz: 6d923e1508cbb8dc14f364d9e3bf8b5953ae2e2853d015734f61b15e368d70c5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8fc5073d3a9161abaf35b6b2f80fe53848f08f28fa6743d3740db6ba8c4a33cbe0bd97d2f2bed39ef07dae69e121b0185d969544086de53acabe631cd2aa4bdd
|
|
7
|
+
data.tar.gz: ba0ec9b5ed4c3b0a91e4aa11794985269ce7c82eda72b95c4781dba813fa7db5665312a3f6f8f82dd16ef12a0a89e4501a3ba6d6428031ee274e651667a3e84d
|
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.3.1] - 2018-12-16
|
|
9
|
+
### Fixed
|
|
10
|
+
- metric-postgres-statsdb.rb: Change `Array` method from `append` to `push` to maintain compatibility w/ non-EOL Rubies (@phumpal)
|
|
11
|
+
|
|
8
12
|
## [2.3.0] - 2018-12-08
|
|
9
13
|
### Added
|
|
10
14
|
- metric-postgres-statsdb.rb: Add --all-databases option. (@cyrilgdn)
|
|
@@ -170,7 +174,8 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
|
|
|
170
174
|
### Added
|
|
171
175
|
- initial release
|
|
172
176
|
|
|
173
|
-
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-postgres/compare/2.3.
|
|
177
|
+
[Unreleased]: https://github.com/sensu-plugins/sensu-plugins-postgres/compare/2.3.1...HEAD
|
|
178
|
+
[2.3.1]: https://github.com/sensu-plugins/sensu-plugins-postgres/compare/2.3.0...2.3.1
|
|
174
179
|
[2.3.0]: https://github.com/sensu-plugins/sensu-plugins-postgres/compare/2.2.2...2.3.0
|
|
175
180
|
[2.2.2]: https://github.com/sensu-plugins/sensu-plugins-postgres/compare/2.2.1...2.2.2
|
|
176
181
|
[2.2.1]: https://github.com/sensu-plugins/sensu-plugins-postgres/compare/2.2.0...2.2.1
|
|
@@ -101,7 +101,7 @@ class PostgresStatsDBMetrics < Sensu::Plugin::Metric::CLI::Graphite
|
|
|
101
101
|
params = []
|
|
102
102
|
unless config[:all_databases]
|
|
103
103
|
query += ' WHERE datname = $1'
|
|
104
|
-
params.
|
|
104
|
+
params.push config[:database]
|
|
105
105
|
end
|
|
106
106
|
|
|
107
107
|
con.exec_params(query, params) do |result|
|
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.3.
|
|
4
|
+
version: 2.3.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: 2018-12-
|
|
11
|
+
date: 2018-12-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: sensu-plugin
|