C#C
C#3y 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();


but I don't see it in the docs.
Monitor ASP.NET Core web applications for availability, performance, and usage.
Was this page helpful?