# Ollygarden otel manual instrumentation

> Ollygarden otel manual instrumentation is an open-source agent skill for developer tools. Guides an agent through OpenTelemetry manual instrumentation design, implementation. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/ollygarden/skills/tree/main/deprecated/ollygarden-otel-manual-instrumentation
- **Repository:** https://github.com/ollygarden/skills
- **GitHub stars:** 5
- **License:** Apache-2.0
- **Skill name:** ollygarden-otel-manual-instrumentation
- **Collection:** https://github.com/ollygarden/skills
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

This skill gives a coding agent a structured method for adding, changing or reviewing hand-written OpenTelemetry instrumentation. It pushes the agent to pick meaningful runtime boundaries first, then decide whether each point should produce a span, a metric, a log or event, or nothing at all, before any code is written.

The guidance covers semantic convention naming, keeping attribute values bounded to limit cardinality, avoiding recording sensitive data such as raw SQL with inlined parameters, assigning error ownership to the span that holds the final outcome, and carrying trace context across network and async calls. It also includes a planning output format and a verification checklist the agent must re-check against the edited files.

The skill is written as text only and ships no scripts. It refers to companion skills for semantic conventions and SDK setup, and says to fall back to official OpenTelemetry documentation and source code when those are unavailable. It is marked as deprecated in its repository.

## When your agent uses it

> OpenTelemetry best practices for manual instrumentation. Use when adding, changing, or reviewing OpenTelemetry instrumentation in code. Guidance to choose runtime boundaries, choose signals, apply semantic conventions, handle propagation, control cardinality, and verify the result.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/ollygarden/skills/tree/HEAD/deprecated/ollygarden-otel-manual-instrumentation)
- [License: Apache-2.0](https://github.com/ollygarden/skills/tree/HEAD/deprecated/ollygarden-otel-manual-instrumentation)

## Features

- **Runtime boundary selection:** Helps decide which code paths deserve spans and which should be left uninstrumented.
- **Signal choice guidance:** Explains when to use spans, metrics, logs or events, or no telemetry at all.
- **Semantic convention checks:** Directs the agent to verify span names and attributes against released conventions.
- **Cardinality and PII controls:** Lists bounded attribute choices and sensitive values that must not be recorded.
- **Trace context propagation:** Covers extracting and injecting context across network, async and client calls.
- **Verification checklist:** Provides a final review list that requires re-reading changed files before finishing.

## Good for

- Add OpenTelemetry spans to an HTTP handler and its database calls
- Review existing instrumentation for high-cardinality attributes
- Decide whether a background job should emit a span, a metric or a log
- Check that trace context survives a message queue hop
- Audit instrumentation for raw SQL or personal data in telemetry

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/ollygarden-otel-manual-instrumentation` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ollygarden/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/ollygarden-otel-manual-instrumentation &&
cp -R "$tmp/deprecated/ollygarden-otel-manual-instrumentation" ~/.claude/skills/ollygarden-otel-manual-instrumentation &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/ollygarden-otel-manual-instrumentation` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/ollygarden-otel-manual-instrumentation` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ollygarden/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/ollygarden-otel-manual-instrumentation &&
cp -R "$tmp/deprecated/ollygarden-otel-manual-instrumentation" ~/.agents/skills/ollygarden-otel-manual-instrumentation &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/ollygarden-otel-manual-instrumentation` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/ollygarden-otel-manual-instrumentation` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ollygarden/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/ollygarden-otel-manual-instrumentation &&
cp -R "$tmp/deprecated/ollygarden-otel-manual-instrumentation" ~/.cursor/skills/ollygarden-otel-manual-instrumentation &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/ollygarden-otel-manual-instrumentation` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/ollygarden/skills.git --path deprecated/ollygarden-otel-manual-instrumentation
```

Or copy the folder to `~/.gemini/skills/ollygarden-otel-manual-instrumentation` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/ollygarden-otel-manual-instrumentation`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ollygarden/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/ollygarden-otel-manual-instrumentation &&
cp -R "$tmp/deprecated/ollygarden-otel-manual-instrumentation" ~/.copilot/skills/ollygarden-otel-manual-instrumentation &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/ollygarden-otel-manual-instrumentation` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/ollygarden/skills.git
```

Then copy `skills/deprecated/ollygarden-otel-manual-instrumentation` into your agent's skills folder as `ollygarden-otel-manual-instrumentation`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Ollygarden otel manual instrumentation need to run?

It is a text-only SKILL.md with reference files and no scripts. It names companion skills for semantic conventions and SDK setup, and falls back to official OpenTelemetry sources if they are unavailable.

### Does Ollygarden otel manual instrumentation set up the OpenTelemetry SDK?

Only as fallback defaults when no companion SDK setup skill is available: OTLP exporters, batch or periodic processing, and tracecontext plus baggage propagators. It says these must not add signals beyond the plan.

### Is the skill still maintained?

The skill lives in a folder marked deprecated within the ollygarden/skills repository.

### How do I install Ollygarden otel manual instrumentation in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/ollygarden-otel-manual-instrumentation to use it in all your projects, or to .claude/skills/ollygarden-otel-manual-instrumentation in one project.

### Does Ollygarden otel manual instrumentation run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Ollygarden otel manual instrumentation?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Ollygarden otel manual instrumentation?

The closest alternatives to Ollygarden otel manual instrumentation are Ollygarden otel auto instrumentation, Ollygarden otel instrumentation planning, Ollygarden otel js setup, Ollygarden otel java setup and Ollygarden otel SDK setup.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Ollygarden otel auto instrumentation](https://ai-powered.com/skills/ollygarden-otel-auto-instrumentation): Ollygarden otel auto instrumentation is an open-source agent skill for developer tools.
- [Ollygarden otel instrumentation planning](https://ai-powered.com/skills/ollygarden-otel-instrumentation-planning): Ollygarden otel instrumentation planning is an open-source agent skill for developer tools.
- [Ollygarden otel js setup](https://ai-powered.com/skills/ollygarden-otel-js-setup): Ollygarden otel js setup is an open-source agent skill for developer tools.
- [Ollygarden otel java setup](https://ai-powered.com/skills/ollygarden-otel-java-setup): Ollygarden otel java setup is an open-source agent skill for developer tools.
- [Ollygarden otel SDK setup](https://ai-powered.com/skills/ollygarden-otel-sdk-setup): Ollygarden otel SDK setup is an open-source agent skill for developer tools.
- [Ollygarden otel declarative config](https://ai-powered.com/skills/ollygarden-otel-declarative-config): Ollygarden otel declarative config is an open-source agent skill for developer tools.
- [Go observability](https://ai-powered.com/skills/go-observability): Go observability is an open-source agent skill for developer tools.
- [Ollygarden otel go setup](https://ai-powered.com/skills/ollygarden-otel-go-setup): Ollygarden otel go setup is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/ollygarden-otel-manual-instrumentation
