-
Notifications
You must be signed in to change notification settings - Fork 174
Closed
Description
PostgreSQL 10 now lists the replication process in pg_stat_activity. This leads to check_postgres --action=query_time finding that process and reporting it as long running query.
Here's an example row of pg_stat_activity:
-[ RECORD 1 ]----+---------------------------------
datid |
datname |
pid | 26414
usesysid | 17326
usename | somereplicationuser
application_name | myappname
client_addr | 12.34.56.78
client_hostname | host.example.com
client_port | 35912
backend_start | 2018-01-31 13:52:49.120219+01
xact_start |
query_start |
state_change | 2018-01-31 13:52:49.13702+01
wait_event_type | Activity
wait_event | WalSenderMain
state | active
backend_xid |
backend_xmin |
query |
backend_type | walsender
Would it be possible to exclude those processes?
Thanks a lot
Metadata
Metadata
Assignees
Labels
No labels