C
C#16mo ago
Hulkstance

❔ Application Insights Health Checks

I'm trying to find the docs for Application Insights Health Checks. https://learn.microsoft.com/en-us/azure/azure-monitor/app/asp-net-core?tabs=netcorenew%2Cnetcore6#use-applicationinsightsserviceoptions I already have it setup with User Secrets which I'm going to move to Key Vault in a bit. I also added <PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.21.0" /> and builder.Services.AddApplicationInsightsTelemetry(builder.Configuration); and it worked out of box. However, I remember there used to be something like:
builder.Services.AddHealthChecks()
.AddApplicationInsightsPublisher();
builder.Services.AddHealthChecks()
.AddApplicationInsightsPublisher();
but I don't see it in the docs.
Application Insights for ASP.NET Core applications - Azure Monitor
Monitor ASP.NET Core web applications for availability, performance, and usage.
7 Replies
Unknown User
Unknown User16mo ago
Message Not Public
Sign In & Join Server To View
Hulkstance
HulkstanceOP16mo ago
oh, thanks
Hulkstance
HulkstanceOP16mo ago
AspNetCore.HealthChecks.Publisher.ApplicationInsights 6.0.2
HealthChecks.Publisher.ApplicationInsights is the health check publisher for Application Insights.
Hulkstance
HulkstanceOP16mo ago
just found the package it's indeed 3rd party
Hulkstance
HulkstanceOP16mo ago
GitHub
GitHub - Xabaril/AspNetCore.Diagnostics.HealthChecks: Enterprise He...
Enterprise HealthChecks for ASP.NET Core Diagnostics Package - GitHub - Xabaril/AspNetCore.Diagnostics.HealthChecks: Enterprise HealthChecks for ASP.NET Core Diagnostics Package
Unknown User
Unknown User16mo ago
Message Not Public
Sign In & Join Server To View
Accord
Accord16mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server