feat: connection rate and chain latency metrics
Add RateTracker (rolling deque, events/sec) and LatencyTracker (circular buffer, p50/p95/p99 in ms) to the Metrics class. Both are recorded in _handle_client and exposed via summary(), to_dict(), /status, and /metrics. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
1
TASKS.md
1
TASKS.md
@@ -48,6 +48,7 @@
|
||||
- [x] Replace HTTP health check with TLS handshake (round-robin targets, no httpbin dependency)
|
||||
|
||||
- [x] Multi-listener with configurable proxy chaining (per-port chain depth)
|
||||
- [x] Connection rate and chain latency metrics (rate/s, p50/p95/p99)
|
||||
|
||||
## Next
|
||||
- [ ] Integration tests with mock proxy server
|
||||
|
||||
Reference in New Issue
Block a user