Skip to content

Commit

Permalink
fix log
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver006 committed Aug 25, 2023
1 parent 8f01c80 commit 3176357
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exporter/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func (e *Exporter) registerConstMetric(ch chan<- prometheus.Metric, metric strin
description := e.findOrCreateMetricDescription(metric, labelValues)
m, err := prometheus.NewConstMetric(description, valType, val, labelValues...)
if err != nil {
log.Debugf("registerConstMetric( %s , %.2f) err: %s", metric, err, val)
log.Debugf("registerConstMetric( %s , %.2f) err: %s", metric, val, err)
return
}

Expand Down

0 comments on commit 3176357

Please sign in to comment.