Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support pgbouncer over 1.8.0 #548

Open
madboxkr opened this issue Mar 6, 2018 · 0 comments
Open

Support pgbouncer over 1.8.0 #548

madboxkr opened this issue Mar 6, 2018 · 0 comments

Comments

@madboxkr
Copy link

madboxkr commented Mar 6, 2018

SHOW STATS's results is changed after 1.8.x

/usr/local/lib/python2.7/dist-packages/newrelic_plugin_agent/plugins# diff -u0 pgbouncer.py pgbouncer.py.v1.8.1
--- pgbouncer.py	2018-03-06 13:12:09.462992560 +0900
+++ pgbouncer.py.v1.8.1	2018-03-06 13:11:02.278094643 +0900
@@ -41 +41 @@
-                                  database['total_requests'])
+                                  database['total_query_count'])
@@ -46 +46 @@
-            requests += database['total_requests']
+            requests += database['total_query_count'] 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant