Skip to content

Skip registering all OTLP tracing related beans if tracing is disabled #46166

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

quaff
Copy link
Contributor

@quaff quaff commented Jun 23, 2025

Before this commit, OtlpTracingProperties and OtlpTracingConnectionDetails are registered even if tracing is disabled.

Before this commit, `OtlpTracingProperties` and `OtlpTracingConnectionDetails` are registered even if tracing is disabled.

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jun 23, 2025
@quaff quaff marked this pull request as draft June 23, 2025 08:40
@quaff
Copy link
Contributor Author

quaff commented Jun 23, 2025

It applies to other tracing AutoConfigurations such as ZipkinAutoConfiguration, should I create separate PR or append commits in this PR?

@quaff quaff marked this pull request as ready for review June 26, 2025 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting-for-triage An issue we've not yet triaged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants