You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Learn what diagnostic data can be collected by PingCAP Clinic Diagnostic Service from the TiDB and DM clusters deployed using TiUP.
PingCAP Clinic Diagnostic Data
This document provides the types of diagnostic data that can be collected by PingCAP Clinic Diagnostic Service (PingCAP Clinic) from the TiDB and DM clusters deployed using TiUP. Also, the document lists the parameters for data collection corresponding to each data type. When running a command to collect data using Diag client (Diag), you can add the required parameters to the command according to the types of the data to be collected.
The diagnostic data collected by PingCAP Clinic is only used for troubleshooting cluster problems.
Clinic Server is a diagnostic service deployed in the cloud. Currently, you can upload the collected diagnostic data to Clinic Server China only. The uploaded data is stored in the AWS S3 China (Beijing) region server set up by PingCAP. Clinic Server Global will be provided soon with a new URL and data storage location. For details, see PingCAP Clinic components.
PingCAP strictly controls permissions for data access and only allows authorized in-house technical support staff to access the uploaded data.
After a technical support case is closed, PingCAP permanently deletes or anonymizes the corresponding data within 90 days.
TiDB clusters
This section lists the types of diagnostic data that can be collected by Diag from the TiDB clusters deployed using TiUP.
TiDB cluster information
Data type
Exported file
Parameter for data collection by PingCAP Clinic
Basic information of the cluster, including the cluster ID
cluster.json
The data is collected per run by default.
Detailed information of the cluster
meta.yaml
The data is collected per run by default.
TiDB diagnostic data
Data type
Exported file
Parameter for data collection by PingCAP Clinic
Log
tidb.log
--include=log
Error log
tidb_stderr.log
--include=log
Slow log
tidb_slow_query.log
--include=log
Configuration file
tidb.toml
--include=config
Real-time configuration
config.json
--include=config
TiKV diagnostic data
Data type
Exported file
Parameter for data collection by PingCAP Clinic
Log
tikv.log
--include=log
Error log
tikv_stderr.log
--include=log
Configuration file
tikv.toml
--include=config
Real-time configuration
config.json
--include=config
PD diagnostic data
Data type
Exported file
Parameter for data collection by PingCAP Clinic
Log
pd.log
--include=log
Error log
pd_stderr.log
--include=log
Configuration file
pd.toml
--include=config
Real-time configuration
config.json
--include=config
Outputs of the command tiup ctl pd -u http://${pd IP}:${PORT} store
store.json
--include=config
Outputs of the command tiup ctl pd -u http://${pd IP}:${PORT} config placement-rules show