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

check_pgb_pool generates duplicate metrics per database #212

Open
mayrstefan opened this issue Apr 12, 2024 · 0 comments
Open

check_pgb_pool generates duplicate metrics per database #212

mayrstefan opened this issue Apr 12, 2024 · 0 comments

Comments

@mayrstefan
Copy link

The check_pgb_pool function generates metrics per database. But PgBouncer SHOW POOLS generates a tuple of database and user per row.

So if we have a database exampledb and SHOW POOLS has data for userA and userB we get the metric for exampledb twice. So even if those are two datapoints you might get only one metric in your graphing tool.

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