opentelemetry-js

Installation
SKILL.md

OpenTelemetry JS

Workflow

  1. Confirm observability goals and backend contract (OTLP collector/vendor).
  2. Bootstrap NodeSDK before app code execution.
  3. Define stable resource attributes and service identity.
  4. Add auto/manual instrumentation where signal value is highest.
  5. Configure exporters, batching, and shutdown handling.
  6. Validate propagation across service boundaries.
  7. Tune sampling and cardinality for production cost control.

Preflight (Ask / Check First)

  • Node.js and OpenTelemetry package versions.
  • If using JS SDK 2.x, confirm runtime baseline (^18.19.0 || >=20.6.0) and TypeScript >=5.0.4.
  • Collector endpoint/protocol and auth requirements.
  • Required signals (traces/metrics/logs) and SLO use cases.
  • Existing metric/trace naming conventions.
  • Startup model (single process, workers, serverless).
Installs
3
GitHub Stars
2
First Seen
Mar 19, 2026
opentelemetry-js — kittne/codex-skills-by-codex