check_postgres icon indicating copy to clipboard operation
check_postgres copied to clipboard

Filter from application_name in pg_stat_activity

Open martinmarques opened this issue 11 years ago • 0 comments

Would it be possible to add a filter at application_name as to not check txn_idle for certain applications (for example long pg_dumps)?

If so, which would be the best aproach? Add a APPNAMEWHERECLAUSE, or just add specific filters in check_txn_time and pass them on to check_txn_idle?

I think the second would do, as I don't fint any where else for this to be needed.

martinmarques avatar Aug 30 '13 16:08 martinmarques