You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e87d814
Browse filesBrowse the repository at this point in the historyBrowse files
fix(webapp): clearer Queues metrics cards (Allocated and Oldest wait)
Two clarity fixes on the Queues pages. The "Allocated" tile now explains
that it is the sum of your queue concurrency limits and how that
compares to the environment limit, and no longer shows a warning colour
when the total goes over the environment limit (which is expected, since
any single queue can burst past it). The queue detail "Oldest wait" card
now shows a single clear number with a tooltip, and drops a second
"worst" figure that could confusingly read lower than the headline.
Mono-RevId: f016b5868e88a675dd636131c552b10fb3993928
The queue page's "Oldest wait" card now shows a single clear number (how long the oldest waiting run has been waiting) with an explanatory tooltip, and no longer shows a second "worst" figure that could confusingly read lower than the headline.
The Queues page Allocated tile now explains that it is the sum of your queue concurrency limits, and no longer shows a warning color when those add up to more than the environment limit, which is expected.
@@ -583,17 +582,16 @@ function QueuesWithMetricsView() {
583
582
title={
584
583
<spanclassName="flex items-center gap-1">
585
584
Allocated
586
-
{allocation&&overAllocated? (
585
+
{allocation ? (
587
586
<InfoIconTooltip
588
-
content="The queue limits add up to more than the environment limit, so queues will compete for concurrency when the environment saturates."
589
-
buttonClassName="text-warning"
587
+
content="The sum of every queue's concurrency limit. It can go over 100% of the environment limit, which is normal: it lets one queue burst while others are quiet. The environment limit still caps total running work, so queues share it when the environment is busy."
Copy file name to clipboardExpand all lines: apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.queues_.$queueParam/route.tsx
+14-14Lines changed: 14 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -1107,18 +1107,12 @@ function QueueStats({
1107
1107
timeRange: TimeRangeParams;
1108
1108
queueName: string;
1109
1109
}){
1110
-
// Live "now" is empty for a queue that just drained, so add the window peak/worst as a dimmed
1111
-
// caption (styled like "bursts up to 50" on the Queues list) — a quiet queue still shows how
1112
-
// backed up it got recently. "worst_wait" is the window's worst head-of-line wait (max of the
1113
-
// oldest still-waiting run's age), the same metric as the live "Oldest wait" headline — not the
1114
-
// scheduling-delay percentiles of runs that already started. Only concurrency-keyed queues record
1115
-
// this (max_ck_wait_ms), so it's 0/absent for non-keyed queues.
1116
-
const{ rows }=useQueueMetric(
1117
-
`SELECT max(max_queued) AS peak_queued,\n max(max_ck_wait_ms) AS worst_wait\nFROM queue_metrics`,
1118
-
{ ids, timeRange, queueName }
1119
-
);
1110
+
const{ rows }=useQueueMetric(`SELECT max(max_queued) AS peak_queued\nFROM queue_metrics`,{
0 commit comments