AspNetCore.Diagnostics.HealthChecks icon indicating copy to clipboard operation
AspNetCore.Diagnostics.HealthChecks copied to clipboard

Add-HealthChecks.Publisher.ApplicationInsights to use telemetryClient.TrackAvailability

Open jsclifford opened this issue 2 years ago • 4 comments

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)

jsclifford avatar Apr 13 '22 22:04 jsclifford

+1

kemmis avatar Oct 21 '22 13:10 kemmis

@jsclifford @kemmis PR is welcome. Looks like an obvious fix but I'm not familiar with AppInsights.

sungam3r avatar Jul 30 '23 05:07 sungam3r

Ok I will get a pull request up when I get time.

jsclifford avatar Aug 21 '23 22:08 jsclifford

I too see value in this.

bradyclifford avatar May 08 '24 16:05 bradyclifford