mirror of
https://github.com/prometheus-community/postgres_exporter
synced 2025-04-07 09:41:52 +00:00
Fixed formatting
Signed-off-by: cezmunsta <github@incoming-email.co.uk>
This commit is contained in:
parent
6937685907
commit
d9ac4be429
@ -282,12 +282,12 @@ var builtinMetricMaps = map[string]intermediateMetricMap{
|
|||||||
},
|
},
|
||||||
"pg_stat_activity": {
|
"pg_stat_activity": {
|
||||||
map[string]ColumnMapping{
|
map[string]ColumnMapping{
|
||||||
"datname": {LABEL, "Name of this database", nil, nil},
|
"datname": {LABEL, "Name of this database", nil, nil},
|
||||||
"state": {LABEL, "connection state", nil, semver.MustParseRange(">=9.2.0")},
|
"state": {LABEL, "connection state", nil, semver.MustParseRange(">=9.2.0")},
|
||||||
"usename": {LABEL, "connection usename", nil, nil},
|
"usename": {LABEL, "connection usename", nil, nil},
|
||||||
"application_name": {LABEL, "connection application_name", nil, nil},
|
"application_name": {LABEL, "connection application_name", nil, nil},
|
||||||
"count": {GAUGE, "number of connections in this state", 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_tx_duration": {GAUGE, "max duration in seconds any active transaction has been running", nil, nil},
|
||||||
},
|
},
|
||||||
true,
|
true,
|
||||||
0,
|
0,
|
||||||
|
Loading…
Reference in New Issue
Block a user