<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Oh, ok. I was rather referring to those ones <a href="https://www.dnsdist.org/statistics.html#latency0-1">https://www.dnsdist.org/statistics.html#latency0-1</a> but indeed, the Web page states it is for UDP only; whereas the Prometheus output doesn’t. There doesn’t seem to be those metrics for TCP based queries. And the histogram ones seem to be about average latency from last packets rather than number of packets in that latency range.<div><br></div><div>I guess this means I have to turn my graphs in another way.</div><div><br></div><div>Thanks!<br><div><br></div><div><br id="lineBreakAtBeginningOfSignature"><div dir="ltr"><blockquote type="cite">Le 11 avr. 2025 à 19:47, Otto Moerbeek <otto@drijf.net> a écrit :<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><span>On Fri, Apr 11, 2025 at 07:23:24PM +0200, Joel Carnat via dnsdist wrote:</span><br><span></span><br><blockquote type="cite"><span>Hi,</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>I'm new to DNSdist, have configured it and pointed a bunch of servers</span><br></blockquote><blockquote type="cite"><span>and workstation toward it. Now, I'm looking at statistics; using the</span><br></blockquote><blockquote type="cite"><span>Carbon export to a VictoriaMetrics database.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>There is a strange thing regarding latency values. The sum of those, is</span><br></blockquote><blockquote type="cite"><span>not equal to the queries statistics:</span><br></blockquote><blockquote type="cite"><span>dnsdist_queries 28699</span><br></blockquote><blockquote type="cite"><span>dnsdist_latency0_1 2553</span><br></blockquote><blockquote type="cite"><span>dnsdist_latency1_10 433</span><br></blockquote><blockquote type="cite"><span>dnsdist_latency10_50 899</span><br></blockquote><blockquote type="cite"><span>dnsdist_latency50_100 271</span><br></blockquote><blockquote type="cite"><span>dnsdist_latency100_1000 758</span><br></blockquote><blockquote type="cite"><span>dnsdist_latency_slow 67</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Having a look at this[1] dashboard, I thought the sum of all latency</span><br></blockquote><blockquote type="cite"><span>values would be equal to the queries one.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>What did I misunderstood?</span><br></blockquote><span></span><br><span>According to https://www.dnsdist.org/statistics.html#latency-avg100</span><br><span>this histogram only covers UDP queries. There are a few other</span><br><span>histograms that conver other types of queries.</span><br><span></span><br><span> -Otto</span><br><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Not sure it that matters, but queries include UDP, TCP, DoT and DoH</span><br></blockquote><blockquote type="cite"><span>queries. And that number seem correct.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Thank you,</span><br></blockquote><blockquote type="cite"><span>Joel C.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>[1] https://grafana.com/grafana/dashboards/18044-dnsdist/</span><br></blockquote><blockquote type="cite"><span>_______________________________________________</span><br></blockquote><blockquote type="cite"><span>dnsdist mailing list</span><br></blockquote><blockquote type="cite"><span>dnsdist@mailman.powerdns.com</span><br></blockquote><blockquote type="cite"><span>https://mailman.powerdns.com/mailman/listinfo/dnsdist</span><br></blockquote></div></blockquote></div></div></body></html>