Skip to content

Add CPU, memory, and accelerator resource requests to PENDING span#258

Open
morgan-wowk wants to merge 1 commit into
execution-tracing-pipeline-contextfrom
execution-tracing-resource-requests
Open

Add CPU, memory, and accelerator resource requests to PENDING span#258
morgan-wowk wants to merge 1 commit into
execution-tracing-pipeline-contextfrom
execution-tracing-resource-requests

Conversation

@morgan-wowk
Copy link
Copy Markdown
Collaborator

@morgan-wowk morgan-wowk commented May 22, 2026

Add resource attributes to PENDING execution spans

execution.resources.cpu, execution.resources.memory, and
execution.resources.accelerators sourced from task_spec annotations.
Enables distinguishing workload types (e.g. Nebius H100 vs GKE L4)
and correlating resource requests to execution timing.

The attributes are attached exclusively to the PENDING status span, where resource reservation is most meaningful. The function try_emit_execution_trace has been renamed to emit_execution_trace to better reflect its role.

Screenshots

Screenshot 2026-05-22 at 8.13.33 PM.png

Copy link
Copy Markdown
Collaborator Author

@morgan-wowk morgan-wowk force-pushed the execution-tracing-resource-requests branch 2 times, most recently from 60be4d4 to 31bb44a Compare May 22, 2026 23:31
@morgan-wowk morgan-wowk force-pushed the execution-tracing-pipeline-context branch 2 times, most recently from 34ce978 to 30700b0 Compare May 23, 2026 00:06
@morgan-wowk morgan-wowk force-pushed the execution-tracing-resource-requests branch from 31bb44a to 652c58d Compare May 23, 2026 00:06
@morgan-wowk morgan-wowk force-pushed the execution-tracing-pipeline-context branch from 30700b0 to 5317505 Compare May 23, 2026 00:32
@morgan-wowk morgan-wowk force-pushed the execution-tracing-resource-requests branch from 652c58d to 86bfbab Compare May 23, 2026 00:32
execution.resources.cpu, execution.resources.memory, and
execution.resources.accelerators sourced from task_spec annotations.
Enables distinguishing workload types (e.g. Nebius H100 vs GKE L4)
and correlating resource requests to execution timing.
@morgan-wowk morgan-wowk force-pushed the execution-tracing-resource-requests branch from 86bfbab to d89b973 Compare May 23, 2026 02:57
@morgan-wowk morgan-wowk force-pushed the execution-tracing-pipeline-context branch from 5317505 to 68a527c Compare May 23, 2026 02:57
@morgan-wowk morgan-wowk marked this pull request as ready for review May 23, 2026 03:22
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