Skip to content

Conversation

@LawnGnome
Copy link
Contributor

This should be reverted once we have the data we need, but in the short term, this will be useful to decide our next step with #12281.

The total extra cost here is four log lines per crate version publish, which I think we can comfortably incur for now.

This should be reverted once we have the data we need, but in the short
term, this will be useful to decide our next step with rust-lang#12281.
@LawnGnome LawnGnome requested a review from Turbo87 November 6, 2025 01:20
@LawnGnome LawnGnome self-assigned this Nov 6, 2025
@LawnGnome LawnGnome added C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear A-backend ⚙️ rust Pull requests that update rust code labels Nov 6, 2025
Copy link
Member

@Turbo87 Turbo87 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

This PR triggered me to look at Sentry, because I noticed that run_via_cli() was already using #[instrument] and so I expected the traces to be visible on Sentry. Unfortunately we had a bug in how we handle the spans and Sentry hubs, so only the root transaction was ultimately visible.

#12284 fixes that issue.

Once that PR is merged we should see all the tracing spans on Sentry for the background jobs. I'm not opposed to still merging this PR, but let me know what you think :)

@LawnGnome
Copy link
Contributor Author

I think I'm going to want a slightly more fine grained view than that, but let's merge and deploy #12284 first and see if that gets us enough data to make a decision on #12281. (We may as well leave this open until that's in place, though.)

@Turbo87
Copy link
Member

Turbo87 commented Nov 7, 2025

Looks like we're running into rate limits with Sentry, so we may as well merge this and rely on Datadog instead.

@Turbo87 Turbo87 merged commit 01c6b54 into rust-lang:main Nov 7, 2025
10 checks passed
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 rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants