Include application_name in replication discovery data
This commit is contained in:
parent
107d5056d6
commit
cc71547f5f
@ -18,6 +18,7 @@ metrics:
|
||||
query:
|
||||
0: >
|
||||
SELECT host(client_addr) || '_' || regexp_replace(application_name, '[ ,]', '_', 'g') AS repid,
|
||||
application_name,
|
||||
client_addr,
|
||||
state
|
||||
FROM pg_stat_replication
|
||||
|
||||
Loading…
Reference in New Issue
Block a user