![]() |
VOOZH | about |
dotnet add package OpenTelemetry.Instrumentation.Quartz --version 1.15.1-beta.1
NuGet\Install-Package OpenTelemetry.Instrumentation.Quartz -Version 1.15.1-beta.1
<PackageReference Include="OpenTelemetry.Instrumentation.Quartz" Version="1.15.1-beta.1" />
<PackageVersion Include="OpenTelemetry.Instrumentation.Quartz" Version="1.15.1-beta.1" />Directory.Packages.props
<PackageReference Include="OpenTelemetry.Instrumentation.Quartz" />Project file
paket add OpenTelemetry.Instrumentation.Quartz --version 1.15.1-beta.1
#r "nuget: OpenTelemetry.Instrumentation.Quartz, 1.15.1-beta.1"
#:package OpenTelemetry.Instrumentation.Quartz@1.15.1-beta.1
#addin nuget:?package=OpenTelemetry.Instrumentation.Quartz&version=1.15.1-beta.1&prereleaseInstall as a Cake Addin
#tool nuget:?package=OpenTelemetry.Instrumentation.Quartz&version=1.15.1-beta.1&prereleaseInstall as a Cake Tool
| Status | |
|---|---|
| Stability | Beta |
| Code Owners | @maldago |
👁 NuGet version badge
👁 NuGet download count badge
👁 codecov.io
Automatically instruments the Quartz jobs from Quartz.
QuartzNET Instrumentation is only supported when using .NET Framework >=
net472 and .NET Standard >= netstandard2.0. Quartznet461 support for
activity sources has been removed, more information can be found
here.
dotnet add package OpenTelemetry.Extensions.Hosting
dotnet add package --prerelease OpenTelemetry.Instrumentation.Quartz
ASP.NET Core instrumentation example:
// Add QuartzNET inside ConfigureServices
public void ConfigureServices(IServiceCollection services)
{
services.AddQuartz(q =>
{
// base quartz scheduler, job and trigger configuration
});
// ASP.NET Core hosting
services.AddQuartzServer(options =>
{
// when shutting down we want jobs to complete gracefully
options.WaitForJobsToComplete = true;
});
}
// Add OpenTelemetry and Quartz instrumentation
services.AddOpenTelemetry().WithTracing(x =>
{
x.AddQuartzInstrumentation();
x.AddOtlpExporter(config => {
// Configure OTLP
});
});
This option allows you to filter trace operations.
For example you can trace only execute operations using this snippet:
// ...
using OpenTelemetry.Instrumentation.Quartz.Implementation;
// ...
x.AddQuartzInstrumentation(
opts =>
opts.TracedOperations = new
HashSet<string>(new[] {
OperationName.Job.Execute,
}));
For full operation list please see: .
All operations are enabled by default.
This option allows one to enrich the activity with additional information from
the raw JobDetail object. The Enrich action is called only when
activity.IsAllDataRequested is true. It contains the activity itself (which
can be enriched), the name of the event, and the actual raw object.
For event names "OnStartActivity", "OnStopActivity", the actual object will be
IJobDetail.
For event name "OnException", the actual object will be the exception thrown
The following code snippet shows how to add additional tags using Enrich.
// ...
using OpenTelemetry.Instrumentation.Quartz.Implementation;
using Quartz;
// ...
// Enable enriching an activity after it is created.
x.AddQuartzInstrumentation(opt =>
{
opt.Enrich = (activity, eventName, quartzJobDetails) =>
{
// update activity
if (quartzJobDetails is IJobDetail jobDetail)
{
activity.SetTag("customProperty", jobDetail.JobDataMap["customProperty"]);
...
}
};
})
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 was computed. |
| .NET Framework | net461 net461 was computed. net462 net462 was computed. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 5 NuGet packages that depend on OpenTelemetry.Instrumentation.Quartz:
| Package | Downloads |
|---|---|
|
OpenTelemetry.AutoInstrumentation.Runtime.Managed
Managed components used by the OpenTelemetry.AutoInstrumentation project. |
|
|
Grafana.OpenTelemetry
Full Grafana distribution of OpenTelemetry .NET |
|
|
Honeycomb.OpenTelemetry.CommonInstrumentations
Honeycomb's OpenTelemetry common instrumentations package. Adds support for many common instrumentation libraries for you. |
|
|
LaunchDarkly.Observability
LaunchDarkly Observability for Server-Side .NET SDK |
|
|
Honeycomb.OpenTelemetry.AutoInstrumentations
Honeycomb's OpenTelemetry autoinstrumentations package. Adds support for many common instrumentation libraries for you. |
Showing the top 4 popular GitHub repositories that depend on OpenTelemetry.Instrumentation.Quartz:
| Repository | Stars |
|---|---|
|
colinin/abp-next-admin
这是基于vue-vben-admin 模板适用于abp vNext的前端管理项目
|
|
|
foxminchan/BookWorm
The practical implementation of Aspire using Microservices, AI-Agents
|
|
|
ZaqueuCavalcante/syki
Full Education Management System.
|
|
|
Altinn/altinn-studio
Next generation open source Altinn platform and applications.
|
| Version | Downloads | Last Updated |
|---|---|---|
| 1.15.1-beta.1 | 699,621 | 4/21/2026 |
| 1.15.0-beta.1 | 667,140 | 1/21/2026 |
| 1.14.0-beta.2 | 740,897 | 11/14/2025 |
| 1.14.0-beta.1 | 65,976 | 11/13/2025 |
| 1.13.0-beta.1 | 79,319 | 10/22/2025 |
| 1.12.0-beta.1 | 2,286,226 | 5/5/2025 |
| 1.11.0-beta.2 | 1,010,315 | 3/5/2025 |
| 1.11.0-beta.1 | 172,921 | 1/27/2025 |
| 1.10.0-beta.1 | 102,824 | 12/9/2024 |
| 1.0.0-beta.3 | 5,255,248 | 6/18/2024 |
| 1.0.0-beta.2 | 763,135 | 4/5/2024 |
| 1.0.0-beta.1 | 1,058,260 | 1/4/2024 |
| 1.0.0-alpha.3 | 1,534,664 | 6/9/2023 |
| 1.0.0-alpha.2 | 2,265,250 | 2/28/2023 |
| 1.0.0-alpha.1 | 1,432,259 | 3/14/2022 |