Skip to content

Commit

Permalink
Add total round rate
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom-Newton committed Mar 28, 2024
1 parent 9ad2e47 commit 2bb53e8
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions stats/flytepropeller.dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,23 @@ def round_success() -> Graph:
YAxis(format=SHORT_FORMAT),
),
)

@staticmethod
def round_total() -> Graph:
return Graph(
title="Total round rate",
dataSource=DATASOURCE,
targets=[
Target(
expr="sum(rate(flyte:propeller:all:round:round_total[5m]))",
refId="A",
),
],
yAxes=YAxes(
YAxis(format=OPS_FORMAT),
YAxis(format=SHORT_FORMAT),
),
)

@staticmethod
def round_errors() -> Graph:
Expand Down

0 comments on commit 2bb53e8

Please sign in to comment.