Skip to content

mariusz-ba/DeezNuts.Hangfire.ApplicationInsights

Repository files navigation

NuGet License: MIT

DeezNuts.Hangfire.ApplicationInsights

Provides Dependency and Request telemetry for Hangfire jobs.

Installation

Install the DeezNuts.Hangfire.ApplicationInsights NuGet package.

Package Manager Console

Install-Package DeezNuts.Hangfire.ApplicationInsights

.NET Core CLI

dotnet add package DeezNuts.Hangfire.ApplicationInsights

Usage

This 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.

Screenshots

Transaction

Performance

About

Provides Dependency and Request telemetry for Hangfire jobs.

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages