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

feat: add wait/backend to pg_stat_activity #1106

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fgalind1
Copy link

@fgalind1 fgalind1 commented Dec 26, 2024

This PR adds backend_type, wait_event_type and wait_event labels to the pg_stat_activity metrics. These are very helpful when debugging and trying to understand what kind of queries are stacked in a waiting state and/or where those queries are coming from

Signed-off-by: Felipe Galindo Sanchez <[email protected]>
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

Successfully merging this pull request may close these issues.

2 participants