@@ -258,13 +258,13 @@ var builtinMetricMaps = map[string]intermediateMetricMap{
258
258
},
259
259
"pg_stat_activity" : {
260
260
map [string ]ColumnMapping {
261
- "datname" : {LABEL , "Name of this database" , nil , nil },
262
- "state" : {LABEL , "connection state" , nil , semver .MustParseRange (">=9.2.0" )},
263
- "usename" : {LABEL , "Name of the user logged into this backend" , nil , nil },
264
- "application_name" : {LABEL , "Name of the application that is connected to this backend" , nil , nil },
265
- "count" : {GAUGE , "number of connections in this state" , nil , nil },
266
- "max_tx_duration" : {GAUGE , "max duration in seconds any active transaction has been running" , nil , nil },
267
- "max_state_duration" : {GAUGE , "max state change duration in seconds any active transaction has been" , nil , nil },
261
+ "datname" : {LABEL , "Name of this database" , nil , nil },
262
+ "state" : {LABEL , "connection state" , nil , semver .MustParseRange (">=9.2.0" )},
263
+ "usename" : {LABEL , "Name of the user logged into this backend" , nil , nil },
264
+ "application_name" : {LABEL , "Name of the application that is connected to this backend" , nil , nil },
265
+ "count" : {GAUGE , "number of connections in this state" , nil , nil },
266
+ "max_tx_duration" : {GAUGE , "max duration in seconds any active transaction has been running" , nil , nil },
267
+ "max_state_duration" : {GAUGE , "max state change duration in seconds any active transaction has been" , nil , nil },
268
268
},
269
269
true ,
270
270
0 ,
0 commit comments