-
Notifications
You must be signed in to change notification settings - Fork 759
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
Add connection limits metrics for pg_roles and pg_database #997
Add connection limits metrics for pg_roles and pg_database #997
Conversation
6fb5b0f
to
f5ab218
Compare
f5ab218
to
8a549d9
Compare
@SuperQ: Hey, could you review my latest changes please? :) |
8a549d9
to
fafc274
Compare
Signed-off-by: Jocelyn Thode <jocelyn@thode.email>
Signed-off-by: Jocelyn Thode <jocelyn@thode.email>
fafc274
to
20dc930
Compare
const rolesSubsystem = "roles" | ||
|
||
func init() { | ||
registerCollector(rolesSubsystem, defaultEnabled, NewPGRolesCollector) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SuperQ How do you feel about this being default enabled?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any update @SuperQ ?
Co-authored-by: Joe Adams <github@joeadams.io> Signed-off-by: Jocelyn Thode <jocelynthode@users.noreply.github.com>
Co-authored-by: Joe Adams <github@joeadams.io> Signed-off-by: Jocelyn Thode <jocelynthode@users.noreply.github.com>
Co-authored-by: Joe Adams <github@joeadams.io> Signed-off-by: Jocelyn Thode <jocelynthode@users.noreply.github.com>
0687481
to
b131dc5
Compare
Signed-off-by: Jocelyn Thode <jocelyn@thode.email>
b131dc5
to
95ef252
Compare
@SuperQ any update on this PR? |
@sysadmind Is there something I can do to get this PR moving forward? I'm looking forward to be able to use these new metrics. |
It will be available in master. I'm not sure when the next release will be. I haven't had much time recently so I haven't been able to work on this project. |
Thanks for the work you do on this project it's much appreciated :) |
Fixes #996
This PR adds the possibility to gather metrics for Database and roles connection limits.