Skip to content

Support @Timed annotation for WebFlux #18680

@lbilger

Description

@lbilger

We recently switched an application from WebMvc to WebFlux. We used the @Timed annotation on our controller methods to get custom timing metrics with custom percentiles. After switching to WebFlux, this stopped working. There is the default metric created by the MetricsWebFilter, but I couldn't find a way to configure the percentiles recorded.

It would be great if you could also support the @Timed annotation for WebFlux for maximum flexibility.
Alternatively, it would also help us if we could globally configure the percentiles for the timer recorded by the MetricsWebFilter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions