处理片段
处理片段
processors:
batch:
timeout: 5s
send_batch_size: 8192
attributes:
actions:
- key: http.client_ip
action: delete # 脱敏
- key: env
value: prod
action: insert
filter:
error_mode: ignore
traces:
span:
- 'attributes["url.path"] == "/healthz"' # 丢健康检查过滤与脱敏集中收口后,后端存储量、敏感字段风险都会明显下降。