Qyl.Telemetry.SemanticConventions.Analyzers
9.4.0
dotnet add package Qyl.Telemetry.SemanticConventions.Analyzers --version 9.4.0
NuGet\Install-Package Qyl.Telemetry.SemanticConventions.Analyzers -Version 9.4.0
<PackageReference Include="Qyl.Telemetry.SemanticConventions.Analyzers" Version="9.4.0"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
<PackageVersion Include="Qyl.Telemetry.SemanticConventions.Analyzers" Version="9.4.0" />
<PackageReference Include="Qyl.Telemetry.SemanticConventions.Analyzers"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add Qyl.Telemetry.SemanticConventions.Analyzers --version 9.4.0
#r "nuget: Qyl.Telemetry.SemanticConventions.Analyzers, 9.4.0"
#:package Qyl.Telemetry.SemanticConventions.Analyzers@9.4.0
#addin nuget:?package=Qyl.Telemetry.SemanticConventions.Analyzers&version=9.4.0
#tool nuget:?package=Qyl.Telemetry.SemanticConventions.Analyzers&version=9.4.0
Qyl.Telemetry.SemanticConventions.Analyzers
Roslyn analyzers and code fixes for OpenTelemetry semantic-convention consumers. They flag, at compile time, a deprecated attribute key with its replacement, a span or metric written without the schema URL, a required attribute that is missing on a GenAI or HTTP span, and a wider band of instrumentation patterns that produce telemetry a collector cannot use.
dotnet add package Qyl.Telemetry.SemanticConventions.Analyzers
The package is a development dependency; dotnet add package writes PrivateAssets="all" for
it, so nothing flows to consumers of your own package. Pair it with
Qyl.Telemetry.SemanticConventions,
whose generated constants are what the fixes rewrite to.
Tuning
Every rule has an id, a default severity and a code fix where one is possible. Severity is set
the usual way in .editorconfig; the repository ships ready-made
severity profiles
for strict, default and migration-only use.
More
- Every rule with its rationale: rule catalog
- Which deprecated key maps to which live one: migration catalog
- Changes per version: CHANGELOG
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.