Xabaril / AspNetCore.Diagnostics.HealthChecks

Enterprise HealthChecks for ASP.NET Core Diagnostics Package
Apache License 2.0
4.12k stars 800 forks source link

The configuration system healthy check should be utilising the data property to store key information #2230

Open thompson-tomo opened 6 months ago

thompson-tomo commented 6 months ago

What would you like to be added: In HealthReportEntry, I would like the data field to be populated even in a healthy case. The Data field should be populated with the health check type & some additional meta data obtained from the options. At the same time other key OTEL information about db should be populated

When comparisons are occurring a threshold, both the current value and threshold should be returned.

the keys in the data properties should be following open telemetry semantic conventions with the key areas being:

where possible we should also be setting

Why is this needed: Allows for more contextual information about health checks to be recorded/captured