Skip to content

Commit 27ba8b2

Browse files
authored
pd configuration: add dashboard.disable-custom-prom-addr (#20260) (#20264)
1 parent be36cbc commit 27ba8b2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pd-configuration-file.md

+6
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,12 @@ pd-server 相关配置项。
455455

456456
PD 中内置的 [TiDB Dashboard](/dashboard/dashboard-intro.md) 相关配置项。
457457

458+
### `disable-custom-prom-addr`
459+
460+
+ 是否禁止在 [TiDB Dashboard](/dashboard/dashboard-intro.md) 中配置自定义的 Prometheus 数据源地址。
461+
+ 默认值:`false`
462+
+ 当配置为 `true` 时,如果在 TiDB Dashboard 中配置自定义的 Prometheus 数据源地址,TiDB Dashboard 会报错。
463+
458464
### `tidb-cacert-path`
459465

460466
+ CA 根证书文件路径。可配置该路径来使用 TLS 连接 TiDB 的 SQL 服务。

0 commit comments

Comments
 (0)