diff --git a/internal/export/doc/en/inputs/oceanbase.md b/internal/export/doc/en/inputs/oceanbase.md index 4b57b9380f..01f444ef20 100644 --- a/internal/export/doc/en/inputs/oceanbase.md +++ b/internal/export/doc/en/inputs/oceanbase.md @@ -72,13 +72,12 @@ Datakit could reports the SQLs, those executed time exceeded the threshold time This function is disabled by default, user could enabling it by modify Datakit's OceanBase configuration like followings: -Change the string value after `--slow-query-time` from `0s` to the threshold time, minimal value is 1 millsecond. Generally, recommand it to `10s`. +Change the string value after `slow_query_time` from `0s` to the threshold time, minimal value is 1 millsecond. Generally, recommand it to `10s`. ```conf - args = [ - ... - '--slow-query-time' , '10s', - ] + +slow_query_time = "0s" + ``` ???+ info "Fields description" diff --git a/internal/export/doc/zh/inputs/oceanbase.md b/internal/export/doc/zh/inputs/oceanbase.md index 1f189b1489..ec5802ce7b 100644 --- a/internal/export/doc/zh/inputs/oceanbase.md +++ b/internal/export/doc/zh/inputs/oceanbase.md @@ -75,13 +75,12 @@ Datakit 可以将执行超过用户自定义时间的 SQL 语句报告给观测 该功能默认情况下是关闭的,用户可以在 OceanBase 的配置文件中将其打开,方法如下: -将 `--slow-query-time` 后面的值从 `0s` 改成用户心中的阈值,最小值 1 毫秒。一般推荐 10 秒。 +将 `slow_query_time` 后面的值从 `0s` 改成用户心中的阈值,最小值 1 毫秒,一般推荐 10 秒。 ```conf - args = [ - ... - '--slow-query-time' , '10s' , - ] + +slow_query_time = "10s" + ``` ???+ info "字段说明"