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

longest_query should return application_name #347

Open
Krysztophe opened this issue Jan 12, 2023 · 0 comments
Open

longest_query should return application_name #347

Krysztophe opened this issue Jan 12, 2023 · 0 comments

Comments

@Krysztophe
Copy link
Collaborator

I'd like to see the application_name in the perfdata, something like that:

POSTGRES_LONGEST_QUERY CRITICAL: mydatabase (pg_dump): 6h26m28s

Knowing at once if this is a backup or a pgadmin4 or a batch is useful when filtering out the warnings in the morning.

Probably not as default, as it may break some graphs.

We already retrieve the application_name to exclude some queries.

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