Qyl.Telemetry.AutoInstrumentation.SqlClient 21.1.0

dotnet add package Qyl.Telemetry.AutoInstrumentation.SqlClient --version 21.1.0
                    
NuGet\Install-Package Qyl.Telemetry.AutoInstrumentation.SqlClient -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.AutoInstrumentation.SqlClient" 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.AutoInstrumentation.SqlClient" Version="21.1.0" />
                    
Directory.Packages.props
<PackageReference Include="Qyl.Telemetry.AutoInstrumentation.SqlClient" />
                    
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.AutoInstrumentation.SqlClient --version 21.1.0
                    
#r "nuget: Qyl.Telemetry.AutoInstrumentation.SqlClient, 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.AutoInstrumentation.SqlClient@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.AutoInstrumentation.SqlClient&version=21.1.0
                    
Install as a Cake Addin
#tool nuget:?package=Qyl.Telemetry.AutoInstrumentation.SqlClient&version=21.1.0
                    
Install as a Cake Tool

Qyl.Telemetry.AutoInstrumentation.SqlClient

Zero-code, AOT-native instrumentation for Microsoft.Data.SqlClient, subscribed over its public DiagnosticSource events. No IL rewriting, no profiler.

dotnet add package Qyl.Telemetry.AutoInstrumentation.SqlClient

With Qyl.Telemetry.Hosting and its builder.AddQyl() in the application, adding this package is the whole integration: the ModuleInitializer bootstrap activates the listener when the assembly loads.

Controls

Variable Effect
OTEL_DOTNET_AUTO_TRACES_SQLCLIENT_INSTRUMENTATION_ENABLED false turns the instrumentation off (default on)
OTEL_DOTNET_AUTO_SQLCLIENT_SET_DBSTATEMENT_FOR_TEXT true records the statement text on the span (default off)

Every attribute is a generated constant from Qyl.Telemetry.SemanticConventions; the instrumentation never renames or drops what SqlClient emitted.

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 52 9/11/2026
21.0.2 46 9/11/2026
21.0.1 51 9/9/2026
20.0.0 87 9/8/2026
17.0.0 82 9/8/2026
16.0.0 95 9/7/2026
15.0.0 86 9/7/2026
14.1.0 104 9/7/2026
14.0.1 99 9/7/2026
12.0.0 100 9/4/2026
11.0.0 97 9/3/2026
10.1.0 99 9/2/2026
10.0.0 90 9/2/2026
9.1.0 110 8/20/2026
9.0.1 125 7/27/2026
9.0.0 115 7/27/2026