You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/postgres_exporter/postgres_exporter.go
+9-9
Original file line number
Diff line number
Diff line change
@@ -227,15 +227,15 @@ var builtinMetricMaps = map[string]intermediateMetricMap{
227
227
},
228
228
"pg_stat_replication": {
229
229
map[string]ColumnMapping{
230
-
"procpid": {DISCARD, "Process ID of a WAL sender process", nil, semver.MustParseRange("<9.2.0")},
231
-
"pid": {DISCARD, "Process ID of a WAL sender process", nil, semver.MustParseRange(">=9.2.0")},
232
-
"usesysid": {DISCARD, "OID of the user logged into this WAL sender process", nil, nil},
233
-
"usename": {DISCARD, "Name of the user logged into this WAL sender process", nil, nil},
234
-
"application_name": {LABEL, "Name of the application that is connected to this WAL sender", nil, nil},
235
-
"client_addr": {LABEL, "IP address of the client connected to this WAL sender. If this field is null, it indicates that the client is connected via a Unix socket on the server machine.", nil, nil},
236
-
"client_hostname": {DISCARD, "Host name of the connected client, as reported by a reverse DNS lookup of client_addr. This field will only be non-null for IP connections, and only when log_hostname is enabled.", nil, nil},
237
-
"client_port": {DISCARD, "TCP port number that the client is using for communication with this WAL sender, or -1 if a Unix socket is used", nil, nil},
238
-
"backend_start": {DISCARD, "with time zone Time when this process was started, i.e., when the client connected to this WAL sender", nil, nil},
230
+
"procpid": {DISCARD, "Process ID of a WAL sender process", nil, semver.MustParseRange("<9.2.0")},
231
+
"pid": {DISCARD, "Process ID of a WAL sender process", nil, semver.MustParseRange(">=9.2.0")},
232
+
"usesysid": {DISCARD, "OID of the user logged into this WAL sender process", nil, nil},
233
+
"usename": {DISCARD, "Name of the user logged into this WAL sender process", nil, nil},
234
+
"application_name": {LABEL, "Name of the application that is connected to this WAL sender", nil, nil},
235
+
"client_addr": {LABEL, "IP address of the client connected to this WAL sender. If this field is null, it indicates that the client is connected via a Unix socket on the server machine.", nil, nil},
236
+
"client_hostname": {DISCARD, "Host name of the connected client, as reported by a reverse DNS lookup of client_addr. This field will only be non-null for IP connections, and only when log_hostname is enabled.", nil, nil},
237
+
"client_port": {DISCARD, "TCP port number that the client is using for communication with this WAL sender, or -1 if a Unix socket is used", nil, nil},
238
+
"backend_start": {DISCARD, "with time zone Time when this process was started, i.e., when the client connected to this WAL sender", nil, nil},
239
239
"backend_xmin": {DISCARD, "The current backend's xmin horizon.", nil, nil},
0 commit comments