Skip to content

Add DNS query response time metrics to dashboard#1680

Open
wesback wants to merge 1 commit intoTechnitiumSoftware:masterfrom
wesback:add-perf-metrics
Open

Add DNS query response time metrics to dashboard#1680
wesback wants to merge 1 commit intoTechnitiumSoftware:masterfrom
wesback:add-perf-metrics

Conversation

@wesback
Copy link

@wesback wesback commented Jan 16, 2026

  • Implemented 8 response time metrics: Avg, Cached Avg, Recursive Avg, Min, Max, P50, P95, P99
  • Added histogram-based percentile calculation with bucket midpoint approximation
  • Frontend visualization with color-coded thresholds (green <50ms, yellow 50-200ms, red >200ms)
  • Backward compatibility with version 9 stats (null handling)
  • Cluster mode support with proper metric aggregation
  • 40 unit/integration/performance tests (all passing)
  • Stats file version bumped from 9 to 10
  • Stopwatch timing integrated into all DNS query handlers (UDP/TCP/QUIC/HTTPS)

- Implemented 8 response time metrics: Avg, Cached Avg, Recursive Avg, Min, Max, P50, P95, P99
- Added histogram-based percentile calculation with bucket midpoint approximation
- Frontend visualization with color-coded thresholds (green <50ms, yellow 50-200ms, red >200ms)
- Backward compatibility with version 9 stats (null handling)
- Cluster mode support with proper metric aggregation
- 40 unit/integration/performance tests (all passing)
- Stats file version bumped from 9 to 10
- Stopwatch timing integrated into all DNS query handlers (UDP/TCP/QUIC/HTTPS)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant