AspNetCore.Diagnostics.HealthChecks
AspNetCore.Diagnostics.HealthChecks copied to clipboard
Add-HealthChecks.Publisher.ApplicationInsights to use telemetryClient.TrackAvailability
Update HealthChecks.Publisher.ApplicationInsights to use telemetryClient.TrackAvailability(availability)
This will enhance this publisher to have availability results to directly integrate into Azure Monitor Dashboards instead of a custom Log Analytics Query.
Please update all instances of client.TrackException(
to use client.TrackAvailability(availability)
+1
@jsclifford @kemmis PR is welcome. Looks like an obvious fix but I'm not familiar with AppInsights.
Ok I will get a pull request up when I get time.
I too see value in this.