(self)
| 741 | return list(self._records) |
| 742 | |
| 743 | def failure_distribution(self) -> Dict[str, int]: |
| 744 | with self._lock: |
| 745 | dist: Dict[str, int] = defaultdict(int) |
| 746 | for r in self._records: |
| 747 | dist[r.failure_mode.value] += 1 |
| 748 | return dict(dist) |
| 749 | |
| 750 | def retry_distribution(self) -> Dict[int, int]: |
| 751 | with self._lock: |
no outgoing calls