Commit 676fd7e
committed
Add handling to metric collect error
As we were simply exiting on metric collect for a scope
when any unhandled error happens, other scopes that
should be processed after that problematic scope will
not be processed, and if the problem persist with this
specific scope, it will make CloudKitty to never move
on to the next scopes as the processor will stop
processing.
This proposal is to raise an exception instead of killing
the processor when an error happens in the metric collect,
so the problematic scope will be skipped till next
collection and the other scopes will be processed normally.
Story: 2011321
Task: 51519
Change-Id: I460877e818166230014c1d1ae7d95881625542641 parent 313ef8b commit 676fd7e
File tree
2 files changed
+16
-3
lines changed- cloudkitty
- releasenotes/notes
2 files changed
+16
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
| |||
331 | 330 | | |
332 | 331 | | |
333 | 332 | | |
334 | | - | |
| 333 | + | |
335 | 334 | | |
336 | 335 | | |
337 | 336 | | |
| |||
640 | 639 | | |
641 | 640 | | |
642 | 641 | | |
| 642 | + | |
643 | 643 | | |
644 | 644 | | |
| 645 | + | |
| 646 | + | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
645 | 650 | | |
646 | 651 | | |
647 | 652 | | |
648 | | - | |
| 653 | + | |
| 654 | + | |
649 | 655 | | |
650 | 656 | | |
651 | 657 | | |
| |||
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
0 commit comments