Skip to content

Commit

Permalink
Merge pull request #148 from CybercentreCanada/persistent-service-update
Browse files Browse the repository at this point in the history
Add complete queue to dashboard
  • Loading branch information
cccs-douglass authored Sep 28, 2021
2 parents b036c11 + de880bd commit c970b57
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/components/routes/dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,12 @@ const WrappedIngestCard = ({ ingester }) => {
title="I"
tooltip={t('processing.inflight')}
/>
<MetricCounter
init={ingester.initialized}
value={ingester.queues.complete}
title="C"
tooltip={t('processing.complete')}
/>
<MetricCounter
init={ingester.initialized}
value={`${Number(busyness * 100).toFixed(2)} %`}
Expand Down
1 change: 1 addition & 0 deletions src/locales/en/dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"ingester": "Ingestion Metrics",
"no_services": "There are no service online",
"processing": "Processing:",
"processing.complete": "Submissions queued after processing",
"processing.inflight": "Submissions being scanned right now",
"queued": "Queued:",
"queues": "Queues:",
Expand Down
1 change: 1 addition & 0 deletions src/locales/fr/dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"ingester": "Métriques d'ingestion",
"no_services": "Il n'y a pas de service en ligne",
"processing": "En traitement:",
"processing.complete": "Soumissions en file d'attente après traitement",
"processing.inflight": "Soumissions en cours d'analyse",
"queued": "En file d'attente:",
"queues": "Files d'attente:",
Expand Down

0 comments on commit c970b57

Please sign in to comment.