Qyl.Telemetry.Hosting 21.1.0

dotnet add package Qyl.Telemetry.Hosting --version 21.1.0
                    
NuGet\Install-Package Qyl.Telemetry.Hosting -Version 21.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="Qyl.Telemetry.Hosting" Version="21.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Qyl.Telemetry.Hosting" Version="21.1.0" />
                    
Directory.Packages.props
<PackageReference Include="Qyl.Telemetry.Hosting" />
                    
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 Qyl.Telemetry.Hosting --version 21.1.0
                    
#r "nuget: Qyl.Telemetry.Hosting, 21.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 Qyl.Telemetry.Hosting@21.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=Qyl.Telemetry.Hosting&version=21.1.0
                    
Install as a Cake Addin
#tool nuget:?package=Qyl.Telemetry.Hosting&version=21.1.0
                    
Install as a Cake Tool

Qyl.Telemetry.Hosting

One-line telemetry for a .NET 10 application, NativeAOT included. builder.AddQyl() wires the OpenTelemetry SDK, activates qyl's automatic instrumentation, registers the activity sources and meters, and exports traces, metrics and logs over OTLP.

dotnet add package Qyl.Telemetry.Hosting
using Qyl;

builder.AddQyl();

That is the whole integration. There is no per-library enable step: every supported source is on unless its OTEL_DOTNET_AUTO_<ID>_INSTRUMENTATION_ENABLED toggle turns it off.

Where the telemetry goes

AddQyl() exports to the first of these that is set:

  1. OTEL_EXPORTER_OTLP_ENDPOINT — the standard variable, which also redirects every other OTLP exporter in the process.
  2. QYL_ENDPOINT — a collector for the qyl exporters alone.
  3. A qyl collector discovered on localhost or the host qyl at 4318/4317, which is what qyl up from the qyl dotnet tool provides.

To see spans without any collector, add OpenTelemetry's console exporter through the tracing hook:

dotnet add package OpenTelemetry.Exporter.Console
builder.AddQyl(o => o.ConfigureTracing = t => t.AddConsoleExporter());

What it pulls in

This package depends on Qyl.Telemetry.AutoInstrumentation (the instrumentation runtime) and Qyl.Telemetry.AutoInstrumentation.Hosting (the listener bootstrap). An application that wires the OpenTelemetry SDK itself should reference Qyl.Telemetry.AutoInstrumentation.Hosting directly and register the Qyl.Telemetry.AutoInstrumentation source by hand, instead of this package.

Publishing with -p:PublishAot=true produces no trim, AOT or analyzer warning from this package.

More

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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
21.1.0 254 9/11/2026
21.0.2 64 9/11/2026
21.0.1 234 9/9/2026
20.0.0 91 9/8/2026
17.0.0 103 9/8/2026
16.0.0 97 9/7/2026
15.0.0 94 9/7/2026
14.1.0 368 9/7/2026
14.0.1 220 9/7/2026
12.0.0 96 9/4/2026
11.0.0 211 9/3/2026
10.1.0 191 9/2/2026
10.0.0 168 9/2/2026
9.1.0 1,168 8/20/2026
9.0.1 1,024 7/27/2026
9.0.0 132 7/27/2026