@@ -298,8 +298,14 @@ $defs:
298298 save_request_header :
299299 title@en : Save Request Header
300300 title@ch : 保存请求标头
301- description@en : Save HTTP request header as attribute. Default attribute name is `request_header`.
302- description@ch : 将 HTTP 请求的标头保存为属性。默认属性名为 `request_header`。
301+ description@en : |-
302+ Save HTTP request header as attribute. Default attribute name is `request_header`.
303+
304+ Supported only when `Protocol Name` (`l7_protocol`) is `HTTP` (`http`) or `HTTP2` (`http2`).
305+ description@ch : |-
306+ 将 HTTP 请求的标头保存为属性。默认属性名为 `request_header`。
307+
308+ 仅当 `协议名称`(`l7_protocol`)为 `HTTP`(`http`)或 `HTTP2`(`http2`)时支持。
303309 $ref : ' #/$defs/raw_save_config'
304310 save_request_payload :
305311 title@en : Save Request Payload
@@ -308,16 +314,26 @@ $defs:
308314 Save HTTP request payload as attribute. Default attribute name is `request_payload`.
309315
310316 For HTTP protocol, only save the payload part (excluding the header).
317+
318+ Supported only when `Protocol Name` (`l7_protocol`) is `HTTP` (`http`), `HTTP2` (`http2`), or `Redis` (`redis`). Other protocols ignore this setting.
311319 description@ch : |-
312320 将请求的负载保存为属性。默认属性名为 `request_payload`。
313321
314322 对于 HTTP 协议来说,只保存 HTTP 负载的部分(即不包含标头)。
323+
324+ 仅当 `协议名称`(`l7_protocol`)为 `HTTP`(`http`)、`HTTP2`(`http2`)或 `Redis`(`redis`)时支持。其他协议会忽略该配置。
315325 $ref : ' #/$defs/raw_save_config'
316326 save_response_header :
317327 title@en : Save Response Header
318328 title@ch : 保存响应标头
319- description@en : Save HTTP response header as attribute. Default attribute name is `response_header`.
320- description@ch : 将 HTTP 响应的标头保存为属性。默认属性名为 `response_header`。
329+ description@en : |-
330+ Save HTTP response header as attribute. Default attribute name is `response_header`.
331+
332+ Supported only when `Protocol Name` (`l7_protocol`) is `HTTP` (`http`) or `HTTP2` (`http2`).
333+ description@ch : |-
334+ 将 HTTP 响应的标头保存为属性。默认属性名为 `response_header`。
335+
336+ 仅当 `协议名称`(`l7_protocol`)为 `HTTP`(`http`)或 `HTTP2`(`http2`)时支持。
321337 $ref : ' #/$defs/raw_save_config'
322338 save_response_payload :
323339 title@en : Save Response Payload
@@ -326,10 +342,14 @@ $defs:
326342 Save HTTP response payload as attribute. Default attribute name is `response_payload`.
327343
328344 For HTTP protocol, only save the payload part (excluding the header).
345+
346+ Supported only when `Protocol Name` (`l7_protocol`) is `HTTP` (`http`), `HTTP2` (`http2`), or `Redis` (`redis`). Other protocols ignore this setting.
329347 description@ch : |-
330348 将响应的负载保存为属性。默认属性名为 `response_payload`。
331349
332350 对于 HTTP 协议来说,只保存 HTTP 负载的部分(即不包含标头)。
351+
352+ 仅当 `协议名称`(`l7_protocol`)为 `HTTP`(`http`)、`HTTP2`(`http2`)或 `Redis`(`redis`)时支持。其他协议会忽略该配置。
333353 $ref : ' #/$defs/raw_save_config'
334354 fields :
335355 type : array
@@ -1018,19 +1038,33 @@ $defs:
10181038 description@en : >-
10191039 This field will appear in request log as `attribute.<attribute_name>`.
10201040 Default value is empty, this field will not be added to attribute when empty.
1021- description@ch : 该字段将会出现在调用日志的 `attribute.<attribute_name>` 中,默认值为空,为空时该字段不会加入到 attribute 内。
1041+ Supported when `Protocol Name` (`l7_protocol`) is `HTTP` (`http`), `HTTP2` (`http2`), `Dubbo` (`dubbo`), `MySQL` (`mysql`), `Oracle` (`oracle`), or `Custom` (`custom`); `Redis` (`redis`) ignores this setting.
1042+ description@ch : 该字段将会出现在调用日志的 `attribute.<attribute_name>` 中,默认值为空,为空时该字段不会加入到 attribute 内。仅当 `协议名称`(`l7_protocol`)为 `HTTP`(`http`)、`HTTP2`(`http2`)、`Dubbo`(`dubbo`)、`MySQL`(`mysql`)、`Oracle`(`oracle`)或 `自定义协议`(`custom`)时支持;`Redis`(`redis`)会忽略该配置。
10221043 metric_name :
10231044 type : string
10241045 title@en : Metric Name
10251046 title@ch : 指标名称
10261047 description@en : >-
10271048 This field will appear in request log as `metrics.<metric_name>`.
10281049 Default value is empty, this field will not be added to metrics when empty.
1029- description@ch : 该字段将会出现在调用日志的 `metrics.<metric_name>` 中,默认值为空,为空时该字段不会加入到 metrics 内。
1050+ Supported when `Protocol Name` (`l7_protocol`) is `HTTP` (`http`), `HTTP2` (`http2`), `Dubbo` (`dubbo`), or `Custom` (`custom`); `MySQL` (`mysql`), `Oracle` (`oracle`), and `Redis` (`redis`) ignore this setting.
1051+ description@ch : 该字段将会出现在调用日志的 `metrics.<metric_name>` 中,默认值为空,为空时该字段不会加入到 metrics 内。仅当 `协议名称`(`l7_protocol`)为 `HTTP`(`http`)、`HTTP2`(`http2`)、`Dubbo`(`dubbo`)或 `自定义协议`(`custom`)时支持;`MySQL`(`mysql`)、`Oracle`(`oracle`)和 `Redis`(`redis`)会忽略该配置。
10301052 rewrite_native_tag :
10311053 type : object
10321054 title@en : Rewrite Native Tag
10331055 title@ch : 重写原生字段
1056+ description@en : |-
1057+ Rewrite a native request log field using the extracted value.
1058+
1059+ Supported when `Protocol Name` (`l7_protocol`) is `HTTP` (`http`), `HTTP2` (`http2`), `Dubbo` (`dubbo`), `MySQL` (`mysql`), `Oracle` (`oracle`), or `Custom` (`custom`); `Redis` (`redis`) ignores this setting.
1060+
1061+ Individual native tags still require support from the corresponding protocol.
1062+ description@ch : |-
1063+ 使用提取值重写调用日志中的原生字段。
1064+
1065+ 仅当 `协议名称`(`l7_protocol`)为 `HTTP`(`http`)、`HTTP2`(`http2`)、`Dubbo`(`dubbo`)、`MySQL`(`mysql`)、`Oracle`(`oracle`)或 `自定义协议`(`custom`)时支持;`Redis`(`redis`)会忽略该配置。
1066+
1067+ 具体可重写哪些原生字段仍取决于对应协议自身是否支持。
10341068 properties :
10351069 name :
10361070 title@en : Name
@@ -1128,8 +1162,14 @@ $defs:
11281162 type : object
11291163 title@en : Rewrite Response Status (response_status)
11301164 title@ch : 重写响应状态(response_status)
1131- description@en : Match the following array content based on extraction value, if matched, set response_status to corresponding value.
1132- description@ch : 根据提取值匹配下列数组内容,如果匹配到,则将 response_status 设置为对应的值。
1165+ description@en : |-
1166+ Match the following array content based on extraction value, if matched, set response_status to corresponding value.
1167+
1168+ Supported when `Protocol Name` (`l7_protocol`) is `HTTP` (`http`), `HTTP2` (`http2`), `Dubbo` (`dubbo`), `MySQL` (`mysql`), `Oracle` (`oracle`), or `Custom` (`custom`); `Redis` (`redis`) ignores this setting.
1169+ description@ch : |-
1170+ 根据提取值匹配下列数组内容,如果匹配到,则将 response_status 设置为对应的值。
1171+
1172+ 仅当 `协议名称`(`l7_protocol`)为 `HTTP`(`http`)、`HTTP2`(`http2`)、`Dubbo`(`dubbo`)、`MySQL`(`mysql`)、`Oracle`(`oracle`)或 `自定义协议`(`custom`)时支持;`Redis`(`redis`)会忽略该配置。
11331173 properties :
11341174 ok_values :
11351175 title@en : OK Values
0 commit comments