Skip to content

Commit

Permalink
feat: hide uptime graph
Browse files Browse the repository at this point in the history
  • Loading branch information
belopash committed May 10, 2024
1 parent 31140e6 commit fca7a02
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/pages/WorkersPage/WorkerStatistics.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export const WorkerStatistics = ({ worker }: { worker: BlockchainApiFullWorker }
</Stack>
</Card>

<UptimeGraph worker={worker} />
{/* <UptimeGraph worker={worker} /> */}

<WorkerDescTable>
{/*<WorkerDescRow>*/}
Expand All @@ -105,14 +105,20 @@ export const WorkerStatistics = ({ worker }: { worker: BlockchainApiFullWorker }
{/* <WorkerDescValue></WorkerDescValue>*/}
{/*</WorkerDescRow>*/}
<WorkerDescRow>
<WorkerDescLabel>Queries, last 24 hours / last 90 days</WorkerDescLabel>
<WorkerDescLabel>Uptime, 24 hours / 90 days</WorkerDescLabel>
<WorkerDescValue>
{percentFormatter(worker.uptime24Hours)} / {percentFormatter(worker.uptime90Days)}
</WorkerDescValue>
</WorkerDescRow>
<WorkerDescRow>
<WorkerDescLabel>Queries, 24 hours / 90 days</WorkerDescLabel>
<WorkerDescValue>
{numberWithSpacesFormatter(worker.queries24Hours)} /{' '}
{numberWithSpacesFormatter(worker.queries90Days)}
</WorkerDescValue>
</WorkerDescRow>
<WorkerDescRow>
<WorkerDescLabel>Data served, last 24 hours / last 90 days</WorkerDescLabel>
<WorkerDescLabel>Data served, 24 hours / 90 days</WorkerDescLabel>
<WorkerDescValue>
{bytesFormatter(worker.servedData24Hours)} / {bytesFormatter(worker.servedData90Days)}
</WorkerDescValue>
Expand Down

0 comments on commit fca7a02

Please sign in to comment.