From 9fbf09f2ef82de5da321309913dddd716ce28544 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Mon, 13 May 2024 10:41:00 +0800 Subject: [PATCH] Create tidb_debug.yaml --- plugins/tidb/conf/tidb_debug.yaml | 46 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 plugins/tidb/conf/tidb_debug.yaml diff --git a/plugins/tidb/conf/tidb_debug.yaml b/plugins/tidb/conf/tidb_debug.yaml new file mode 100644 index 000000000..7bccc1e4b --- /dev/null +++ b/plugins/tidb/conf/tidb_debug.yaml @@ -0,0 +1,46 @@ +# # Global variables are applied to all deployments and used as the default value of +# # the deployments if a specific deployment value is missing. +global: + user: "root" + ssh_port: 2022 + deploy_dir: "/tidb/tidb-deploy" + data_dir: "/tidb/tidb-data" + +# # Monitored variables are applied to all the machines. +monitored: + node_exporter_port: 9100 + blackbox_exporter_port: 9115 + +server_configs: + tidb: + instance.tidb_slow_log_threshold: 300 + tikv: + readpool.storage.use-unified-pool: false + readpool.coprocessor.use-unified-pool: true + pd: + replication.enable-placement-rules: true + replication.location-labels: ["host"] + tiflash: + logger.level: "info" + +pd_servers: + - host: 154.21.203.138 + +tidb_servers: + - host: 154.21.203.138 + +tikv_servers: + - host: 154.21.203.138 + port: 20160 + status_port: 20180 + config: + server.labels: { host: "logic-host-1" } + +tiflash_servers: + - host: 154.21.203.138 + +monitoring_servers: + - host: 154.21.203.138 + +grafana_servers: + - host: 154.21.203.138 \ No newline at end of file