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
<PackageReference Include="Qyl.Telemetry.Hosting" Version="21.1.0" />
<PackageVersion Include="Qyl.Telemetry.Hosting" Version="21.1.0" />
<PackageReference Include="Qyl.Telemetry.Hosting" />
paket add Qyl.Telemetry.Hosting --version 21.1.0
#r "nuget: Qyl.Telemetry.Hosting, 21.1.0"
#:package Qyl.Telemetry.Hosting@21.1.0
#addin nuget:?package=Qyl.Telemetry.Hosting&version=21.1.0
#tool nuget:?package=Qyl.Telemetry.Hosting&version=21.1.0
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:
OTEL_EXPORTER_OTLP_ENDPOINT— the standard variable, which also redirects every other OTLP exporter in the process.QYL_ENDPOINT— a collector for the qyl exporters alone.- A qyl collector discovered on
localhostor the hostqylat 4318/4317, which is whatqyl upfrom theqyldotnet 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
- Which libraries are instrumented, the toggles, and the qyl attributes: repository README
- Every environment control with its evidence: coverage matrix
- Changes per version: CHANGELOG
- The product around it: qyl.at
| Product | Versions 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. |
-
net10.0
- OpenTelemetry.Exporter.OpenTelemetryProtocol (>= 1.18.0)
- OpenTelemetry.Extensions.Hosting (>= 1.18.0)
- Qyl.Telemetry.AutoInstrumentation.Hosting (>= 21.1.0)
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 |