Skip to content

Commit 6ff01c2

Browse files
committed
PMM-13697 fix indentation.
1 parent 2f156dd commit 6ff01c2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

cmd/postgres_exporter/postgres_exporter.go

+7-7
Original file line numberDiff line numberDiff line change
@@ -258,13 +258,13 @@ var builtinMetricMaps = map[string]intermediateMetricMap{
258258
},
259259
"pg_stat_activity": {
260260
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},
268268
},
269269
true,
270270
0,

0 commit comments

Comments
 (0)