Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Quartz.OpenTracing to change log and docs
- Loading branch information
Showing
4 changed files
with
46 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
docs/documentation/quartz-3.x/packages/opentracing-integration.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
[Quartz.OpenTracing](https://www.nuget.org/packages/Quartz.OpenTracing) | ||
provides integration with [OpenTracing](https://opentracing.io/). You may also consider | ||
[Quartz.OpenTelemetry.Instrumentation](opentelemetry-integration.md) package which will supercede OpenTracing and OpenCensus | ||
when OpenTelemetry project reaches maturity. | ||
|
||
::: tip | ||
Quartz 3.2.3 or later required. | ||
::: | ||
|
||
::: danger | ||
The integration library can still live a bit and thus integration API can have breaking changes and change behavior. | ||
::: | ||
|
||
## Installation | ||
|
||
You need to add NuGet package reference to your project which uses Quartz. | ||
|
||
Install-Package Quartz.OpenTracing | ||
|
||
## Using | ||
|
||
You can add Quartz configuration by invoking an extension method `AddQuartzOpenTracing` on `IServiceCollection`. | ||
|
||
|
||
**Example Startup.ConfigureServices configuration** | ||
|
||
```csharp | ||
public void ConfigureServices(IServiceCollection services) | ||
{ | ||
// make sure you configure logging and OpenTracing before quartz services | ||
services.AddQuartzOpenTracing(options => | ||
{ | ||
// these are the defaults | ||
options.ComponentName = "Quartz"; | ||
options.IncludeExceptionDetails = false; | ||
}); | ||
} | ||
``` |