Skip to content

Commit 928a54f

Browse files
committed
Fixed formatting
Signed-off-by: cezmunsta <[email protected]>
1 parent ab19ed7 commit 928a54f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cmd/postgres_exporter/postgres_exporter.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -282,12 +282,12 @@ var builtinMetricMaps = map[string]intermediateMetricMap{
282282
},
283283
"pg_stat_activity": {
284284
map[string]ColumnMapping{
285-
"datname": {LABEL, "Name of this database", nil, nil},
286-
"state": {LABEL, "connection state", nil, semver.MustParseRange(">=9.2.0")},
285+
"datname": {LABEL, "Name of this database", nil, nil},
286+
"state": {LABEL, "connection state", nil, semver.MustParseRange(">=9.2.0")},
287287
"usename": {LABEL, "connection usename", nil, nil},
288288
"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},
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},
291291
},
292292
true,
293293
0,

0 commit comments

Comments
 (0)