Skip to content

Auto-configure http tracing for Micrometer Tracing #30784

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

Closed
mhalbritter opened this issue Apr 25, 2022 · 0 comments
Closed

Auto-configure http tracing for Micrometer Tracing #30784

mhalbritter opened this issue Apr 25, 2022 · 0 comments
Assignees
Labels
type: enhancement A general enhancement
Milestone

Comments

@mhalbritter
Copy link
Contributor

mhalbritter commented Apr 25, 2022

Micrometer Tracing supports automatic trace propagation through the use of HttpServerTracingObservationHandler and HttpClientTracingObservationHandler.

The auto-configuration should provide these beans, with an order before the DefaultTracingObservationHandler. The ObservationAutoConfiguration will then pick them up and configures them through TracingObservationHandlerGrouping into the ObservationConfig.

@mhalbritter mhalbritter added the type: enhancement A general enhancement label Apr 25, 2022
@mhalbritter mhalbritter added this to the 3.x milestone Apr 25, 2022
@mhalbritter mhalbritter self-assigned this Apr 25, 2022
@wilkinsona wilkinsona changed the title Auto-configure http tracing for Micronaut Tracing Auto-configure http tracing for Micrometer Tracing Apr 25, 2022
mhalbritter added a commit to mhalbritter/spring-boot that referenced this issue Apr 25, 2022
- Auto-configures HttpServerTracingObservationHandler and
  HttpClientTracingObservationHandler into Micrometer Tracing. Both
  handlers are ordered before the DefaultTracingObservationHandler,
  which is only used as a fallback.
- The HttpServerHandler and HttpClientHandler implementations are
  auto-configured in the Brave and OpenTelemetry auto-configurations.

Closes spring-projectsgh-30784
@snicoll snicoll modified the milestones: 3.x, 3.0.0-M3 Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants