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

Failure to get system information is not critical #14

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion pkg/ovs_exporter/ovs_exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,12 @@ func (e *Exporter) Connect() error {
)

if err := e.Client.GetSystemInfo(); err != nil {
return err
level.Error(e.logger).Log(
"msg", "Error occured during GetSystemInfo()",
"error", err.Error(),
"system_id", e.Client.System.ID,
)
return nil
}

level.Debug(e.logger).Log(
Expand Down