Skip to content

MetricExportAutoConfiguration contains EnableScheduling annotation #8040

Closed
@mzakes

Description

@mzakes

Hi,

the MetricExportAutoConfiguration.class in actuate project contains an @EnableScheduling annotation. This causes that ScheduledAnnotationBeanPostProcessor is always fired by default if actuator is on the classpath and all the methods annotated @Scheduled are loaded.

This can cause a lot of pain. Could you please update the documentation or rewrite that class?

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions