From a3fb1f0a47f88ee9d2ccd8fd5dea47ac02993ff4 Mon Sep 17 00:00:00 2001 From: dmachard <5562930+dmachard@users.noreply.github.com> Date: Sat, 21 Dec 2024 11:52:29 +0100 Subject: [PATCH] fix: add missing telemetry counter in powerdns collector --- workers/powerdns.go | 1 + 1 file changed, 1 insertion(+) diff --git a/workers/powerdns.go b/workers/powerdns.go index 49daa184..c84271c7 100644 --- a/workers/powerdns.go +++ b/workers/powerdns.go @@ -63,6 +63,7 @@ func (w *PdnsServer) HandleConn(conn net.Conn, connID uint64, forceClose chan bo bufSize = w.GetConfig().Collectors.PowerDNS.ChannelBufferSize } pdnsProcessor := NewPdnsProcessor(int(connID), peerName, w.GetConfig(), w.GetLogger(), w.GetName(), bufSize) + pdnsProcessor.SetMetrics(w.metrics) pdnsProcessor.SetDefaultRoutes(w.GetDefaultRoutes()) pdnsProcessor.SetDefaultDropped(w.GetDroppedRoutes()) go pdnsProcessor.StartCollect()