From 3dfbe0ed49583ed600ee2211af38d99481c4302e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BD=97=E6=B3=BD=E8=BD=A9?= Date: Mon, 26 Aug 2024 09:55:58 +0800 Subject: [PATCH] debugMode: clarify only Go plugins can be recorded (#693) Signed-off-by: spacewander --- site/content/en/docs/reference/plugins/debug_mode.md | 5 +++-- site/content/zh-hans/docs/reference/plugins/debug_mode.md | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/site/content/en/docs/reference/plugins/debug_mode.md b/site/content/en/docs/reference/plugins/debug_mode.md index 1b8a41b0..87335501 100644 --- a/site/content/en/docs/reference/plugins/debug_mode.md +++ b/site/content/en/docs/reference/plugins/debug_mode.md @@ -135,9 +135,10 @@ Which contains information such as: }, "executed_plugins": [ // List of executed plugins (if any), ordered by their execution sequence. - // Note that since the time spent in the OnLog phase is not counted into the request duration, + // Note that only executed Go plugins can be recorded. + // And since the time spent in the OnLog phase is not counted into the request duration, // plugins executed during OnLog are not included here. - // Also, if the client terminates the request early, some plugins may not be executed, + // Also, if the client terminates the request permaturely, some plugins may not be executed, // or executed without reporting statistical data. { "name": "debugMode", diff --git a/site/content/zh-hans/docs/reference/plugins/debug_mode.md b/site/content/zh-hans/docs/reference/plugins/debug_mode.md index c0a7cc60..ca5baffb 100644 --- a/site/content/zh-hans/docs/reference/plugins/debug_mode.md +++ b/site/content/zh-hans/docs/reference/plugins/debug_mode.md @@ -135,8 +135,9 @@ rity":["localhost:10000"],":method":["HEAD"],":path":["/echo"],":scheme":["http" }, "executed_plugins": [ // 执行的插件列表(如果有),以具体执行的顺序排序。 - // 注意因为 OnLog 阶段的时间不会算入请求耗时内,所以这里没有统计 OnLog 阶段执行的插件。 - // 另外如果客户端提前结束请求,可能会导致某些插件没有执行,或者执行完后没有上报统计数据。 + // 注意只有 Go 插件才能够被记录。 + // 同样因为 OnLog 阶段的时间不会算入请求耗时内,所以这里没有统计 OnLog 阶段执行的插件。 + // 另外如果客户端过早结束请求,可能会导致某些插件没有执行,或者执行完后没有上报统计数据。 { "name": "debugMode", // 每个阶段耗时