Skip to main content
April 24, 2026 · dev · 4 min read

Dummy OpenTelemetry Trace Generator — Complete Guide

A complete guide to the Dummy OpenTelemetry Trace Generator: how it works, how to use it, real use cases, and tips for generating mock distributed tracing…

The Dummy OpenTelemetry Trace Generator is a free, instant online tool for generating mock distributed tracing spans and trace payloads in OpenTelemetry format. This complete guide walks through what it does, how to use it, where it works best, practical tips, and answers to common questions — everything you need to get great results without any signup or installation.

What is the Dummy OpenTelemetry Trace Generator?

The dummy OpenTelemetry trace generator produces realistic mock spans you can feed directly into observability pipelines, collector configs, or demo dashboards — no live instrumented service required. Each span includes a trace ID, span ID, parent-child relationships, timestamps, durations, HTTP status codes, and attributes for database, cache, queue, and HTTP operations. Set the service name to match your actual deployment (say, checkout-service or payment-service) and choose a span count to simulate anything from a single RPC call to a deep multi-hop trace tree. Teams use this to validate Jaeger and Zipkin integrations, stress-test OpenTelemetry Collector pipelines, and onboard engineers to distributed tracing concepts with concrete, readable examples.

How to use the Dummy OpenTelemetry Trace Generator

Getting a result takes only a few seconds:

  • Set the Number of Spans to match the depth of the trace tree you want to simulate (5-15 is realistic for a single request).
  • Enter your target service name exactly as it appears in your observability platform to ensure dashboard filters align.
  • Click Generate to produce a set of mock spans with trace IDs, parent-child links, and varied operation types.
  • Copy the output and paste it into your collector endpoint, test fixture file, or SDK integration under test.
  • Regenerate as many times as needed — each run produces new unique trace and span IDs for isolated test cases.

You can open the Dummy OpenTelemetry Trace Generator and start generating right away. Because it runs instantly and for free, it costs nothing to generate several times and keep the result that fits best.

Common use cases

The Dummy OpenTelemetry Trace Generator suits a range of situations:

  • Stress-testing an OpenTelemetry Collector pipeline's sampling and export rules before production rollout
  • Populating a Jaeger or Grafana Tempo UI with a realistic multi-span checkout-service trace for a demo
  • Writing Jest unit tests for a custom OTLP span processor or trace exporter
  • Reproducing high-latency database spans to validate P99 alerting thresholds in Grafana
  • Generating fixture payloads for Postman collections that test a trace ingestion REST endpoint

Across all of these, the appeal is the same: a fast, repeatable result that would take far longer to put together by hand, available the moment you need it.

Tips for better results

  • Generate two batches with different service names, then import both to verify your tracing backend renders a multi-service dependency graph correctly.
  • Keep spanCount below 20 when testing UI rendering; very deep traces (50+ spans) are better suited for storage and ingestion benchmarks.
  • Name your service after a real planned microservice so any dashboard templates you build during testing are production-ready from the start.
  • Look for spans with 4xx and 5xx status codes in the output — use those specifically to validate that your alerting rules fire on error traces.
  • Pair the output with otel-cli to push spans directly to a local Collector without writing any code: otel-cli exec accepts OTLP JSON on stdin.
  • If you need reproducible IDs for snapshot tests, copy a single generated output and commit it as a fixture rather than regenerating each test run.

Frequently asked questions

How do I send generated OpenTelemetry spans to a real collector

POST the JSON payload to your Collector's OTLP HTTP endpoint — default port 4318 — with Content-Type: application/json. Alternatively, pipe the output through otel-cli or write a short script using any OpenTelemetry SDK's SpanExporter to forward spans directly.

Are these mock spans compatible with Jaeger or Zipkin

The spans follow OpenTelemetry semantic conventions and OTLP-style structure, so they work with any OTLP-compatible backend. For Zipkin's native JSON or Jaeger's Thrift format, run them through the OpenTelemetry Collector's transform processor first.

How many spans should I generate for realistic trace testing

A typical microservice request produces 5–15 spans: one root HTTP span plus child DB, cache, or queue calls. Use 5–15 to mimic a single trace, or go up to 50–100 to load-test a trace storage backend or simulate batch imports.

If the Dummy OpenTelemetry Trace Generator is useful, these related generators pair well with it:

Try it yourself

The Dummy OpenTelemetry Trace Generator is free, instant, and unlimited — there is nothing to install and no account to create. Open the Dummy OpenTelemetry Trace Generator and run it a few times until you find a result that fits.

It is one of many free developer generators on Generator Collection. If it helped, browse the full dev category to find more tools like it.