Skip to content

Commit

Permalink
Merge pull request #272 from Teingi/2.3.0_readme
Browse files Browse the repository at this point in the history
gather plan monitor add error log when trace_id has expired
  • Loading branch information
Teingi authored Jun 20, 2024
2 parents de3bac5 + 609ad97 commit 898995a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions handler/gather/gather_plan_monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,8 @@ def handle_plan_monitor_from_ob(cluster_name):
self.__report("报告生成时间: %s" % (time.strftime("%Y-%m-%d %H:%M:%S", t)))
self.report_footer()
self.stdio.verbose("report footer complete")
else:
self.stdio.error("The data queried with the specified trace_id {0} from gv$ob_sql_audit is empty. Please verify if this trace_id has expired.".format(self.trace_id))

if resp["skip"]:
return
Expand Down

0 comments on commit 898995a

Please sign in to comment.