[dnsdist] question about latency stats

Otto Moerbeek otto at drijf.net
Fri Apr 11 17:47:06 UTC 2025


On Fri, Apr 11, 2025 at 07:23:24PM +0200, Joel Carnat via dnsdist wrote:

> Hi,
> 
> I'm new to DNSdist, have configured it and pointed a bunch of servers
> and workstation toward it. Now, I'm looking at statistics; using the
> Carbon export to a VictoriaMetrics database.
> 
> There is a strange thing regarding latency values. The sum of those, is
> not equal to the queries statistics:
> dnsdist_queries 28699
> dnsdist_latency0_1 2553
> dnsdist_latency1_10 433
> dnsdist_latency10_50 899
> dnsdist_latency50_100 271
> dnsdist_latency100_1000 758
> dnsdist_latency_slow 67
> 
> Having a look at this[1] dashboard, I thought the sum of all latency
> values would be equal to the queries one.
> 
> What did I misunderstood?

According to https://www.dnsdist.org/statistics.html#latency-avg100
this histogram only covers UDP queries. There are a few other
histograms that conver other types of queries.

	-Otto
> 
> Not sure it that matters, but queries include UDP, TCP, DoT and DoH
> queries. And that number seem correct.
> 
> Thank you,
> Joel C.
> 
> [1] https://grafana.com/grafana/dashboards/18044-dnsdist/
> _______________________________________________
> dnsdist mailing list
> dnsdist at mailman.powerdns.com
> https://mailman.powerdns.com/mailman/listinfo/dnsdist


More information about the dnsdist mailing list