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

cgoreceiver.process_filter.comms 参数不生效 #593

Open
yanhongchang opened this issue Nov 13, 2023 · 0 comments
Open

cgoreceiver.process_filter.comms 参数不生效 #593

yanhongchang opened this issue Nov 13, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@yanhongchang
Copy link
Contributor

Describe the bug
在配置文件增加了屏蔽的进程comm,但是发现没有生效。

How to reproduce?
1、集群节点有filebeat日志采集进程。

image

2、配置文件修改:
process_filter:
# the length of a comm should be no more than 16
comms:
- "kindling-collec"
- "containerd"
- "dockerd"
- "containerd-shim"

如上配置增加了"filebeat"等进程comm,如下:
process_filter:
# the length of a comm should be no more than 16
comms:
- "kindling-collec"
- "containerd"
- "dockerd"
- "containerd-shim"
- "filebeat"
- "java"

然后 rollout restart ds/kindling-agent 重启所有pod

What did you expect to see?
如果生效,filebeat相关指标应该会不采集,看不到filebeat相关指标。

What did you see instead?
但是发现还是会有filebeat 服务相关指标:
image

Environment (please complete the following information)

  • Kindling agent version -- v0.8.1
  • Node OS version -- Alibaba Cloud Linux release 3
  • Node Kernel version -- 5.10.23-4
  • Kubernetes version 1.20.4
@yanhongchang yanhongchang added the bug Something isn't working label Nov 13, 2023
@dxsup dxsup self-assigned this Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants