Skip to content

Add DNS query response time metrics to dashboard#1680

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

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

Conversation

@wesback
Copy link
Copy Markdown

@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)
@bobbydd021-code
Copy link
Copy Markdown

Can we please get this added to the latest official version? I want to update to v15 but I am on my own branch at the moment with this merged in.

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.

2 participants