8000 worker: Fix tracing instrumentation by Turbo87 · Pull Request #11358 · rust-lang/crates.io · GitHub
[go: up one dir, main page]

Skip to content

worker: Fix tracing instrumentation #11358

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 14, 2025

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
0