Skip to content

Commit 11d7a30

Browse files
committed
fix(webapp): refine queue chart tooltip copy (TRI-12068)
Concurrency: 'are going' → 'are executing', drop the redundant 'color' from the two parenthetical swatches. Queue depth: drop the trailing swatch. Scheduling delay: cut the p50/p95/p99 breakdown. Throughput: parentheticals become ({swatch} Enqueued) / ({swatch} Started).
1 parent aeaf6ba commit 11d7a30

1 file changed

Lines changed: 6 additions & 17 deletions

File tree

  • apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.queues_.$queueParam

apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.queues_.$queueParam/route.tsx

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -382,8 +382,8 @@ function OverviewCharts({
382382
title="Concurrency"
383383
info={
384384
<>
385-
How many runs are going at once (<ColorSwatch color={COLORS.running} /> color) versus
386-
the queue's limit (<ColorSwatch color={COLORS.limit} /> color). Turns{" "}
385+
How many runs are executing at once (<ColorSwatch color={COLORS.running} />) versus
386+
the queue's limit (<ColorSwatch color={COLORS.limit} />). Turns{" "}
387387
<ColorSwatch color="var(--color-warning)" /> color when it reaches the limit.
388388
</>
389389
}
@@ -413,12 +413,7 @@ function OverviewCharts({
413413
/>
414414
<QueueDetailChartCard
415415
title="Queue depth"
416-
info={
417-
<>
418-
How many runs are waiting in this queue over time (
419-
<ColorSwatch color={COLORS.queued} /> color).
420-
</>
421-
}
416+
info="How many runs are waiting in this queue over time."
422417
className="aspect-[2/1]"
423418
query={`SELECT timeBucket() AS t, max(max_queued) AS queued\nFROM queue_metrics\nGROUP BY t\nORDER BY t`}
424419
fillGaps
@@ -431,8 +426,8 @@ function OverviewCharts({
431426
title="Throughput"
432427
info={
433428
<>
434-
Runs arriving (Enqueued, <ColorSwatch color={COLORS.limit} /> color) versus starting
435-
(Started, <ColorSwatch color={COLORS.running} /> color). Turns{" "}
429+
Runs arriving (<ColorSwatch color={COLORS.limit} /> Enqueued) versus starting
430+
(<ColorSwatch color={COLORS.running} /> Started). Turns{" "}
436431
<ColorSwatch color="var(--color-warning)" /> color when Started falls behind.
437432
</>
438433
}
@@ -453,13 +448,7 @@ function OverviewCharts({
453448
/>
454449
<QueueDetailChartCard
455450
title="Scheduling delay"
456-
info={
457-
<>
458-
How long runs wait before they start: p50 (<ColorSwatch color={COLORS.p50} /> color),
459-
p95 (<ColorSwatch color={COLORS.p95} /> color), and p99 (
460-
<ColorSwatch color={COLORS.p99} /> color).
461-
</>
462-
}
451+
info="How long runs wait before they start."
463452
showLegend
464453
className="aspect-[2/1]"
465454
query={`SELECT timeBucket() AS t,\n round(quantilesMerge(0.5, 0.9, 0.95, 0.99)(wait_quantiles)[1]) AS p50,\n round(quantilesMerge(0.5, 0.9, 0.95, 0.99)(wait_quantiles)[3]) AS p95,\n round(quantilesMerge(0.5, 0.9, 0.95, 0.99)(wait_quantiles)[4]) AS p99\nFROM queue_metrics\nGROUP BY t\nORDER BY t`}

0 commit comments

Comments
 (0)