Skip to content

SpringBoot 3.0.3 tracing with @EnableReactiveMethodSecurity #34366

@ugurlu

Description

@ugurlu

Hello,

We are testing micrometer reactive tracing.

If we add @EnableReactiveMethodSecurity annotation to our configuration we're not able to see traceId and spanId in logs.
If we comment out @EnableReactiveMethodSecurity context propogration works as expected but we're loosing method security.

If it helps, enabling reactive method security causes following additional logs

2023-02-24 12:44:22.530 [main] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.boot.actuate.autoconfigure.observation.ObservationAutoConfiguration' of type [org.springframework.boot.actuate.autoconfigure.observation.ObservationAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) {}
2023-02-24 12:44:22.546 [main] INFO  o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'observationRegistry' of type [io.micrometer.observation.SimpleObservationRegistry] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) {}

Thanks for your help.

Metadata

Metadata

Assignees

Labels

for: external-projectFor an external project and not something we can fixstatus: invalidAn issue that we don't feel is valid

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions