By default, the telemetry mode of OceanBase Diagnostic Tool (obdiag) is enabled. If you run an obdiag command, obdiag collects cluster information, tenant information, and the names of failed inspection items.
Note
obdiag desensitizes the sensitive data, such as IP addresses, that is collected in telemetry mode. With the collected data, OceanBase can better understand how users manipulate OceanBase Database and identify possible issues, thereby improving the structure of obdiag and the performance of OceanBase Database.
Manage telemetry commands
You can enable or disable the telemetry mode by setting the _telemetry parameter in the configuration file of obdiag. The path of the configuration file is ${obdiag_install_dir}/conf/inner_config.yml.
The following sample code disables the telemetry mode:
obdiag:
basic:
config_path: ~/.obdiag/config.yml
config_backup_dir: ~/.obdiag/backup_conf
file_number_limit: 20
file_size_limit: 2G
telemetry: False
*******
******
****
View the collected data
You can open the .obdiag_telemetry.txt file in the ~/.obdiag/ directory to view the data collected by obdiag.