opentelemetry
Skill by Resgrid
Sets up OpenTelemetry traces, metrics and logs for .NET 10 applications, with OTLP export and Aspire Dashboard integration. It is for .NET developers adding distributed tracing or custom metrics.
Install opentelemetry
Built from the published package, never by AI.
git clone --depth 1 https://github.com/Resgrid/Core /tmp/Core && mkdir -p ~/.claude/skills && cp -r /tmp/Core/.forge/skills/opentelemetry ~/.claude/skills/opentelemetryRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/Resgrid/Core /tmp/Core && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Core/.forge/skills/opentelemetry ~/.gemini/antigravity-cli/skills/opentelemetryAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill gives an AI assistant guidance for adding OpenTelemetry observability to .NET 10 applications. It covers traces, metrics and logs configured through a single AddOpenTelemetry() call, with UseOtlpExporter() for export to any OTLP-compatible backend. It includes examples for custom ActivitySource spans, IMeterFactory-based metrics, resource configuration and the standalone Aspire Dashboard.
The skill lists core principles and anti-patterns, such as avoiding new Meter instances, using null-safe activity calls and keeping metric tags low cardinality. Configuration is driven by OTEL_* environment variables such as OTEL_EXPORTER_OTLP_ENDPOINT and OTEL_SERVICE_NAME. It suits .NET developers who want to instrument distributed tracing, custom metrics or OTLP export.
Written from the project's SKILL.md and checked against it.
What it can do
- Full setupConfigures traces, metrics and logs in one AddOpenTelemetry() call.
- Custom metricsCreates counters, histograms, up-down counters and gauges through IMeterFactory.
- Metric tagsShows how to use TagList for metric tags when there are more than three.
- Custom tracingCreates spans with a custom ActivitySource and records exceptions on them.
- OTLP exportSends telemetry to an OTLP endpoint set through environment variables.
- Aspire DashboardRuns the standalone Aspire Dashboard container for local viewing.
- Source-generated loggingShows LoggerMessage logging that includes trace and span IDs.
- Sampling guidanceSuggests parentbased_traceidratio sampling with a 10% ratio in production.
What you need
- .NET 10
- Docker (for the Aspire Dashboard container example)
Try asking
- Set up OpenTelemetry tracing and OTLP export for my .NET 10 API.
- Add a Counter and Histogram for order processing using IMeterFactory.
- Help me run the Aspire Dashboard locally and send my app's traces to it.
Good to know
- Do not combine UseOtlpExporter with AddOtlpExporter, which throws NotSupportedException at runtime.
- Keep metric tag combinations under about 1000 per instrument.
- Custom ActivitySource and Meter names must be registered, or their telemetry is dropped.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .forge/skills/opentelemetry/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to opentelemetry
All alternatives →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.
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.
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.
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.
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.
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.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
opentelemetry: common questions
Which signals does this skill cover?
It covers traces, metrics and logs, configured through one AddOpenTelemetry() call. Logs include TraceId and SpanId when an Activity is current.
Where does telemetry go by default?
The OTLP endpoint defaults to http://localhost:4317 over gRPC. You can override it with the OTEL_EXPORTER_OTLP_ENDPOINT environment variable.
Can I use the Aspire Dashboard for local testing?
Yes. The skill shows running the standalone Aspire Dashboard container, with the UI at http://localhost:18888.
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 Apache-2.0 licence. The service it connects to may have its own pricing.
Is opentelemetry safe to use?
It scores 76 of 100. Grades: maintenance A, licence A, quality B. 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.
