From opentelemetry-agent-skills
Guides OpenTelemetry setup in .NET including DI/builder SDK, native BCL instrumentation, zero-code CLR-profiler agent, contrib packages, performance tuning, and breaking-change audits. Use when adding, reviewing, or configuring OpenTelemetry in a .NET or ASP.NET Core service.
How this skill is triggered — by the user, by Claude, or both
Slash command
/opentelemetry-agent-skills:otel-dotnetThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Entry point for OpenTelemetry mechanics in .NET services. Load a reference below based on the
Entry point for OpenTelemetry mechanics in .NET services. Load a reference below based on the task; each reference is self-contained.
| File | Use when |
|---|---|
references/setup.md | Setting up the SDK via the DI/builder path (AddOpenTelemetry().WithTracing/WithMetrics/WithLogging, OpenTelemetry.Extensions.Hosting), exporter wiring, env-var / IConfiguration inputs, and why there is no declarative YAML config in .NET. |
references/api.md | Instrumenting with native BCL APIs (ActivitySource/Activity, System.Diagnostics.Metrics.Meter, ILogger), how the SDK subscribes (AddSource/AddMeter), attributes, propagation, and the optional OTel API shim. |
references/instrumentation-libraries.md | Zero-code (the opentelemetry-dotnet-instrumentation CLR-profiler agent), the contrib instrumentation-package catalog, and manual instrumentation following semconv. |
references/performance.md | Tuning sampling, batch export processor, periodic metric reader, views, exporter choice, async context, graceful shutdown. |
references/breaking-changes.md | Auditing existing code for deprecated/renamed APIs and semconv changes across recent core/contrib releases. |
For YAML schema details (language-agnostic), see the otel-declarative-config skill — but note
.NET does not yet implement declarative config (see references/setup.md).
For .NET-specific facts:
| Fact | Fetch |
|---|---|
Latest OpenTelemetry core / core-* tag | gh api repos/open-telemetry/opentelemetry-dotnet/releases/latest -q '.tag_name' |
Latest NuGet package (OpenTelemetry, OpenTelemetry.Extensions.Hosting, exporters, OpenTelemetry.Instrumentation.<pkg>) | WebFetch https://www.nuget.org/packages/<PackageId> (Version) |
| Latest auto-instrumentation agent | gh api repos/open-telemetry/opentelemetry-dotnet-instrumentation/releases/latest -q '.tag_name' |
| Core CHANGELOG (per package) | WebFetch https://raw.githubusercontent.com/open-telemetry/opentelemetry-dotnet/main/src/<Package>/CHANGELOG.md |
| Contrib CHANGELOG (per package) | WebFetch https://raw.githubusercontent.com/open-telemetry/opentelemetry-dotnet-contrib/main/src/<Package>/CHANGELOG.md |
| .NET getting-started / instrumentation docs | WebFetch https://opentelemetry.io/docs/languages/dotnet/instrumentation/ |
| Zero-code agent docs | WebFetch https://opentelemetry.io/docs/zero-code/dotnet/ |
otel-declarative-config skill (language-agnostic YAML schema sources; .NET not yet implemented).otel-sdk-versions skill.otel-semantic-conventions skill.npx claudepluginhub ollygarden/opentelemetry-agent-skills --plugin otel-dotnetConfigures OpenTelemetry traces, metrics, and logs for .NET applications with OTLP export, IMeterFactory, and Aspire Dashboard integration.
Guides OpenTelemetry instrumentation in .NET codebases: tracing (Activities/Spans), metrics, naming conventions, error handling, performance, and API best practices.
Configures and troubleshoots OpenTelemetry in Python: declarative YAML setup, zero-code instrumentation, manual API, performance tuning, and breaking changes.