Skip to content

Conversation

quaff
Copy link
Contributor

@quaff quaff commented Jun 23, 2025

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

@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
Before this commit, `OtlpTracingProperties` and `OtlpTracingConnectionDetails` are registered even if tracing is disabled.

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
@mhalbritter
Copy link
Contributor

mhalbritter commented Aug 29, 2025

It's intended that OtlpTracingProperties and OtlpTracingConnectionDetails are registered. The @ConditionalOnEnabledTracing is intended to shut off tracing export (it should really be named @ConditionalOnEnabledTracingExport or something like that), not all tracing related beans.

@mhalbritter mhalbritter added status: declined A suggestion or change that we don't feel we should currently apply and removed status: waiting-for-triage An issue we've not yet triaged labels Aug 29, 2025
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