XO.Console.Cli.Instrumentation 5.0.6

dotnet add package XO.Console.Cli.Instrumentation --version 5.0.6                
NuGet\Install-Package XO.Console.Cli.Instrumentation -Version 5.0.6                
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="XO.Console.Cli.Instrumentation" Version="5.0.6" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add XO.Console.Cli.Instrumentation --version 5.0.6                
#r "nuget: XO.Console.Cli.Instrumentation, 5.0.6"                
#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.
// Install XO.Console.Cli.Instrumentation as a Cake Addin
#addin nuget:?package=XO.Console.Cli.Instrumentation&version=5.0.6

// Install XO.Console.Cli.Instrumentation as a Cake Tool
#tool nuget:?package=XO.Console.Cli.Instrumentation&version=5.0.6                

XO.Console.Cli.Instrumentation

This library instruments XO.Console.Cli applications for OpenTelemetry tracing.

Getting Started

1. Add a reference

> dotnet add package XO.Console.Cli.Instrumentation

If your project does not already reference OpenTelemetry, add that, too.

> dotnet add package OpenTelemetry
> dotnet add package OpenTelemetry.Extensions.Hosting

2. Configure the Activity Source

return await Host.CreateDefaultBuilder(args)
    .ConfigureServices(static (context, services) => {
        services.AddOpenTelemetry()
            .WithTracing(static (tracerProviderBuilder) => {
                // add the XO.Console.Cli activity source to the tracer configuration
                tracerProviderBuilder.AddCommandAppInstrumentation();
            });
    })
    .RunCommandAppAsync(args);
Product 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. 
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.0.6 104 6/11/2024
4.0.6 150 6/22/2023