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

Log: plugins warn that enricher is not initialized #704

Open
xiaozhiche320 opened this issue Sep 4, 2024 · 0 comments
Open

Log: plugins warn that enricher is not initialized #704

xiaozhiche320 opened this issue Sep 4, 2024 · 0 comments
Assignees
Labels
type/fix Fixes something

Comments

@xiaozhiche320
Copy link
Contributor

Describe the bug

In Retina Advanced Mode, warnings might appear as "retina enricher is not initialized." This happens when using Hubble, which already provides pod-level info, making the enricher not initialized. This is expected behavior in Advanced Mode with Hubble and does not indicate a fatal error, but ideally, it shouldn't log this complaint from upstream Retina:

level=info caller=packetparser/packetparser_linux.go:192 msg="setting up enricher since pod level is enabled"
level=warn caller=packetparser/packetparser_linux.go:197 msg="retina enricher is not initialized"
level=warn caller=dns/dns_linux.go:73 msg="retina enricher is not initialized"
level=info caller=dropreason/dropreason_linux.go:252 msg="setting up enricher since pod level is enabled"
level=warn caller=dropreason/dropreason_linux.go:257 msg="retina enricher is not initialized"

Example:

d.l.Warn("retina enricher is not initialized")

@nddq nddq added the type/fix Fixes something label Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/fix Fixes something
Projects
Status: No status
Development

No branches or pull requests

2 participants