otel-js
OpenTelemetry in Node.js / JavaScript / TypeScript — NodeSDK, declarative YAML configuration, auto-instrumentations, ESM vs CJS import patterns. Use when adding, reviewing, or configuring OpenTelemetry in a Node.js service. Triggers on "setup otel in node", "js telemetry", "node tracing setup", "NodeSDK", "auto instrumentation node", "TracerProvider node", or any Node.js-related OTel question.
How do I install this agent skill?
npx skills add https://github.com/ollygarden/opentelemetry-agent-skills --skill otel-jsIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill provides technical documentation and configuration guidance for OpenTelemetry in Node.js environments. It correctly references official OpenTelemetry repositories and the public npm registry for up-to-date technical context. No security risks or malicious patterns were identified.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
OpenTelemetry in Node.js
Entry point for OpenTelemetry mechanics in Node.js / JavaScript / TypeScript services. Load a reference below based on the task; each reference is self-contained.
References
| File | Use when |
|---|---|
references/declarative-setup.md | Configuring the SDK via declarative YAML: OTEL_CONFIG_FILE, @opentelemetry/configuration, @opentelemetry/sdk-node, ESM/CJS import order, 2.x and 3.x migration notes. |
Sources of Truth
For YAML schema details, fetch the upstream sources listed in the otel-declarative-config skill.
For Node.js-specific facts:
| Fact | Fetch |
|---|---|
Latest @opentelemetry/configuration | npm view @opentelemetry/configuration version |
Latest @opentelemetry/sdk-node | npm view @opentelemetry/sdk-node version |
Latest @opentelemetry/auto-instrumentations-node | npm view @opentelemetry/auto-instrumentations-node version |
| 2.x → 3.x migration (removed packages, Node.js floor) | WebFetch https://raw.githubusercontent.com/open-telemetry/opentelemetry-js/v3.1.1/doc/3.x/migration-guide.md |
| Node.js getting-started docs | WebFetch https://opentelemetry.io/docs/languages/js/getting-started/nodejs/ |
Tag-pinned READMEs, source, CHANGELOG, and ESM docs: references/declarative-setup.md.
Cross-References
- Schema-level facts:
otel-declarative-configskill (language-agnostic YAML schema sources). - SDK version selection across languages:
otel-sdk-versionsskill. - Semantic conventions lookup:
otel-semantic-conventionsskill.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/ollygarden/opentelemetry-agent-skills/otel-js">View otel-js on skillZs</a>