ollygarden-otel-js-setup
Installation
SKILL.md
JS/Node.js SDK Setup Conventions
Status decision: declarative vs programmatic
The @opentelemetry/configuration package is experimental. Default to declarative config
for new projects. Use the programmatic NodeSDK fallback below if stability is critical or
the project needs runtime configuration that YAML cannot express.
Dependencies
npm install @opentelemetry/api @opentelemetry/sdk-node @opentelemetry/configuration
npm install @opentelemetry/auto-instrumentations-node
npm install @opentelemetry/semantic-conventions
Fetch the latest versions of these packages (see the otel-js skill's Sources of Truth)
and pin them in package.json as appropriate for your project.