-
Notifications
You must be signed in to change notification settings - Fork 752
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
feat: add usename to pg_process_idle metric #954
base: master
Are you sure you want to change the base?
Conversation
c656d09
to
883e7b0
Compare
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.
The database scanning wasn't updated so this will fail and there is no label changes. Is the intention to add a label to the metric?
collector/pg_process_idle.go
Outdated
@@ -52,11 +52,12 @@ func (PGProcessIdleCollector) Update(ctx context.Context, instance *instance, ch | |||
SELECT | |||
state, | |||
application_name, | |||
usename, |
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.
The indentation is not correct here.
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.
Sorry for that. But I fixed that in force-push. Am I right?
Thank for your time.
|
d3dc319
to
68bc21b
Compare
Signed-off-by: rezaxd <[email protected]>
Hello dear @sysadmind ! |
Add usename to query of pg_process_idle metric.