Skip to content

The server exports how long the oldest due job has waited - #1541

Closed
gedaiu wants to merge 2 commits into
deeplethe:devfrom
re-cinq:feat/otel-queue-oldest-wait
Closed

gedaiu wants to merge 2 commits into
deeplethe:devfrom
re-cinq:feat/otel-queue-oldest-wait

Conversation

@gedaiu

@gedaiu gedaiu commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

Hi! This builds on #1540, so its diff shows that commit too until #1540 lands. Only the last commit is new.

It adds utopia.jobs.queue.oldest_wait, the number of seconds the oldest due job has been waiting, with the same base, lane and status labels as the queue size. Running jobs are left out, since they are no longer waiting. The value comes from the snapshot the queue size already reads, so there is no extra query.

Thanks for taking a look!

…when OTEL_EXPORTER_OTLP_ENDPOINT is set (deeplethe#1539)

Signed-off-by: Bogdan Szabo <bogdan@re-cinq.com>
…ane and status (deeplethe#1539)

Signed-off-by: Bogdan Szabo <bogdan@re-cinq.com>
@gedaiu

gedaiu commented Nov 29, 2026

Copy link
Copy Markdown
Contributor Author

Folded into #1540, as suggested on #1539. Thank you!

@gedaiu gedaiu closed this Nov 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant