Skip to content

Commit

Permalink
debugMode: clarify only Go plugins can be recorded (#693)
Browse files Browse the repository at this point in the history
Signed-off-by: spacewander <[email protected]>
  • Loading branch information
spacewander authored Aug 26, 2024
1 parent db65556 commit 3dfbe0e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions site/content/en/docs/reference/plugins/debug_mode.md
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
5 changes: 3 additions & 2 deletions site/content/zh-hans/docs/reference/plugins/debug_mode.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,9 @@ rity":["localhost:10000"],":method":["HEAD"],":path":["/echo"],":scheme":["http"
},
"executed_plugins": [
// 执行的插件列表(如果有),以具体执行的顺序排序。
// 注意因为 OnLog 阶段的时间不会算入请求耗时内,所以这里没有统计 OnLog 阶段执行的插件。
// 另外如果客户端提前结束请求,可能会导致某些插件没有执行,或者执行完后没有上报统计数据。
// 注意只有 Go 插件才能够被记录。
// 同样因为 OnLog 阶段的时间不会算入请求耗时内,所以这里没有统计 OnLog 阶段执行的插件。
// 另外如果客户端过早结束请求,可能会导致某些插件没有执行,或者执行完后没有上报统计数据。
{
"name": "debugMode",
// 每个阶段耗时
Expand Down

0 comments on commit 3dfbe0e

Please sign in to comment.