From fd00d80195fb1b4a70b6795d325e272b403ef637 Mon Sep 17 00:00:00 2001 From: Nurlan Moldomurov Date: Wed, 5 Feb 2025 11:07:26 +0300 Subject: [PATCH] PMM-13697 fix indentation. --- cmd/postgres_exporter/postgres_exporter.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/cmd/postgres_exporter/postgres_exporter.go b/cmd/postgres_exporter/postgres_exporter.go index 06fb0146..3d890a16 100644 --- a/cmd/postgres_exporter/postgres_exporter.go +++ b/cmd/postgres_exporter/postgres_exporter.go @@ -258,13 +258,13 @@ var builtinMetricMaps = map[string]intermediateMetricMap{ }, "pg_stat_activity": { map[string]ColumnMapping{ - "datname": {LABEL, "Name of this database", nil, nil}, - "state": {LABEL, "connection state", nil, semver.MustParseRange(">=9.2.0")}, - "usename": {LABEL, "Name of the user logged into this backend", nil, nil}, - "application_name": {LABEL, "Name of the application that is connected to this backend", 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}, - "max_state_duration": {GAUGE, "max state change duration in seconds any active transaction has been", nil, nil}, + "datname": {LABEL, "Name of this database", nil, nil}, + "state": {LABEL, "connection state", nil, semver.MustParseRange(">=9.2.0")}, + "usename": {LABEL, "Name of the user logged into this backend", nil, nil}, + "application_name": {LABEL, "Name of the application that is connected to this backend", 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}, + "max_state_duration": {GAUGE, "max state change duration in seconds any active transaction has been", nil, nil}, }, true, 0,