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 Instrumentation Extension

Skill by docker

Extends OpenTelemetry instrumentation in the MCP Gateway when new operations are added. It analyzes git diffs, suggests instrumentation points, and implements them after user approval. It is for developers working on the MCP Gateway codebase.

  • Score 84
  • 1.7k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install OpenTelemetry Instrumentation Extension

Built from the published package, never by AI.

git clone --depth 1 https://github.com/docker/mcp-gateway /tmp/mcp-gateway && mkdir -p ~/.claude/skills && cp -r /tmp/mcp-gateway/.claude/skills/otel-instrument ~/.claude/skills/opentelemetry-instrumentation-extension

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

Step-by-step: install OpenTelemetry Instrumentation Extension in Claude Code

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

About

OpenTelemetry Instrumentation Extension is an agent skill for the MCP Gateway codebase. It applies when new state-changing operations, CLI commands or packages are added, or when a user asks for otel, telemetry, metrics or tracing work. It follows the project guidelines in docs/telemetry/README.md and the simple defer pattern shown in cmd/docker-mcp/catalog/create.go.

The skill works in phases. It reads the git diff and lists functions that need instrumentation, with file and line references, then waits for approval. After approval it adds instrumentation and metrics in pkg/telemetry/telemetry.go, writes tests, updates the telemetry docs, and checks output with a local OTEL collector and docker logs. It is aimed at developers who maintain the MCP Gateway.

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

What it can do

  • Analyze git diffFinds new or changed functions in pkg/ and cmd/docker-mcp/ that perform state-changing operations.
  • Suggest instrumentation pointsLists each function needing telemetry with file and line reference, operation type and domain.
  • Implement instrumentationAdds the defer-based recording pattern and metric instruments after the user approves.
  • Write telemetry testsAdds test cases to pkg/telemetry/telemetry_test.go following existing patterns.
  • Update telemetry docsAdds new metrics and attributes to docs/telemetry/README.md.
  • Verify with collector logsRuns the build with an OTEL collector and checks the otel-debug container output with docker logs.

What you need

  • Docker, to run the OTEL collector container
  • git, to analyze the diff
  • The MCP Gateway repository with docs/telemetry/README.md
  • make, to run make docker-mcp and make test

Try asking

  • Review my git diff and suggest telemetry for the new operations.
  • Add OpenTelemetry instrumentation to the new catalog functions after I approve.
  • Check whether the new pkg/ code has missing telemetry coverage.

Good to know

  • Implementation runs only after the user approves the suggestions.
  • Written for the MCP Gateway project layout and its telemetry docs.

Security check

A

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

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

Inside the skill

  • SKILL.md11 KB

Alternatives to OpenTelemetry Instrumentation Extension

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 Instrumentation Extension: common questions

When does the skill change code?

Only after the user approves the suggested instrumentation points. The source says to ask for approval before implementing.

How does it verify telemetry output?

It builds the project, runs commands with DOCKER_MCP_TELEMETRY_DEBUG set, and checks the otel-debug collector output with docker logs.

Can telemetry block or fail an operation?

The source says telemetry must never block or fail operations. Recording functions return early when an instrument is nil.

How do I install OpenTelemetry Instrumentation Extension?

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

Is OpenTelemetry Instrumentation Extension free?

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

Is OpenTelemetry Instrumentation Extension safe to use?

It scores 84 of 100. Grades: maintenance A, 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 Instrumentation Extension?

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

OpenTelemetry Instrumentation Extension Install

Add to stack

Loading.