如何配置Datadog APM忽略Spring Actuator健康端点?
问题:阻止Datadog APM上报Spring Actuator的/actuator/health端点
我需要配置应用,使其不再向Datadog APM上报Spring Actuator的/actuator/health端点。参考官方文档后,我在Helm的deployment.yaml中添加了如下配置:
- name: DD_APM_IGNORE_RESOURCES value: GET /actuator/health
但该配置无效,相关Trace仍会出现在Datadog平台上。我已确认请求方法和路径正确,还尝试了多种正则表达式组合,均未解决问题。
随后我尝试使用DD_APM_FILTER_TAGS_REJECT环境变量,设置忽略http.route:/actuator/health,同样没有效果。
我甚至在本地环境运行代理和应用排查问题,配置依旧不生效。
请问还有哪些可尝试的配置方案?
Span详情:
内容的提问来源于stack exchange,提问作者Solci
相关产品推荐
相关产品推荐

