Skip to content

Conversation

@Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Jun 13, 2025

For some reason only background jobs with the #[instrumented] annotation were receiving the job.id and job.typ fields from the parent span. This commit adjusts the span usage to not require the annotation and attach these fields for all background jobs.

For some reason only background jobs with the `#[instrumented]` annotation were receiving the `job.id` and `job.typ` fields from the parent span. This commit adjusts the `span` usage to not require the annotation and attach these fields for all background jobs.
@Turbo87 Turbo87 requested a review from a team June 13, 2025 17:55
@Turbo87 Turbo87 added C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear A-backend ⚙️ labels Jun 13, 2025
@Turbo87 Turbo87 merged commit a3d296b into rust-lang:main Jun 14, 2025
10 checks passed
@Turbo87 Turbo87 deleted the worker-instrumentation branch June 14, 2025 06:51
Turbo87 added a commit to Turbo87/crates.io that referenced this pull request Jun 14, 2025
This was unintentionally upgraded in rust-lang#11358...
Turbo87 added a commit that referenced this pull request Jun 14, 2025
This was unintentionally upgraded in #11358...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-backend ⚙️ C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant