Skip to content

Commit

Permalink
fix: add missing telemetry counter in powerdns collector
Browse files Browse the repository at this point in the history
  • Loading branch information
dmachard committed Dec 21, 2024
1 parent c4569bf commit a3fb1f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions workers/powerdns.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit a3fb1f0

Please sign in to comment.