Skip to content

Refine tracing exemplar inclusion configuration#49594

Closed
answndud wants to merge 1 commit intospring-projects:mainfrom
answndud:codex/exemplar-include-49572
Closed

Refine tracing exemplar inclusion configuration#49594
answndud wants to merge 1 commit intospring-projects:mainfrom
answndud:codex/exemplar-include-49572

Conversation

@answndud
Copy link
Copy Markdown
Contributor

Summary

  • rename management.tracing.exemplars.filter to management.tracing.exemplars.include and align the values with all, none, and sampled-traces
  • stop registering OTLP and Prometheus exemplar support beans when exemplar inclusion is none
  • update the tracing docs and regression tests for the revised property and behavior

Testing

  • ./gradlew :module:spring-boot-micrometer-tracing:test --tests org.springframework.boot.micrometer.tracing.autoconfigure.otlp.LazyTracingExemplarContextProviderTests --tests org.springframework.boot.micrometer.tracing.autoconfigure.prometheus.LazyTracingSpanContextTests :module:spring-boot-micrometer-tracing-brave:test --tests org.springframework.boot.micrometer.tracing.brave.autoconfigure.OtlpExemplarsAutoConfigurationTests --tests org.springframework.boot.micrometer.tracing.brave.autoconfigure.PrometheusExemplarsAutoConfigurationTests

Fixes #49572

Signed-off-by: MJY <jmoon0227@gmail.com>
@mhalbritter
Copy link
Copy Markdown
Contributor

See #49572 (comment).

@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 Mar 16, 2026
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.

Add more fine-grained support for selecting metric exemplars

3 participants