Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

opentelemetry

Skill by codewithmukesh

Guides .NET 10 developers through OpenTelemetry setup for traces, metrics, and logs with OTLP export. Covers custom ActivitySource spans, IMeterFactory metrics, and the Aspire Dashboard for local development.

  • Score 75
  • 851 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install opentelemetry

Built from the published package, never by AI.

git clone --depth 1 https://github.com/codewithmukesh/dotnet-claude-kit /tmp/dotnet-claude-kit && mkdir -p ~/.claude/skills && cp -r /tmp/dotnet-claude-kit/skills/opentelemetry ~/.claude/skills/opentelemetry

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install opentelemetry in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This agent skill gives an AI assistant guidance for adding OpenTelemetry observability to .NET 10 applications. It covers traces, metrics, and logs through a single AddOpenTelemetry() setup, with export over OTLP. The skill includes patterns for custom ActivitySource spans, IMeterFactory-based metrics, resource configuration, and the Aspire Dashboard.

It also explains how to use environment variables such as OTEL_EXPORTER_OTLP_ENDPOINT and OTEL_SERVICE_NAME to route telemetry without code changes. It lists anti-patterns such as creating Meter instances per request and using high-cardinality metric tags. The skill is aimed at .NET developers who want distributed tracing, custom metrics, or local observability.

Written from the project's SKILL.md and checked against it.

What it can do

  • Full three-signal setupConfigures traces, metrics, and logs in one AddOpenTelemetry() call.
  • OTLP exportExports telemetry to any OTLP-compatible backend with UseOtlpExporter().
  • Custom ActivitySourceCreates custom trace spans with tags, events, and error status.
  • IMeterFactory metricsDefines counters, histograms, up-down counters, and gauges through dependency injection.
  • Metric tagsShows how to add multi-dimensional metric tags, using TagList for four or more.
  • Resource configurationSets the service name and version through ConfigureResource.
  • Aspire DashboardShows how to run the standalone Aspire Dashboard container for local development.
  • Source-generated loggingUses LoggerMessage source generation, with trace and span IDs added to logs.
  • Sampling guidanceSuggests parentbased_traceidratio sampling with a 10% ratio in production.
  • Anti-pattern checksWarns against per-request Meters, unchecked activities, and high-cardinality tags.

What you need

  • .NET 10 application
  • OpenTelemetry SDK
  • Docker, for the Aspire Dashboard container example

Try asking

  • Set up OpenTelemetry tracing and OTLP export for my .NET 10 API
  • Add IMeterFactory counters and histograms for my order service
  • Create an ActivitySource span around my checkout method

Good to know

  • Mixing UseOtlpExporter with AddOtlpExporter throws NotSupportedException.
  • Keep metric tag combinations under about 1000 per instrument.
  • StartActivity returns null when no listener is attached.
  • Custom sources must be registered or their activities are silently dropped.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/opentelemetry/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to opentelemetry

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

opentelemetry: common questions

Does this skill support .NET 10?

Yes. The description states it covers OpenTelemetry for .NET 10 applications.

Which backends can telemetry be exported to?

The skill says UseOtlpExporter() works with any OTLP-compatible backend. For production, it suggests an OTel Collector in front of tools such as Grafana or Datadog.

How can I see telemetry locally?

The skill shows running the standalone Aspire Dashboard in a Docker container and pointing OTEL_EXPORTER_OTLP_ENDPOINT at it.

How do I install opentelemetry?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is opentelemetry free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is opentelemetry safe to use?

It scores 75 of 100. Grades: maintenance B, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to opentelemetry?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

opentelemetry Install

Add to stack

Loading.