You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on a large project with some AOP in it, and evaluating pointcuts can be a bit lenghty when starting the application. So I would like to get rid of the unused ones.
In order to do this, it would be nice to have a way to disable ObservedAspectConfiguration: the class is package protected so I cannot exclude it from the autoconfiguration, and there is no ConditionalOnProperty annotation on it either.
The text was updated successfully, but these errors were encountered:
It looks like we missed the ObservedAspect when we took care of #39128. I think it's fair to assume that management.observations.annotations.enabled=false should do this already.
bclozel
changed the title
Add a way to disable ObservedAspectConfiguration
Micrometer "enable" annotations property does not cover observed aspect
May 19, 2025
I am working on a large project with some AOP in it, and evaluating pointcuts can be a bit lenghty when starting the application. So I would like to get rid of the unused ones.
In order to do this, it would be nice to have a way to disable
ObservedAspectConfiguration
: the class is package protected so I cannot exclude it from the autoconfiguration, and there is noConditionalOnProperty
annotation on it either.The text was updated successfully, but these errors were encountered: