Skip to content

When using @Timed, recommend that care is taken to avoid double instrumentation #44037

Open
@helpermethod

Description

Today, I've stumbled over this issue:

micrometer-metrics/micrometer#780

It seems that this happens not only when annotating controller methods with @Timed but also when annotating Spring Data repositories (and possibly other beans).

Is there some way for Spring Boot to prevent this?

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions