Commit 22e84fe
committed
fix(tests): do not look into full path for error metric
In order to collect all error metrics we're checking for "err" in the
key name, which causes performance tests to fail because we added
metrics called "intERRupts". Change the check to only look at the leaf
of the path, so that when we have a metric such as
`fc_metrics.net_metrics.cfg_fails`, we'll only be looking into
`cfg_fails`.
Suggested-by: Riccardo Mancini <[email protected]>
Signed-off-by: Babis Chalios <[email protected]>1 parent 2dab5e8 commit 22e84fe
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
479 | 479 | | |
480 | 480 | | |
481 | 481 | | |
482 | | - | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
483 | 486 | | |
484 | 487 | | |
485 | 488 | | |
| |||
0 commit comments