From 7d61c1b101f77c24f78a92d3086a0cdb60f2423b Mon Sep 17 00:00:00 2001 From: Starttoaster Date: Tue, 7 May 2024 21:54:29 +0000 Subject: [PATCH] Add debug logs for when an individual node's requests are done --- internal/prometheus/node.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/prometheus/node.go b/internal/prometheus/node.go index dd1d1fc..8a70dff 100644 --- a/internal/prometheus/node.go +++ b/internal/prometheus/node.go @@ -21,6 +21,7 @@ type collectNodeResponse struct { func (c *Collector) collectNode(ch chan<- prometheus.Metric, node proxmox.GetNodesData, resultChan chan<- collectNodeResponse, wg *sync.WaitGroup) { defer wg.Done() + defer logger.Logger.Debug("finished requests for node data", "node", node.Node) var resp collectNodeResponse // Collect metrics that just need node data