check_postgres
check_postgres copied to clipboard
Filter from application_name in pg_stat_activity
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.