Skip to content

Commit

Permalink
update0902test
Browse files Browse the repository at this point in the history
  • Loading branch information
jingyd66 committed Sep 2, 2024
1 parent 880a148 commit 0e7b7b7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion handler/analyzer/analyze_quene.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ def __pharse_offline_log_file(self, ssh_client, log_name, local_store_dir):

ssh_client = ssh_client_local_client.LocalClient(context=self.context, node={"ssh_type": "local"})
local_store_path = "{0}/{1}".format(local_store_dir, str(log_name).strip(".").replace("/", "_"))
grep_cmd = "grep -e 'dump tenant info(tenant={id:{tenant_id},' {log_dir}/{log_name} >> {gather_path}/{log_name} ".format(tenant_id=self.tenant_id, gather_path=gather_path, log_name=log_name, log_dir=log_path)
# grep_cmd = "grep -e 'dump tenant info(tenant={id:{tenant_id},' {log_dir}/{log_name} >> {gather_path}/{log_name} ".format(tenant_id=self.tenant_id, gather_path=gather_path, log_name=log_name, log_dir=log_path)
grep_cmd = "grep -e 'dump tenant info(tenant={id:{tenant_id},' {log_name} >> {local_store_path} ".format(tenant_id=self.tenant_id, log_name=log_name, local_store_path=local_store_path)
self.stdio.verbose("grep files, run cmd = [{0}]".format(grep_cmd))
ssh_client.exec_cmd(grep_cmd)
Expand Down
3 changes: 3 additions & 0 deletions requirements3.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,6 @@ sqlgpt-parser>=0.0.1a5
netifaces==0.11.0
netifaces==0.11.0
kubernetes==30.1.0
numpy ==2.1.0
pandas=2.2.2

0 comments on commit 0e7b7b7

Please sign in to comment.