Provides Dependency and Request telemetry for Hangfire jobs.
Install the DeezNuts.Hangfire.ApplicationInsights NuGet package.
Install-Package DeezNuts.Hangfire.ApplicationInsightsdotnet add package DeezNuts.Hangfire.ApplicationInsightsThis package assumes you have Hangfire and Microsoft.ApplicationInsights installed and configured.
You then need to use following methods when configuring services: AddHangfireApplicationInsights and UseApplicationInsights:
builder.Services.AddHangfire((serviceProvider, globalConfiguration) => globalConfiguration
...
.UseApplicationInsights(serviceProvider));
builder.Services.AddHangfireServer();
builder.Services.AddHangfireApplicationInsights();See Sample Project for full configuration example.

