Skip to content

Micrometer tracing auto-configuration doesn't register all ObservationHandlers #31272

@mhalbritter

Description

@mhalbritter

It seems that the micrometer tracing auto-configuration doesn't register all ObservationHandlers at the ObservationRegistry.

ObservationRegistryPostProcessor runs, calls ObservationRegistryConfigurer#configure, which uses an ObjectProvider<ObservationHandler<Context>> to get all ObservationHandlers. This call only returns the bean from MicrometerTracingAutoConfiguration#defaultTracingObservationHandler, and not the ones from MicrometerTracingAutoConfiguration#httpServerTracingObservationHandler or MicrometerTracingAutoConfiguration#httpClientTracingObservationHandler.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions