Skip to content

Commit

Permalink
fix: obdiag实现参数、变量采集和比对功能 (#337)
Browse files Browse the repository at this point in the history
* obdiag gather and analyze parameters/variables

* obdiag gather and analyze parameters/variables

* obdiag gather and analyze parameters/variables

* obdiag gather and analyze parameters/variables

* CSV添加表头

* obdiag gather and analyze parameters/variables

* 添加文件有效性验证

* 添加文件有效性验证

* 修改参数范围表述

* 修改重复项和描述

* 变量分析中采集时间显示BUG修复

* 打印bug fix
  • Loading branch information
oraclebird authored Jul 16, 2024
1 parent cc77bee commit 21e94e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handler/analyzer/analyze_parameter.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def analyze_parameter_default(self):
report_default_tb.add_row([row[1], row[2], row[3], row[4], tenant_id, row[6], row[11], row[7]])
fp.write(report_default_tb.get_string() + "\n")
self.stdio.print(report_default_tb.get_string())
self.stdio.print("Analyze parameter default finished. For more details, please run cmd '" + Fore.YELLOW + " cat {0}' ".format(file_name) + Style.RESET_ALL + "'")
self.stdio.print("Analyze parameter default finished. For more details, please run cmd '" + Fore.YELLOW + " cat {0}' ".format(file_name) + Style.RESET_ALL)
else:
if self.parameter_file_name is None:
self.stdio.error("the version of OceanBase is lower than 4.2.2, an initialization parameter file must be provided to find non-default values")
Expand Down

0 comments on commit 21e94e2

Please sign in to comment.