AspNet.KickStarter.Tracing
1.2.1
Prefix Reserved
See the version list below for details.
dotnet add package AspNet.KickStarter.Tracing --version 1.2.1
NuGet\Install-Package AspNet.KickStarter.Tracing -Version 1.2.1
<PackageReference Include="AspNet.KickStarter.Tracing" Version="1.2.1" />
paket add AspNet.KickStarter.Tracing --version 1.2.1
#r "nuget: AspNet.KickStarter.Tracing, 1.2.1"
// Install AspNet.KickStarter.Tracing as a Cake Addin #addin nuget:?package=AspNet.KickStarter.Tracing&version=1.2.1 // Install AspNet.KickStarter.Tracing as a Cake Tool #tool nuget:?package=AspNet.KickStarter.Tracing&version=1.2.1
AspNet.KickStarter.Tracing
This library provides an ITraceActivity that is registered by WithOpenTelemetry
and may be used to add tracing to operations.
Sample Usage
Program.cs
await new ApiBuilder()
.WithOpenTelemetry()
.Build(args)
.RunAsync();
MyService.cs
public MyService(ITraceActivity traceActivity) => _traceActivity = traceActivity;
public Process(Thing thing)
{
using var trace = _traceActivity.StartActivity("Thing Processing");
...
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. 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. |
-
net6.0
- No dependencies.
-
net8.0
- No dependencies.
NuGet packages (3)
Showing the top 3 NuGet packages that depend on AspNet.KickStarter.Tracing:
Package | Downloads |
---|---|
AspNet.KickStarter
This simplifies the bootstrapping code to run a minimal API with optional AddIn support for Serilog, FluentValidation, OpenTelemetry and Swagger. |
|
AspNet.KickStarter.CQRS
This is a basic library of interfaces to use for CQRS commands and queries with MediatR. |
|
AspNet.KickStarter.AddIn.OpenTelemetry
This simplifies the bootstrapping code to run a minimal API with optional support for OpenTelemetry metrics, traces and logging. |
GitHub repositories
This package is not used by any popular GitHub repositories.