From b4471a524199cc0c2197873611114b4751501b80 Mon Sep 17 00:00:00 2001 From: Teingi Date: Fri, 26 Jan 2024 09:59:08 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dobstack=E5=A4=B1=E8=B4=A5?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- obdiag_client.py | 5 ----- obdiag_main.py | 9 --------- 2 files changed, 14 deletions(-) diff --git a/obdiag_client.py b/obdiag_client.py index 223c0394..f198f496 100644 --- a/obdiag_client.py +++ b/obdiag_client.py @@ -23,7 +23,6 @@ from handler.gather.gather_awr import GatherAwrHandler from handler.gather.gather_obproxy_log import GatherObProxyLogHandler from handler.gather.gather_sysstat import GatherOsInfoHandler -from handler.gather.gather_obstack2 import GatherObstack2Handler from handler.gather.gather_obadmin import GatherObAdminHandler from handler.gather.gather_perf import GatherPerfHandler from handler.gather.gather_plan_monitor import GatherPlanMonitorHandler @@ -350,10 +349,6 @@ def handle_gather_sysstat_command(self, args): self.gather_timestamp, self.basic_config) return self.gather_sysstat_handler.handle(args) - def handle_gather_obstack_command(self, args): - self.gather_obstack_handler = GatherObstack2Handler(self.observer_nodes, self.default_collect_pack_dir, - self.gather_timestamp, self.basic_config) - return self.gather_obstack_handler.handle(args) def handle_gather_perf_command(self, args): self.gather_perf_handler = GatherPerfHandler(self.observer_nodes, self.default_collect_pack_dir, diff --git a/obdiag_main.py b/obdiag_main.py index 9aaa0c82..0cfeec32 100644 --- a/obdiag_main.py +++ b/obdiag_main.py @@ -65,14 +65,6 @@ def gather_perf(args): logger.debug("object has no attribute 'gather_perf' pass gather perf info\n") -def gather_obstack(args): - try: - if args.gather_obstack: - args.gather_obstack(args) - except AttributeError: - logger.debug("object has no attribute 'gather_obstack' pass gather ob stack\n") - - def gather_plan_monitor(args): try: if args.gather_plan_monitor: @@ -158,7 +150,6 @@ def check(args): gather_awr(obdiag_args) gather_sysstat(obdiag_args) gather_perf(obdiag_args) - gather_obstack(obdiag_args) gather_plan_monitor(obdiag_args) gather_clog(obdiag_args) gather_slog(obdiag_args) From 8b1209764337dae22d1099b40ae2e99ffbcf4478 Mon Sep 17 00:00:00 2001 From: Teingi Date: Fri, 26 Jan 2024 09:59:47 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dobstack=E5=A4=B1=E8=B4=A5?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README-CN.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README-CN.md b/README-CN.md index a115d2bb..d4ca59df 100644 --- a/README-CN.md +++ b/README-CN.md @@ -67,7 +67,6 @@ obdiag config -h -u [-p password] [-P port] - [一键收集主机信息](./docs/gather_sysstat.md) - [一键收集slog/clog日志](./docs/gather_admin.md) - [一键收集火焰图信息](./docs/gather_perf.md) -- [一键收集OB堆栈信息](./docs/gather_ob_stack.md) - [一键收集并行SQL的执行详情信息](./docs/gather_sql_plan_monitor.md) - [一键收集OBPROXY日志](./docs/gather_obproxy_log.md) - [一键收集AWR报告](./docs/gather_awr.md)