Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion docs/zh/05-features/01-l7-protocols/02-http.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` 部分
Expand Down
Loading