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:
John Kordich 2023-08-18 20:47:46 -07:00 committed by Johannes 'fish' Ziemke
parent 933b1c1797
commit e120d958f5
1 changed files with 1 additions and 1 deletions

View File

@ -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,