Skip to content

Commit

Permalink
fix: add cost tracking and retries to admin page
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamesb committed Mar 9, 2024
1 parent f720f86 commit cfbb67a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/client/src/components/AdminPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ function TasksTable(props: TasksTableProps) {
<TableCell>
<span className="font-semibold">Logs</span>
</TableCell>
<TableCell>
<span className="font-semibold">Retries / Max</span>
</TableCell>
<TableCell>
<span className="font-semibold">Cost ($)</span>
</TableCell>
Expand Down Expand Up @@ -162,6 +165,9 @@ function TasksTable(props: TasksTableProps) {
</ul>
)}
</TableCell>
<TableCell>
{task.job?.attempts} / {task.job?.max_attempts}
</TableCell>
<TableCell>${task.costInMillicents || 0 / 100_000}</TableCell>
<TableCell>
{
Expand Down

0 comments on commit cfbb67a

Please sign in to comment.