Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG fix:obdiag analyze flt_trace 全链路诊断关联obproxy日志问题修复 #445

Merged
merged 9 commits into from
Sep 24, 2024
4 changes: 4 additions & 0 deletions handler/analyzer/analyze_flt_trace.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def __init__(self, context, gather_pack_dir=None):
self.gather_pack_dir = gather_pack_dir
self.flt_trace_id = ''
self.nodes = []
self.obproxy_nodes = []
self.workers = const.FLT_TRACE_WORKER
self.max_recursion = const.FLT_TRACE_TREE_MAX_RECURSION
self.config_path = const.DEFAULT_CONFIG_PATH
Expand All @@ -51,6 +52,9 @@ def __init__(self, context, gather_pack_dir=None):

def init_config(self):
self.nodes = self.context.cluster_config['servers']
self.obproxy_nodes = self.context.obproxy_config['servers']
if len(self.obproxy_nodes) > 0:
self.nodes.extend(self.obproxy_nodes)
self.inner_config = self.context.inner_config
return True

Expand Down
Loading