Skills for Real Engineers. Straight from my .agents directory.
opentelemetry-net-instrumentation
Agent skill fromAaronontheweb/dotnet-skills
Provides guidance for implementing OpenTelemetry instrumentation in .NET codebases, covering tracing (Activities/Spans), metrics, logs, naming conventions, error handling, performance, SDK setup, resources, context propagation, and API design best practices.
How to install opentelemetry-net-instrumentation
npx skills add Aaronontheweb/dotnet-skills# or add only this skill to Claude Code: copy the folder
skills/opentelementry-dotnet-instrumentation/
# into
~/.claude/skills/opentelementry-dotnet-instrumentation/ (all projects)
.claude/skills/opentelementry-dotnet-instrumentation/ (one project)
1# OpenTelemetry .NET Instrumentation Skill23## When to Use45- Adding OpenTelemetry instrumentation to .NET code (traces, metrics, logs)6- Creating or modifying ActivitySources, Meters, or ILogger usage7- Setting up the OpenTelemetry SDK, resources, exporters, or sampling8- Reviewing telemetry implementations for spec compliance9- Optimizing instrumentation performance10- Designing telemetry APIs that become part of the public surface11- Implementing context propagation across service boundaries1213## Architecture: .NET Is Different1415**CRITICAL**: The .NET OpenTelemetry implementation is fundamentally different from other platforms. .NET provides tracing, metrics, and logging APIs **in the framework itself**.16That means **OTel does not provide a separate instrumentation API** — it uses the built-in .NET APIs and acts as the collection/export layer.1718### The Three Built-in .NET APIs (Primary — Zero Dependencies)1920| Signal | .NET Framework API | Namespace |21|--------|-------------------|-----------|22| **Tracing** | `ActivitySource` / `Activity` | `System.Diagnostics` |23| **Metrics** | `Meter` / `Counter<T>` / `Histogram<T>` / etc. | `System.Diagnostics.Metrics` |24| **Logging** | `ILogger<T>` | `Microsoft.Extensions.Logging` |2526These are **the primary and only APIs** library authors should use for instrumentation.27They ship with the .NET runtime — **no NuGet packages required**.2829### The OTel Collection/Export Layer (Secondary — Application Root Only)30…
Excerpt shown under the repository's MIT license.
More skills in dotnet-skills
Similar skill repositories
Public repository for Agent Skills
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
Agent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
