Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions content/cn/docs/config/config-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,8 @@ server.role=master

# slow query log
log.slow_query_threshold=1000
# bytes of request body recorded as-is (may contain sensitive literals), 0 to disable
log.slow_query_body_limit=512

# jvm(in-heap) memory usage monitor, set 1 to disable it
memory_monitor.threshold=0.85
Expand Down
2 changes: 1 addition & 1 deletion content/cn/docs/config/config-option.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ weight: 2
| memory_monitor.threshold | 0.85 | The threshold of JVM(in-heap) memory usage monitoring , 1 means disabling this function. |
| memory_monitor.period | 2000 | The period in ms of JVM(in-heap) memory usage monitoring. |
| log.slow_query_threshold | 1000 | Slow query log threshold in milliseconds, 0 means disabled. |
| log.slow_query_body_limit | 512 | 慢查询日志记录的请求体最大字节数,0 表示不记录。记录的前缀可能包含敏感的 Gremlin 或 Cypher 字面量。 |

### PD/Meta 配置项 (分布式模式)

Expand Down Expand Up @@ -340,4 +341,3 @@ weight: 2
> - `jdbc.url=jdbc:postgresql://localhost:5432/`

</details>

2 changes: 2 additions & 0 deletions content/en/docs/config/config-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,8 @@ server.role=master

# slow query log
log.slow_query_threshold=1000
# bytes of request body recorded as-is (may contain sensitive literals), 0 to disable
log.slow_query_body_limit=512

# jvm(in-heap) memory usage monitor, set 1 to disable it
memory_monitor.threshold=0.85
Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/config/config-option.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ Corresponding configuration file `rest-server.properties`
| memory_monitor.threshold | 0.85 | The threshold of JVM(in-heap) memory usage monitoring , 1 means disabling this function. |
| memory_monitor.period | 2000 | The period in ms of JVM(in-heap) memory usage monitoring. |
| log.slow_query_threshold | 1000 | Slow query log threshold in milliseconds, 0 means disabled. |
| log.slow_query_body_limit | 512 | Maximum bytes of a request body recorded in the slow query log, 0 means disabled. The recorded prefix may contain sensitive Gremlin or Cypher literals. |

### PD/Meta Config Options (Distributed Mode)

Expand Down Expand Up @@ -319,4 +320,3 @@ Other options are consistent with the MySQL backend.
> - `jdbc.url=jdbc:postgresql://localhost:5432/`

</details>

Loading