There was an error while loading. Please reload this page.
1 parent 6937685 commit d9ac4beCopy full SHA for d9ac4be
cmd/postgres_exporter/postgres_exporter.go
@@ -282,12 +282,12 @@ var builtinMetricMaps = map[string]intermediateMetricMap{
282
},
283
"pg_stat_activity": {
284
map[string]ColumnMapping{
285
-"datname": {LABEL, "Name of this database", nil, nil},
286
-"state": {LABEL, "connection state", nil, semver.MustParseRange(">=9.2.0")},
+"datname": {LABEL, "Name of this database", nil, nil},
+"state": {LABEL, "connection state", nil, semver.MustParseRange(">=9.2.0")},
287
"usename": {LABEL, "connection usename", nil, nil},
288
"application_name": {LABEL, "connection application_name", nil, nil},
289
-"count": {GAUGE, "number of connections in this state", nil, nil},
290
-"max_tx_duration": {GAUGE, "max duration in seconds any active transaction has been running", nil, nil},
+"count": {GAUGE, "number of connections in this state", nil, nil},
+"max_tx_duration": {GAUGE, "max duration in seconds any active transaction has been running", nil, nil},
291
292
true,
293
0,
0 commit comments