Skip to content

[CONS-6832] Fix repetitive warning logs with log file tailer #32533

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

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion comp/core/autodiscovery/listeners/kubelet.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func NewKubeletListener(options ServiceListernerDeps) (ServiceListener, error) {

l := &KubeletListener{}
filter := workloadmeta.NewFilterBuilder().
SetSource(workloadmeta.SourceAll).
SetSource(workloadmeta.SourceNodeOrchestrator).
AddKind(workloadmeta.KindKubernetesPod).
Build()

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Each section from every release note are combined when the
# CHANGELOG.rst is rendered. So the text needs to be worded so that
# it does not depend on any information only available in another
# section. This may mean repeating some details, but each section
# must be readable independently of the other.
#
# Each section note must be formatted as reStructuredText.
---
fixes:
- |
Fixes an issue in the Agent where it could potentially try to make a new file tailer
for a cronjob pod container that has already completed and has already been processed
by the log agent. When this happens, warnings are emitted indicating that the agent
failed to make a file tailer for the container log file.
Loading