chore(go.d/apcupsd): log UPS response in debug mode (#20157)
Ilya Mashchenko committed
Apr 22, 2025 at 17:12 UTC
007c5ba27ee97ca43fa449dc07c8de5ddc4ce65c
1 file changed
+1
src/go/plugin/go.d/collector/apcupsd/collect.go
+1
@@ -26,6 +26,7 @@ func (c *Collector) collect() (map[string]int64, error) {
26
c.Cleanup(context.Background())
27
return nil, err
28
}
29
+ c.Debugf("apcupsd response: %s", string(resp))
30
31
mx := make(map[string]int64)
32