Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Commit

Permalink
Decrease log level for unsupported statistics keys
Browse files Browse the repository at this point in the history
Interfaces may have a lot of statistics keys which are unexpected by this
exporter. It does not break operation, but causes annoying spam of Error messages in the log.
Let's set it to Debug.
  • Loading branch information
Andrii Shestakov committed Mar 2, 2023
1 parent a54afd4 commit 1186bac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ovs_exporter/ovs_exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -1120,7 +1120,7 @@ func (e *Exporter) GatherMetrics() {
intf.UUID,
))
default:
level.Error(e.logger).Log(
level.Debug(e.logger).Log(
"msg", "detected malformed interface statistics",
"system_id", e.Client.System.ID,
"key", key,
Expand Down

0 comments on commit 1186bac

Please sign in to comment.