You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: config/collector/610-pg_db.yml
+18-9Lines changed: 18 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -105,23 +105,28 @@ pg_db_14:
105
105
# Time at which the last data page checksum failure was detected in this database (or on a shared object), or NULL if data checksums are not enabled.
106
106
- blk_read_time:
107
107
usage: COUNTER
108
-
description: Time spent reading data file blocks by backends in this database, in ms
108
+
scale: 1e-3
109
+
description: Time spent reading data file blocks by backends in this database, in seconds
109
110
# Time spent reading data file blocks by backends in this database, in milliseconds (if track_io_timing is enabled, otherwise zero)
110
111
- blk_write_time:
111
112
usage: COUNTER
112
-
description: Time spent writing data file blocks by backends in this database, in ms
113
+
scale: 1e-3
114
+
description: Time spent writing data file blocks by backends in this database, in seconds
113
115
# Time spent writing data file blocks by backends in this database, in milliseconds (if track_io_timing is enabled, otherwise zero)
114
116
- session_time:
115
117
usage: COUNTER
116
-
description: Time spent by database sessions in this database, in ms
118
+
scale: 1e-3
119
+
description: Time spent by database sessions in this database, in seconds
117
120
# Time spent by database sessions in this database, in milliseconds (note that statistics are only updated when the state of a session changes, so if sessions have been idle for a long time, this idle time won't be included)
118
121
- active_time:
119
122
usage: COUNTER
120
-
description: Time spent executing SQL statements in this database, in ms
123
+
scale: 1e-3
124
+
description: Time spent executing SQL statements in this database, in seconds
121
125
# Time spent executing SQL statements in this database, in milliseconds (this corresponds to the states active and fastpath function call in pg_stat_activity)
122
126
- ixact_time:
123
127
usage: COUNTER
124
-
description: Time spent idling while in a transaction in this database, in ms
128
+
scale: 1e-3
129
+
description: Time spent idling while in a transaction in this database, in seconds
125
130
- sessions:
126
131
usage: COUNTER
127
132
description: Total number of sessions established to this database
@@ -246,11 +251,13 @@ pg_db_12_13:
246
251
# Time at which the last data page checksum failure was detected in this database (or on a shared object), or NULL if data checksums are not enabled.
247
252
- blk_read_time:
248
253
usage: COUNTER
249
-
description: Time spent reading data file blocks by backends in this database, in ms
254
+
scale: 1e-3
255
+
description: Time spent reading data file blocks by backends in this database, in seconds
250
256
# Time spent reading data file blocks by backends in this database, in milliseconds (if track_io_timing is enabled, otherwise zero)
251
257
- blk_write_time:
252
258
usage: COUNTER
253
-
description: Time spent writing data file blocks by backends in this database, in ms
259
+
scale: 1e-3
260
+
description: Time spent writing data file blocks by backends in this database, in seconds
254
261
# Time spent writing data file blocks by backends in this database, in milliseconds (if track_io_timing is enabled, otherwise zero)
255
262
- reset_time:
256
263
usage: COUNTER
@@ -355,11 +362,13 @@ pg_db_10_11:
355
362
description: Number of deadlocks detected in this database
356
363
- blk_read_time:
357
364
usage: COUNTER
358
-
description: Time spent reading data file blocks by backends in this database, in ms
365
+
scale: 1e-3
366
+
description: Time spent reading data file blocks by backends in this database, in seconds
359
367
# Time spent reading data file blocks by backends in this database, in milliseconds (if track_io_timing is enabled, otherwise zero)
360
368
- blk_write_time:
361
369
usage: COUNTER
362
-
description: Time spent writing data file blocks by backends in this database, in ms
370
+
scale: 1e-3
371
+
description: Time spent writing data file blocks by backends in this database, in seconds
363
372
# Time spent writing data file blocks by backends in this database, in milliseconds (if track_io_timing is enabled, otherwise zero)
0 commit comments