Skip to content

ObservationAnnotationsEnabledCondition breaking change not mentioned in the release notes #45788

Closed
@hetzijzo

Description

@hetzijzo

In Spring Boot 3.5.0 the ObservationAnnotationsEnabledCondition was removed. On the MetricsAspectsAutoConfiguration this annotation was removed and replaced by @ConditionalOnBooleanProperty("management.observations.annotations.enabled"). This is a breaking change since the earlier ObservationAnnotationsEnabledCondition also had the micrometer.observations.annotations.enabled as conditional property.

When I have micrometer.observations.annotations.enabled=true in my properties, the MetricsAspectsAutoConfiguration is no longer triggered. This is breaking change that needs to be mentioned in the release notes.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions