Skip to content

Commit 18048f9

Browse files
Add backend generated metric postgresql.connections_by_process metadata (#20052)
* testing a branch * add postgresql.connections_by_process metadata * Delete allen-test-file.txt
1 parent 04b52f7 commit 18048f9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

postgres/metadata.csv

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ postgresql.conflicts.deadlock,count,,query,,"Number of queries in this database
4545
postgresql.conflicts.lock,count,,query,,Number of queries in this database that have been canceled due to lock timeouts. This will occur when the walreceiver process tries to apply a change requiring an ACCESS EXCLUSIVE lock while a query on the replica is reading the table. The conflicting query will be killed after waiting up to max_standby_streaming_delay seconds. This metric is tagged with db.,-1,postgres,cfl lock,
4646
postgresql.conflicts.snapshot,count,,query,,"Number of queries in this database that have been canceled due to old snapshots. Snapshot conflict will occur when a VACUUM is replayed, removing tuples currently read on a standby. This metric is tagged with db.",-1,postgres,cfl snapshot,
4747
postgresql.conflicts.tablespace,count,,query,,Number of queries in this database that have been canceled due to dropped tablespaces. This will occur when a temp_tablespace is dropped while being used on a standby. This metric is tagged with db.,-1,postgres,cfl tablespace,
48-
postgresql.connections,gauge,,connection,,"The number of active connections to this database. If DBM is enabled, this metric is tagged with state, app, db and user",0,postgres,conns,
48+
postgresql.connections,gauge,,connection,,"The number of active connections to this database.",0,postgres,conns,
49+
postgresql.connections_by_process,gauge,,connection,,"The number of active connections to this database, broken down by process-level attributes. This metric is tagged with state, application, user, and db. (DBM only)",0,postgres,conns,
4950
postgresql.control.checkpoint_delay,gauge,,second,,The time since the last checkpoint.,0,postgres,control checkpoint,
5051
postgresql.control.checkpoint_delay_bytes,gauge,,byte,,The amount of WAL bytes written since the last checkpoint.,0,postgres,control checkpoint byte,
5152
postgresql.control.redo_delay_bytes,gauge,,byte,,The amount of WAL bytes written since the last redo point.,0,postgres,control redo byte,

0 commit comments

Comments
 (0)