Xabaril / AspNetCore.Diagnostics.HealthChecks

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

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

Open thompson-tomo opened 1 month ago

thompson-tomo commented 1 month 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