From a3d0e516e283139664d1129f185270a97ec92799 Mon Sep 17 00:00:00 2001 From: yuanchao Date: Wed, 22 Oct 2025 18:50:31 +0800 Subject: [PATCH] =?UTF-8?q?http=E8=AF=B4=E6=98=8E=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=BC=82=E5=B8=B8=E8=AF=B7=E6=B1=82=E5=93=8D=E5=BA=94=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E7=9A=84=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/zh/05-features/01-l7-protocols/02-http.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/zh/05-features/01-l7-protocols/02-http.md b/docs/zh/05-features/01-l7-protocols/02-http.md index 1f654d01..0fa88f11 100644 --- a/docs/zh/05-features/01-l7-protocols/02-http.md +++ b/docs/zh/05-features/01-l7-protocols/02-http.md @@ -25,7 +25,11 @@ permalink: /features/l7-protocols/http | | span_id | SpanID | traceparent, sw8 [2] | traceparent, sw8 | Agent 的 `http_log_span_id` 配置项可定义提取的 Header 名称 | | | x_request_id | X-Request-ID | X-Request-ID | X-Request-ID | Agent 的 `http_log_x_request_id` 配置项可定义提取的 Header 名称 | | | http_proxy_client | HTTP 代理客户端 | X-Forwarded-For | -- | Agent 的 `http_log_proxy_client` 配置项可定义提取的 Header 名称 | -| Misc. | attribute.x | -- | x | x | 支持采集自定义头部字段 [3] | +| Misc. | attribute.request_header | 请求 Header | x | | Agent 的 `error_request_header` 配置项开启可以提取该字段 +| | attribute.request_payload | 请求 Payload | | | Agent 的 `error_request_payload` 配置项开启可以提取该字段 | +| | attribute.response_header | 响应 Header | | x | Agent 的 `error_response_header` 配置项开启可以提取该字段 | +| | attribute.response_payload | 响应 Payload | | | Agent 的 `error_response_payload` 配置项开启可以提取该字段 | +| | attribute.x | -- | x | x | 支持采集自定义头部字段 [3] | - [1] TraceID 只截取以下 HTTP Header 的部分值,其他自定义 Header 读取全部值: - `traceparent` Header 中的 `trace-id` 部分