@@ -16,14 +16,14 @@ pg_db_18:
1616 min_version : 180000
1717 tags : [ cluster ]
1818 metrics :
19- - datname : { usage: LABEL ,description: Name of the database }
20- - datid : { usage: GAUGE ,description: OID of the database }
21- - age : { usage: GAUGE ,description: Age of database calculated from datfrozenxid }
22- - is_template : { usage: GAUGE ,description: If true(1), then this database can be cloned by any user with CREATEDB privileges }
23- - allow_conn : { usage: GAUGE ,description: If false(0) then no one can connect to this database. }
24- - conn_limit : { usage: GAUGE ,description: Sets maximum number of concurrent connections that can be made to this database. -1 means no limit. }
25- - frozen_xid : { usage: GAUGE ,description: All transaction IDs before this one have been frozened }
26- - numbackends : { usage: GAUGE ,description: Number of backends currently connected to this database }
19+ - datname : { usage: LABEL ,description: Name of the database }
20+ - datid : { usage: GAUGE ,description: OID of the database }
21+ - age : { usage: GAUGE ,description: Age of database calculated from datfrozenxid }
22+ - is_template : { usage: GAUGE ,description: If true(1), then this database can be cloned by any user with CREATEDB privileges }
23+ - allow_conn : { usage: GAUGE ,description: If false(0) then no one can connect to this database. }
24+ - conn_limit : { usage: GAUGE ,description: Sets maximum number of concurrent connections that can be made to this database. -1 means no limit. }
25+ - frozen_xid : { usage: GAUGE ,description: All transaction IDs before this one have been frozen }
26+ - numbackends : { usage: GAUGE ,description: Number of backends currently connected to this database }
2727 - xact_commit : { usage: COUNTER ,description: Number of transactions in this database that have been committed }
2828 - xact_rollback : { usage: COUNTER ,description: Number of transactions in this database that have been rolled back }
2929 - xact_total : { usage: COUNTER ,description: Number of transactions in this database }
@@ -41,7 +41,7 @@ pg_db_18:
4141 - temp_bytes : { usage: COUNTER ,description: Total amount of data written to temporary files by queries in this database. }
4242 - deadlocks : { usage: COUNTER ,description: Number of deadlocks detected in this database }
4343 - cks_fails : { usage: COUNTER ,description: Number of data page checksum failures detected in this database, -1 for not enabled }
44- - cks_fail_time : { usage: GAUGE ,description: Time at which the last data page checksum failure was detected in this database }
44+ - cks_fail_time : { usage: GAUGE ,description: Time at which the last data page checksum failure was detected in this database }
4545 - blk_read_time : { usage: COUNTER ,scale: 1e-3 ,description: Time spent reading data file blocks by backends in this database, in seconds }
4646 - blk_write_time : { usage: COUNTER ,scale: 1e-3 ,description: Time spent writing data file blocks by backends in this database, in seconds }
4747 - session_time : { usage: COUNTER ,scale: 1e-3 ,description: Time spent by database sessions in this database, in seconds }
@@ -70,14 +70,14 @@ pg_db_14:
7070 max_version : 180000
7171 tags : [ cluster ]
7272 metrics :
73- - datname : { usage: LABEL ,description: Name of the database }
74- - datid : { usage: GAUGE ,description: OID of the database }
75- - age : { usage: GAUGE ,description: Age of database calculated from datfrozenxid }
76- - is_template : { usage: GAUGE ,description: If true(1), then this database can be cloned by any user with CREATEDB privileges }
77- - allow_conn : { usage: GAUGE ,description: If false(0) then no one can connect to this database. }
78- - conn_limit : { usage: GAUGE ,description: Sets maximum number of concurrent connections that can be made to this database. -1 means no limit. }
79- - frozen_xid : { usage: GAUGE ,description: All transaction IDs before this one have been frozened }
80- - numbackends : { usage: GAUGE ,description: Number of backends currently connected to this database }
73+ - datname : { usage: LABEL ,description: Name of the database }
74+ - datid : { usage: GAUGE ,description: OID of the database }
75+ - age : { usage: GAUGE ,description: Age of database calculated from datfrozenxid }
76+ - is_template : { usage: GAUGE ,description: If true(1), then this database can be cloned by any user with CREATEDB privileges }
77+ - allow_conn : { usage: GAUGE ,description: If false(0) then no one can connect to this database. }
78+ - conn_limit : { usage: GAUGE ,description: Sets maximum number of concurrent connections that can be made to this database. -1 means no limit. }
79+ - frozen_xid : { usage: GAUGE ,description: All transaction IDs before this one have been frozen }
80+ - numbackends : { usage: GAUGE ,description: Number of backends currently connected to this database }
8181 - xact_commit : { usage: COUNTER ,description: Number of transactions in this database that have been committed }
8282 - xact_rollback : { usage: COUNTER ,description: Number of transactions in this database that have been rolled back }
8383 - xact_total : { usage: COUNTER ,description: Number of transactions in this database }
@@ -95,7 +95,7 @@ pg_db_14:
9595 - temp_bytes : { usage: COUNTER ,description: Total amount of data written to temporary files by queries in this database. }
9696 - deadlocks : { usage: COUNTER ,description: Number of deadlocks detected in this database }
9797 - cks_fails : { usage: COUNTER ,description: Number of data page checksum failures detected in this database, -1 for not enabled }
98- - cks_fail_time : { usage: GAUGE ,description: Time at which the last data page checksum failure was detected in this database }
98+ - cks_fail_time : { usage: GAUGE ,description: Time at which the last data page checksum failure was detected in this database }
9999 - blk_read_time : { usage: COUNTER ,scale: 1e-3 ,description: Time spent reading data file blocks by backends in this database, in seconds }
100100 - blk_write_time : { usage: COUNTER ,scale: 1e-3 ,description: Time spent writing data file blocks by backends in this database, in seconds }
101101 - session_time : { usage: COUNTER ,scale: 1e-3 ,description: Time spent by database sessions in this database, in seconds }
@@ -122,14 +122,14 @@ pg_db_12:
122122 max_version : 140000
123123 tags : [ cluster ]
124124 metrics :
125- - datname : { usage: LABEL ,description: Name of the database }
126- - datid : { usage: GAUGE ,description: OID of the database }
127- - age : { usage: GAUGE ,description: Age of database calculated from datfrozenxid }
128- - is_template : { usage: GAUGE ,description: If true(1), then this database can be cloned by any user with CREATEDB privileges }
129- - allow_conn : { usage: GAUGE ,description: If false(0) then no one can connect to this database. }
130- - conn_limit : { usage: GAUGE ,description: Sets maximum number of concurrent connections that can be made to this database. -1 means no limit. }
131- - frozen_xid : { usage: GAUGE ,description: All transaction IDs before this one have been frozened }
132- - numbackends : { usage: GAUGE ,description: Number of backends currently connected to this database }
125+ - datname : { usage: LABEL ,description: Name of the database }
126+ - datid : { usage: GAUGE ,description: OID of the database }
127+ - age : { usage: GAUGE ,description: Age of database calculated from datfrozenxid }
128+ - is_template : { usage: GAUGE ,description: If true(1), then this database can be cloned by any user with CREATEDB privileges }
129+ - allow_conn : { usage: GAUGE ,description: If false(0) then no one can connect to this database. }
130+ - conn_limit : { usage: GAUGE ,description: Sets maximum number of concurrent connections that can be made to this database. -1 means no limit. }
131+ - frozen_xid : { usage: GAUGE ,description: All transaction IDs before this one have been frozen }
132+ - numbackends : { usage: GAUGE ,description: Number of backends currently connected to this database }
133133 - xact_commit : { usage: COUNTER ,description: Number of transactions in this database that have been committed }
134134 - xact_rollback : { usage: COUNTER ,description: Number of transactions in this database that have been rolled back }
135135 - xact_total : { usage: COUNTER ,description: Number of transactions in this database }
@@ -147,7 +147,7 @@ pg_db_12:
147147 - temp_bytes : { usage: COUNTER ,description: Total amount of data written to temporary files by queries in this database. }
148148 - deadlocks : { usage: COUNTER ,description: Number of deadlocks detected in this database }
149149 - cks_fails : { usage: COUNTER ,description: Number of data page checksum failures detected in this database, -1 for not enabled }
150- - cks_fail_time : { usage: GAUGE ,description: Time at which the last data page checksum failure was detected in this database }
150+ - cks_fail_time : { usage: GAUGE ,description: Time at which the last data page checksum failure was detected in this database }
151151 - blk_read_time : { usage: COUNTER ,scale: 1e-3 ,description: Time spent reading data file blocks by backends in this database, in seconds }
152152 - blk_write_time : { usage: COUNTER ,scale: 1e-3 ,description: Time spent writing data file blocks by backends in this database, in seconds }
153153 - reset_time : { usage: GAUGE ,description: Time at which database statistics were last reset }
@@ -164,14 +164,14 @@ pg_db_10:
164164 max_version : 120000
165165 tags : [ cluster ]
166166 metrics :
167- - datname : { usage: LABEL ,description: Name of the database }
168- - datid : { usage: GAUGE ,description: OID of the database }
169- - age : { usage: GAUGE ,description: Age of database calculated from datfrozenxid }
170- - is_template : { usage: GAUGE ,description: If true(1), then this database can be cloned by any user with CREATEDB privileges }
171- - allow_conn : { usage: GAUGE ,description: If false(0) then no one can connect to this database. }
172- - conn_limit : { usage: GAUGE ,description: Sets maximum number of concurrent connections that can be made to this database. -1 means no limit. }
173- - frozen_xid : { usage: GAUGE ,description: All transaction IDs before this one have been frozened }
174- - numbackends : { usage: GAUGE ,description: Number of backends currently connected to this database }
167+ - datname : { usage: LABEL ,description: Name of the database }
168+ - datid : { usage: GAUGE ,description: OID of the database }
169+ - age : { usage: GAUGE ,description: Age of database calculated from datfrozenxid }
170+ - is_template : { usage: GAUGE ,description: If true(1), then this database can be cloned by any user with CREATEDB privileges }
171+ - allow_conn : { usage: GAUGE ,description: If false(0) then no one can connect to this database. }
172+ - conn_limit : { usage: GAUGE ,description: Sets maximum number of concurrent connections that can be made to this database. -1 means no limit. }
173+ - frozen_xid : { usage: GAUGE ,description: All transaction IDs before this one have been frozen }
174+ - numbackends : { usage: GAUGE ,description: Number of backends currently connected to this database }
175175 - xact_commit : { usage: COUNTER ,description: Number of transactions in this database that have been committed }
176176 - xact_rollback : { usage: COUNTER ,description: Number of transactions in this database that have been rolled back }
177177 - xact_total : { usage: COUNTER ,description: Number of transactions in this database }
0 commit comments