-
Notifications
You must be signed in to change notification settings - Fork 79
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
poolstats: support pgxpool metrics from two pools #1328
Conversation
f455af0
to
fa0cfef
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1328 +/- ##
==========================================
- Coverage 56.29% 56.24% -0.06%
==========================================
Files 266 266
Lines 16846 16838 -8
==========================================
- Hits 9484 9471 -13
- Misses 6398 6402 +4
- Partials 964 965 +1 ☔ View full report in Codecov by Sentry. |
bump - any chance of this being mergeable? |
Good find, I guess combo mode is getting slightly neglected these days |
fa0cfef
to
3db2ad6
Compare
3db2ad6
to
ebf4613
Compare
Curious, do you run Clair in combo mode in production @frostmar? |
Signed-off-by: Mark Frost <frostmar@uk.ibm.com>
ebf4613
to
4c5aa9e
Compare
/fast-forward |
No, but we have a liveness probe added for the Postgres DB, which was recently updated to use a separate connpool, and I found it wasn't possible to see stats from more than one connpool! The combo mode made a nice recreate without needing anything outside the clair codebase |
Fixes #1326
Support publishing pxgpool stats from two different pools as Prometheus metrics with different
application_name
labels.A clair running in
combo
mode after: