NexJob.OpenTelemetry 5.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package NexJob.OpenTelemetry --version 5.1.0
                    
NuGet\Install-Package NexJob.OpenTelemetry -Version 5.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="NexJob.OpenTelemetry" Version="5.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NexJob.OpenTelemetry" Version="5.1.0" />
                    
Directory.Packages.props
<PackageReference Include="NexJob.OpenTelemetry" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add NexJob.OpenTelemetry --version 5.1.0
                    
#r "nuget: NexJob.OpenTelemetry, 5.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package NexJob.OpenTelemetry@5.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=NexJob.OpenTelemetry&version=5.1.0
                    
Install as a Cake Addin
#tool nuget:?package=NexJob.OpenTelemetry&version=5.1.0
                    
Install as a Cake Tool

NexJob.OpenTelemetry

OpenTelemetry instrumentation for NexJob — capture spans and metrics via the OpenTelemetry SDK.

Installation

Add the NexJob.OpenTelemetry package to your project.

Usage

Register NexJob instrumentation with the OpenTelemetry SDK in your Program.cs:

using NexJob.OpenTelemetry;

builder.Services.AddOpenTelemetry()
    .WithTracing(tracing => tracing
        .AddNexJobInstrumentation()        // ← registers NexJob spans
        .AddOtlpExporter())
    .WithMetrics(metrics => metrics
        .AddNexJobInstrumentation()        // ← registers NexJob counters/histograms
        .AddOtlpExporter());

Available Spans (Tracing)

  • nexjob.enqueue — Fired when a job is enqueued.
  • nexjob.execute — Fired when a job is executed (links to enqueue span via W3C traceparent).
  • nexjob.recurring.register — Fired when a recurring job is registered.

Available Metrics

  • nexjob.jobs.enqueued (counter) — Number of jobs enqueued, tagged by job_type and queue.
  • nexjob.jobs.succeeded (counter) — Number of jobs completed successfully.
  • nexjob.jobs.failed (counter) — Number of jobs that failed.
  • nexjob.jobs.expired (counter) — Number of jobs that expired before execution.
  • nexjob.job.duration (histogram, ms) — Job execution duration in milliseconds.

Compatibility

Works with any OpenTelemetry exporter, including:

  • OTLP (Collector, Honeycomb, Lightstep, etc.)
  • Jaeger / Zipkin
  • Prometheus
  • Azure Application Insights
  • AWS CloudWatch
  • Google Cloud Monitoring
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
5.9.0 42 10/5/2026
5.8.0 60 10/4/2026
5.7.0 72 10/1/2026
5.6.2 68 10/1/2026
5.6.1 73 9/30/2026
5.6.0 68 9/30/2026
5.5.0 72 9/25/2026
5.4.1 73 9/24/2026
5.4.0 76 9/24/2026
5.3.0 78 9/21/2026
5.2.0 95 9/20/2026
5.1.0 85 9/17/2026
5.0.0 91 9/17/2026
4.0.1 82 9/17/2026
4.0.0 137 4/21/2026
3.0.0 124 4/16/2026
0.0.0-alpha.0 57 9/17/2026