Skip to content
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

Re-add @ConditionalOnEnabledTracing on BraveAutoConfiguration #38273

Conversation

paulbakker
Copy link

@ConditionalOnEnabledTracing used to be on the BraveAutoConfiguration. See this revision: https://github.com/spring-projects/spring-boot/blob/411586347c8fae00373028bac51dfd16e69661c5/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/tracing/BraveAutoConfiguration.java

It's unclear to me from the git history why it was removed, and I think it's incorrect.
This is causing an issue with (testing) upgrading to 3.2 currently.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Nov 8, 2023
@scottfrederick
Copy link
Contributor

This change was made as part of #35354, and mentioned in the 3.2.0-M1 release notes. Do the suggestions in the release notes resolve your issues with testing?

@scottfrederick scottfrederick added the status: waiting-for-feedback We need additional information before we can continue label Nov 8, 2023
@paulbakker
Copy link
Author

That explains! I had missed it in the release notes.

We're doing something like this in Spring Boot Netflix to have similar behavior in tests, so this is good, actually. We'll have to rework a few assumptions, but that's easy enough.

Thanks!

@paulbakker paulbakker closed this Nov 8, 2023
@scottfrederick scottfrederick added status: declined A suggestion or change that we don't feel we should currently apply and removed status: waiting-for-feedback We need additional information before we can continue status: waiting-for-triage An issue we've not yet triaged labels Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: declined A suggestion or change that we don't feel we should currently apply
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants