Skip to content

Export metrics using manually configured scheduling rather than using @EnableScheduling #8041

Closed
@wilkinsona

Description

@wilkinsona

Automatically enabling scheduling when actuator's on the class path has surprised a few people (#8040, #7307). It can be avoid it by setting spring.metrics.export.enabled to false but then you either lose metrics exporting or you having to configure it all manually. It'd be nice if metrics could be exported without manual configuration and without enabling scheduling for the whole app.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions