Skip to content

Remove Spring SDK MetricsRegistry workarounds in tests #1673

@megglos

Description

@megglos

Description

The Spring SDK offers an automatic actuator metrics setup in case actuator and MetricMeter classes are present via CamundaActuatorConfiguration.

However it turned out that the SDK was always setting up the MicrometerMetricsRecorder accidentally by default as optional dependencies containing those classes were not flagged as optional in the SDK. This changed with camunda/camunda#31991 .

In the meantime this lead to two different workarounds within ZPT:

Once camunda/camunda#31991 is merged and backported and released, we can remove these workarounds as the Spring SDK will then properly provide a default NoopMetricsRecorder which is suffice for test setups.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/toilCategorizes an issue or PR as general maintenance, i.e. cleanup, refactoring, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions