Skip to content

Commit

Permalink
Add debug logs for when an individual node's requests are done
Browse files Browse the repository at this point in the history
  • Loading branch information
Starttoaster committed May 7, 2024
1 parent beeb100 commit 7d61c1b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/prometheus/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7d61c1b

Please sign in to comment.