bug count of metric-postgres-locks.rb
madboxkr opened this issue · 5 comments
madboxkr commented
https://github.com/madboxkr/sensu-plugins-postgres/pull/1/files
Please see this changement
A count is never returned correct values on monitoring after use "group by" on request.
Please fix this issue on your code.
eheydrick commented
Hi @madboxkr, thanks for noticing the issue and coming up with a fix. Could you open a PR in this repo and we'll get your fix in.
majormoses commented
it looks like that branch just needs to be rebased against upstream and create a pr. If someone else wants to take this it should be fairly trivial to do this.
majormoses commented
I pulled the patch into #39
eheydrick commented
Released in 1.4.2: https://rubygems.org/gems/sensu-plugins-postgres/versions/1.4.2
eheydrick commented
Thanks for the fix @madboxkr and @majormoses for getting it in!