Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
boazhaim committed Sep 17, 2024
1 parent 950a055 commit 1e73540
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def plot_top_n_critical_events_over_time(self, n=10):
critical_events = self.get_events_by_log_level("CRITICAL")
total_critical_events = critical_events.groupby("event").size().reset_index(name="count")

# Get the top 5 events with the highest count overall
# Get the top n events with the highest count overall
top_n_events = total_critical_events.nlargest(n, 'count')

# Group the top 5 events by time interval
Expand Down

0 comments on commit 1e73540

Please sign in to comment.