
Ollygarden otel js setup
Guides setting up OpenTelemetry tracing in Node.js services with a checklist for telemetry
Ollygarden otel js setup is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 5
- Last commit
- License
- Apache-2.0
- Listing updated
Similar skills
About Ollygarden otel js setup
This skill gives an agent a set of conventions for adding OpenTelemetry to a Node.js service. It recommends a project layout with a dedicated telemetry folder, a YAML configuration file loaded through startNodeSDK, and an entry point that starts instrumentation before any other imports. It also includes a programmatic NodeSDK fallback for cases where declarative config is not suitable.
The skill works as a review checklist. It covers stripping query strings from exported HTTP attributes, avoiding parentless client spans created during startup, keeping span names free of per-request values, honoring the standard OTEL_* environment variables, and adding a per-process service.instance.id while keeping the resource lean. It asks the agent to finish with a verification report that shows evidence from its own run for each item.
The skill expects a Node.js project using the OpenTelemetry JavaScript packages. It is marked as deprecated in the ollygarden/skills repository, and it points to the otel-js and ollygarden-otel-declarative-config skills for related details.
When your agent uses it
Ollygarden's recommended pattern for setting up OpenTelemetry in Node.js services. Covers project structure, which auto-instrumentations to disable, the entry-point ordering, the programmatic NodeSDK fallback, and the setup checklist (no query strings in telemetry, startup/non-request span hygiene, declarative YAML config, standard OTEL_* env vars honored, lean resource with service.instance.id) closed by a required verification report. Use when adding OTel to a Node.js project, structuring telemetry code, or reviewing an existing setup. Triggers on "node otel setup", "NodeSDK pattern", "auto instrumentation node", "url.query", "query parameter PII", "service.instance.id".
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (15 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
Copy the skill folder to ~/.claude/skills/ollygarden-otel-js-setup to use it in all your projects:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ollygarden/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/ollygarden-otel-js-setup &&
cp -R "$tmp/deprecated/ollygarden-otel-js-setup" ~/.claude/skills/ollygarden-otel-js-setup &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/ollygarden-otel-js-setup inside it instead.
Copy the skill folder to ~/.agents/skills/ollygarden-otel-js-setup to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ollygarden/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/ollygarden-otel-js-setup &&
cp -R "$tmp/deprecated/ollygarden-otel-js-setup" ~/.agents/skills/ollygarden-otel-js-setup &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/ollygarden-otel-js-setup inside it instead.
Copy the skill folder to ~/.cursor/skills/ollygarden-otel-js-setup to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ollygarden/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/ollygarden-otel-js-setup &&
cp -R "$tmp/deprecated/ollygarden-otel-js-setup" ~/.cursor/skills/ollygarden-otel-js-setup &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/ollygarden-otel-js-setup inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/ollygarden/skills.git --path deprecated/ollygarden-otel-js-setupOr copy the folder to ~/.gemini/skills/ollygarden-otel-js-setup yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/ollygarden-otel-js-setup:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ollygarden/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/ollygarden-otel-js-setup &&
cp -R "$tmp/deprecated/ollygarden-otel-js-setup" ~/.copilot/skills/ollygarden-otel-js-setup &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/ollygarden-otel-js-setup inside it instead.
Get the folder:
git clone --depth 1 https://github.com/ollygarden/skills.gitThen copy skills/deprecated/ollygarden-otel-js-setup into your agent's skills folder as ollygarden-otel-js-setup. Agents that support SKILL.md read one folder per skill.
What it does
- Declarative SDK configuration
- Explains loading a YAML configuration file through startNodeSDK, with environment variable substitution.
- Entry point ordering
- Shows how to start telemetry before the rest of the application loads.
- Programmatic NodeSDK fallback
- Provides a full NodeSDK setup for cases where YAML configuration is unsuitable.
- Query string redaction
- Describes stripping URL query data from HTTP span attributes before export.
- Auto-instrumentation tuning
- Lists disabling the fs, dns and net instrumentations to reduce low-value spans.
- Resource and instance identity
- Covers adding service.instance.id and keeping resource attributes minimal.
Good for
- Add OpenTelemetry tracing to an existing Express or Node.js API
- Review an existing Node.js telemetry setup for PII leaks in span attributes
- Structure telemetry initialization code in a new Node.js project
- Check that OTEL_SERVICE_NAME and OTEL_RESOURCE_ATTRIBUTES are honored at runtime
Ollygarden otel js setup FAQ
What does the skill need to run?
It expects a Node.js project and installs OpenTelemetry packages such as @opentelemetry/sdk-node, @opentelemetry/configuration and @opentelemetry/auto-instrumentations-node.
Does Ollygarden otel js setup change my code automatically?
No. It is a set of conventions and a checklist that the agent follows when adding or reviewing OpenTelemetry setup in a Node.js project.
Why does Ollygarden otel js setup recommend a YAML file over environment variables?
It recommends declarative configuration for new projects, while noting that the experimental configuration package may not suit projects that need stability. When a config file is set, the SDK does not fall back to OTEL_* environment variables, so the file must pass them in with substitution.
Is the skill still maintained?
The skill sits in a deprecated folder of the ollygarden/skills repository, so it may not receive updates.
How do I install Ollygarden otel js setup in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/ollygarden-otel-js-setup to use it in all your projects, or to .claude/skills/ollygarden-otel-js-setup in one project.
Does Ollygarden otel js setup 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 js setup?
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 js setup?
The closest alternatives to Ollygarden otel js setup are Ollygarden otel java setup, Ollygarden otel go setup, Ollygarden otel SDK setup, Ollygarden otel manual instrumentation and Ollygarden otel declarative config.
Where this comes from
- Description: from the skill's own SKILL.md.
More from ollygarden/skills

Guides planning and review of OpenTelemetry auto-instrumentation for noise, PII and cost
- Open source
- 5 GitHub stars
- Developer tools

Review policy for OpenTelemetry declarative YAML config, following OllyGarden conventions
- Open source
- 5 GitHub stars
- Developer tools

Sets up OpenTelemetry tracing, metrics and logs in a Go service via a YAML config
- Open source
- 5 GitHub stars
- Developer tools

Plans minimal viable OpenTelemetry instrumentation for a codebase, tied to SLIs
- Open source
- 5 GitHub stars
- Developer tools

Sets up OpenTelemetry in Java services with a checklist for setup path and telemetry
- Open source
- 5 GitHub stars
- Developer tools

Guides an agent through OpenTelemetry manual instrumentation design, implementation
- Open source
- 5 GitHub stars
- Developer tools

