(self, response_time_ms: float)
| 59 | self.lock: threading.Lock = threading.Lock() |
| 60 | |
| 61 | def record_success(self, response_time_ms: float): |
| 62 | with self.lock: |
| 63 | self.total_requests += 1 |
| 64 | self.successful_requests += 1 |
| 65 | self.response_times.append(response_time_ms) |
| 66 | |
| 67 | def record_failure(self, error_type: str): |
| 68 | with self.lock: |