Datadog代理不发送数据

发布于 2025-01-20 08:18:08 字数 589 浏览 2 评论 0原文

我的 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

去了角落 2025-01-27 08:18:08

使用 Datadog Agent 7:

mv /etc/datadog-agent/conf.d/disk.d/conf.yaml.default /etc/datadog-agent/conf.d/disk.d/conf.yaml

然后在 /etc/datadog-agent/conf.d/disk.d/conf.yaml 中,取消注释 file_system_global_exclude 并在其下方添加 -跟踪文件:

init_config:
    file_system_global_exclude:
        - tracefs

With Datadog Agent 7:

mv /etc/datadog-agent/conf.d/disk.d/conf.yaml.default /etc/datadog-agent/conf.d/disk.d/conf.yaml

Then in /etc/datadog-agent/conf.d/disk.d/conf.yaml, uncomment file_system_global_exclude and underneath it add - tracefs:

init_config:
    file_system_global_exclude:
        - tracefs
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文