Commit 3a150a7
committed
fix(tests, monitoring): fix test scanId extraction and PromQL dashboard bug
The PromQL expression (time() * 1000 - scan_start_time) / 1000 was evaluating
to time() when scan_start_time = 0, causing massive spikes. The fix ensures
the expression only evaluates when scan_start_time > 0, filtering out idle
processors.
Issue: BB-7401 parent 94261db commit 3a150a7
File tree
3 files changed
+18
-2
lines changed- monitoring/lifecycle
- tests/unit/lifecycle
3 files changed
+18
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4647 | 4647 | | |
4648 | 4648 | | |
4649 | 4649 | | |
4650 | | - | |
| 4650 | + | |
4651 | 4651 | | |
4652 | 4652 | | |
4653 | 4653 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
815 | 815 | | |
816 | 816 | | |
817 | 817 | | |
818 | | - | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
819 | 821 | | |
820 | 822 | | |
821 | 823 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
241 | 245 | | |
242 | 246 | | |
| 247 | + | |
243 | 248 | | |
244 | 249 | | |
245 | 250 | | |
246 | 251 | | |
247 | 252 | | |
248 | 253 | | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
249 | 257 | | |
250 | 258 | | |
251 | 259 | | |
252 | 260 | | |
253 | 261 | | |
254 | 262 | | |
255 | 263 | | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
256 | 270 | | |
257 | 271 | | |
258 | 272 | | |
| |||
0 commit comments