Datadog代理不发送数据
我的 Datadog 代理遇到问题。我在 EC2 ubuntu 计算机上安装了代理版本 7.35.0。重新启动代理后,我收到此错误:
4 月 10 日 11:24:24 ip-10-100-0-33 代理[9951]: 2022-04-10 11:24:24 UTC |核心|警告 |(LogMessage 中的 pkg/collector/python/datadog_agent.go:124)|磁盘:e5dffb8bef24336f |(disk.py:136)|无法获取 /sys/kernel/debug/tracing 的磁盘指标:[Errno 13] 权限被拒绝:“/sys/kernel/debug/tracing”。如果该挂载点无效,您可以在设置中排除它。
根据我在线程中看到的内容,他们给出了这样的答案:
您能否将“tracefs”添加到“file_system_blacklist”配置中,看看是否可以解锁您?如果有的话我们可以默认添加。
但我不完全理解这个答案,我不知道应该改变什么来解决这个问题。
如果有人经历过这种事情并且可以帮助我,那将非常有帮助 谢谢你!
I run into an issue with my Datadog agent. I installed Agent version 7.35.0 on an EC2 ubuntu machine. After I restarted the agent I got this error:
Apr 10 11:24:24 ip-10-100-0-33 agent[9951]: 2022-04-10 11:24:24 UTC | CORE | WARN |(pkg/collector/python/datadog_agent.go:124 in LogMessage) | disk:e5dffb8bef24336f |(disk.py:136) | Unable to get disk metrics for /sys/kernel/debug/tracing: [Errno 13] Permission denied: '/sys/kernel/debug/tracing'. You can exclude this mountpoint in the settings if it is invalid.
From what I've seen on threads, they gave this answer:
Can you add "tracefs" to the "file_system_blacklist" configuration to see if that unblocks you? We can add it by default if it does.
But I do not completely understand this answer, and I am not sure what should I change to fix this issue.
If anyone experiences this kind of thing and can help me it would be super helpful
Thank you!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用 Datadog Agent 7:
然后在
/etc/datadog-agent/conf.d/disk.d/conf.yaml
中,取消注释file_system_global_exclude
并在其下方添加-跟踪文件:
With Datadog Agent 7:
Then in
/etc/datadog-agent/conf.d/disk.d/conf.yaml
, uncommentfile_system_global_exclude
and underneath it add- tracefs
: