Skip to content

HealthIndicatorRegistry bean is no longer available #18194

@krm1312

Description

@krm1312

The (standard I assume) solution to expose the health endpoint to micrometer does not seem to work in 2.2.0.M6. A lot of the classes are deprecated (as indicated in release notes), but, it fails to start.

http://micrometer.io/docs/guide/healthAsGauge


***************************
APPLICATION FAILED TO START
***************************

Description:

Parameter 1 of constructor in com.acme.app.metrics.HealthMetricsConfig required a bean of type 'org.springframework.boot.actuate.health.HealthIndicatorRegistry' that could not be found.

Not sure if you want to make it work as is (with deprecated classes/beans) or update micrometer recipe.

Metadata

Metadata

Assignees

Labels

type: regressionA regression from a previous release

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions