mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-11-23 12:30:46 +01:00
Change log message from Warn to Debug
Signed-off-by: John Kordich <jkordich@gmail.com> Co-authored-by: Ben Kochie <superq@gmail.com> Signed-off-by: John Kordich <jkordich@gmail.com>
This commit is contained in:
parent
933b1c1797
commit
e120d958f5
@ -205,7 +205,7 @@ func (c *cpuCollector) updateInfo(ch chan<- prometheus.Metric) error {
|
||||
|
||||
cpuFreqEnabled, ok := collectorState["cpufreq"]
|
||||
if !ok || cpuFreqEnabled == nil {
|
||||
level.Warn(c.logger).Log("cpufreq key missing or nil value in collectorState map", err)
|
||||
level.Debug(c.logger).Log("cpufreq key missing or nil value in collectorState map", err)
|
||||
} else if !*cpuFreqEnabled {
|
||||
for _, cpu := range info {
|
||||
ch <- prometheus.MustNewConstMetric(c.cpuFrequencyHz,
|
||||
|
Loading…
Reference in New Issue
Block a user