Skip to content

Commit

Permalink
fixing when no logs for telemetry
Browse files Browse the repository at this point in the history
  • Loading branch information
boazhaim committed Nov 19, 2024
1 parent 418a64a commit 1a2a093
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -386,8 +386,12 @@ def create_analyzer(parsed_args, full_extracted_logs_list,
"More than 5 events burst over a minute",
critical_events_headers))

for cur_telemetry in \
[ibdianget_2_ports_primary_analyzer, ibdianget_2_ports_secondary_analyzer]:
existing_telemetry_analyzers = []
for telemetry_analyzer in [ibdianget_2_ports_primary_analyzer, ibdianget_2_ports_secondary_analyzer]:
if telemetry_analyzer:
existing_telemetry_analyzers.append(telemetry_analyzer)

for cur_telemetry in existing_telemetry_analyzers:
dataframes_for_pdf.append((f"{cur_telemetry.telemetry_type} Telemetry iteration time",
cur_telemetry.get_last_iterations_time_stats()))
dataframes_for_pdf.append((f"{cur_telemetry.telemetry_type} "
Expand Down

0 comments on commit 1a2a093

Please sign in to comment.