From: Remi Gacogne Date: Mon, 12 Jan 2026 09:01:42 +0000 (+0100) Subject: Merge pull request #16668 from rgacogne/ddist-health-check-latency-bucket X-Git-Tag: rec-5.4.0-beta1~47 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aad80d9ee21c60690de93e39a4128e11016e3d70;p=thirdparty%2Fpdns.git Merge pull request #16668 from rgacogne/ddist-health-check-latency-bucket dnsdist: Add an histogram of health-check latencies for backends --- aad80d9ee21c60690de93e39a4128e11016e3d70 diff --cc pdns/dnsdistdist/dnsdist.cc index e7155b94fc,92174423fd..a4bebd84e4 --- a/pdns/dnsdistdist/dnsdist.cc +++ b/pdns/dnsdistdist/dnsdist.cc @@@ -642,12 -621,13 +624,12 @@@ bool sendUDPResponse(int origFD, const return true; } - void handleResponseSent(const InternalQueryState& ids, double udiff, const ComboAddress& client, const ComboAddress& backend, unsigned int size, const dnsheader& cleartextDH, dnsdist::Protocol outgoingProtocol, bool fromBackend) + void handleResponseSent(const InternalQueryState& ids, int udiff, const ComboAddress& client, const ComboAddress& backend, unsigned int size, const dnsheader& cleartextDH, dnsdist::Protocol outgoingProtocol, bool fromBackend) { handleResponseSent(ids.qname, ids.qtype, udiff, client, backend, size, cleartextDH, outgoingProtocol, ids.protocol, fromBackend); - ids.sendDelayedProtobufMessages(); } - void handleResponseSent(const DNSName& qname, const QType& qtype, double udiff, const ComboAddress& client, const ComboAddress& backend, unsigned int size, const dnsheader& cleartextDH, dnsdist::Protocol outgoingProtocol, dnsdist::Protocol incomingProtocol, bool fromBackend) + void handleResponseSent(const DNSName& qname, const QType& qtype, int udiff, const ComboAddress& client, const ComboAddress& backend, unsigned int size, const dnsheader& cleartextDH, dnsdist::Protocol outgoingProtocol, dnsdist::Protocol incomingProtocol, bool fromBackend) { if (g_rings.shouldRecordResponses()) { timespec now{};