Steeltoe icon indicating copy to clipboard operation
Steeltoe copied to clipboard

Support for any dotnet IHealthContributor via Actuator

Open thompson-tomo opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe.

I want to be able to use any health contributor and obtain the state via the health actuator

From a maintenance point of view Steeltoe could stop providing a health contributor and instead suggest a different library ie Aspire.

Describe the solution you'd like

I would like Steeltoe to provide an IHealthPublisher which stores health in memory so that the actuator can obtain it regardless of source.

Describe alternatives you've considered

Proxying the requests to end points

Additional context

V4 would be a good opportunity to introduce this breaking change

thompson-tomo avatar Feb 28 '24 03:02 thompson-tomo

I want to be able to use any health contributor and obtain the state via the health actuator

This is already available. The Steeltoe health actuator uses ASP.NET IHealthCheck implementations as well. See https://docs.steeltoe.io/api/v3/management/health.html#asp-net-core-health-checks.

bart-vmware avatar Feb 28 '24 10:02 bart-vmware

Thanks, not sure how i had missed that,

thompson-tomo avatar Apr 28 '24 04:04 thompson-tomo