Skip to content

When using observability annotations, recommend that care is taken to avoid double instrumentation #44037

Closed
@helpermethod

Description

@helpermethod

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

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions