OpenTelemetry Trace Builder
Build OpenTelemetry spans visually and generate ready-to-use Node.js SDK setup code with your chosen exporter — OTLP, Jaeger, or Zipkin.
Service and Exporter
Custom Span
instrumentation.ts
Custom span usage
Install
Frequently Asked Questions
What is OpenTelemetry?▼
OpenTelemetry (OTel) is a vendor-neutral observability framework for generating, collecting, and exporting telemetry data (traces, metrics, logs). It is the merger of OpenTracing and OpenCensus and is now the industry standard for instrumentation. Backends like Jaeger, Zipkin, Datadog, and Honeycomb all accept OTel data.
What is a span in distributed tracing?▼
A span represents a single unit of work — a function call, HTTP request, or database query. Spans have a name, start/end timestamps, attributes (key-value metadata), events (timestamped logs within a span), and a status (ok/error). Spans are organized into traces via parent-child relationships through trace context propagated in headers.
What is the difference between traces, metrics, and logs?▼
Traces track a single request's journey through distributed services — useful for understanding latency and finding bottlenecks. Metrics are aggregated measurements over time (request rate, p99 latency, error rate) — useful for dashboards and alerting. Logs are discrete text records of events — useful for debugging specific errors.
What is OTLP?▼
OTLP (OpenTelemetry Protocol) is the native wire protocol for OpenTelemetry, supporting gRPC and HTTP/protobuf transport. It is the recommended way to export telemetry from your SDK to a collector or backend. Most backends (Datadog, New Relic, Grafana Tempo) now accept OTLP directly.
Should I use auto-instrumentation or manual instrumentation?▼
Auto-instrumentation (via @opentelemetry/auto-instrumentations-node) instruments popular libraries (Express, HTTP, pg, Redis) with zero code changes — great for getting started. Manual instrumentation lets you add custom spans and attributes for business logic. Use both: auto for infrastructure, manual for domain-specific operations.
Related Products
on GumroadDeveloper Productivity Bundle
Stop rebuilding the same setup every project. 51 VSCode snippets, 40 Git aliases, 5 Docker Compose stacks, 5 GitHub Actions workflows, 5 README templates, and a dotfiles kit. Set up a professional dev environment in under an hour.
Buy on Gumroad →AI Prompt Engineering Toolkit
58 structured prompt templates for Claude, ChatGPT, and Gemini — organized by use case. Code Review, Debugging, Documentation, Architecture, and 10 model-specific tips. Stop writing prompts from scratch.
Buy on Gumroad →Developer Cheat Sheet Bundle
10 print-ready cheat sheets for the tools developers use every day: Git, Docker, Linux CLI, SQL, Regex, HTTP Status codes, VS Code shortcuts, Bash scripting, jq/JSON, and Markdown.
Buy on Gumroad →You Might Also Need
OpenTelemetry Config Generator
Generate OpenTelemetry Collector configuration files for traces, metrics, and logs. Supports Jaeger, Zipkin, OTLP, Prometheus, and Grafana Loki exporters with batch processing and sampling options.
Open free tool →
Highlight.io
Open-source full-stack monitoring with session replay, errors, logs, and tracing.
Open free tool →
Prometheus Alert Rules Validator
Validate Prometheus alert rules YAML files. Checks PromQL expression syntax, required fields, severity labels, duration formats, and common alerting mistakes.
Open free tool →
More Free Tools
Related Articles
LLM Observability Tools 2026: OpenTelemetry, Langfuse, Arize Phoenix Compared
Compare LLM observability tools for 2026: Langfuse, Arize Phoenix, Helicone, LangSmith, and OpenTelemetry for LLMs. Tracing, evals, cost tracking, and self-hosting options.
OpenTelemetry Observability Guide 2026: Traces, Metrics & Logs
A comprehensive guide to OpenTelemetry in 2026—covering OTel architecture, traces, metrics, logs, Node.js and Python instrumentation, Jaeger, Grafana/Prometheus integration, and production cost-control strategies for backend developers.
OpenTelemetry JavaScript Complete Guide 2026: Browser, Node.js & Grafana Cloud
Master OpenTelemetry for JavaScript in 2026. Learn manual instrumentation, browser tracing, frontend web vitals, Node.js SDK setup, and exporting to Grafana Cloud and OTLP backends with practical code examples.
Building Your Observability Stack in 2026: OpenTelemetry + Grafana vs Datadog vs New Relic
A practical guide to building a modern observability stack in 2026 — comparing OpenTelemetry + Grafana OSS, Datadog, and New Relic on cost, setup complexity, features, and real-world tradeoffs.
Microservices Observability with OpenTelemetry 2026: Tracing, Metrics, Logs
Complete guide to implementing observability in microservices using OpenTelemetry in 2026. Distributed tracing, metrics collection, structured logging, and production-ready setup with Jaeger, Prometheus, and Grafana.
Enjoying this tool? Get more like it.
Weekly developer tool guides, productivity playbooks & AI tricks. Free. No spam.
Unlock AI-Powered Dev Tools
- ⚡ AI Code Review, Doc Generator & SQL Builder
- ⚡ All premium templates & early access
- ⚡ Member discounts on Gumroad products
$9/mo after trial · Cancel anytime
Want the full toolkit?
Get DevPlaybook Pro
Every template, guide, boilerplate, and automation script in one bundle. 13 premium products — grab them all at once and save big.
MIT licensed · Instant download · No subscription
See what's included → Browse all deals →