Commit 227898d
authored
Revert "Exclude the metrics fetching session's data from pg_stat_activity (prometheus-community#1185)" (#7)
This reverts commit 198454c.
prometheus-community#1185
appears to have broken some things:
>
{"time":"2025-09-10T03:57:53.677992156Z","level":"ERROR","source":"collector.go:223","msg":"collector
failed","name":"long_running_transactions","duration_seconds":0.010053746,"err":"sql:
Scan error on column index 1, name \"oldest_timestamp_seconds\":
converting NULL to float64 is unsupported"}
>
{"time":"2025-09-10T03:57:53.679318983Z","level":"ERROR","source":"collector.go:223","msg":"collector
failed","name":"process_idle","duration_seconds":0.011370523,"err":"pq:
syntax error at or near \";\""}
Signed-off-by: Max Englander <[email protected]>1 parent 8ca1365 commit 227898d
File tree
3 files changed
+2
-8
lines changed- cmd/postgres_exporter
- collector
3 files changed
+2
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
146 | 145 | | |
147 | 146 | | |
148 | 147 | | |
| |||
157 | 156 | | |
158 | 157 | | |
159 | 158 | | |
160 | | - | |
161 | | - | |
162 | | - | |
| 159 | + | |
163 | 160 | | |
164 | 161 | | |
165 | 162 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | | - | |
| 59 | + | |
61 | 60 | | |
62 | 61 | | |
63 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | 59 | | |
61 | 60 | | |
62 | 61 | | |
| |||
73 | 72 | | |
74 | 73 | | |
75 | 74 | | |
76 | | - | |
77 | 75 | | |
78 | 76 | | |
79 | 77 | | |
| |||
0 commit comments