Commit 0a4d059
authored
Fix for outdated sensors after rebalancing (#72)
* Rename test classes to start with `Test`
Previously these classes started with `test_`, such classes are not
collected by pytest so these tests were not run.
* Failing test for clearing sensors on rebalance
* Clear sensors related to topics after rebalance
* Refactor prometheus metrics
* Failing test for prometheus metrics with topic labels after rebalance
* Clear prometheus topic related metrics on rebalance
* Failing test for IndexError in `on_stream_event_out`
* Fix IndexError in `on_stream_event_out`1 parent fcb6b18 commit 0a4d059
File tree
7 files changed
+774
-347
lines changed- faust/sensors
- tests/unit/sensors
7 files changed
+774
-347
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
571 | 571 | | |
572 | 572 | | |
573 | 573 | | |
| 574 | + | |
574 | 575 | | |
575 | 576 | | |
576 | 577 | | |
| |||
596 | 597 | | |
597 | 598 | | |
598 | 599 | | |
| 600 | + | |
599 | 601 | | |
600 | 602 | | |
601 | 603 | | |
| |||
633 | 635 | | |
634 | 636 | | |
635 | 637 | | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| 644 | + | |
0 commit comments