Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

usm: Refactor istio monitor to use new uprobe attacher #29303

Merged
merged 16 commits into from
Dec 11, 2024
Merged
5 changes: 3 additions & 2 deletions pkg/network/usm/istio.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,14 +125,15 @@ func (m *istioMonitor) Start() {
}

if m.attacher == nil {
log.Errorf("Istio monitoring is enabled but the attacher is nil")
log.Error("istio monitoring is enabled but the attacher is nil")
return
guyarb marked this conversation as resolved.
Show resolved Hide resolved
}

if err := m.attacher.Start(); err != nil {
log.Errorf("Cannot start istio attacher: %s", err)
}

log.Info("Istio monitoring enabled")
log.Info("istio monitoring enabled")
}

// Stop the istioMonitor.
Expand Down
Loading