Zipkin v2 JSON Trace — Same 13-Span Checkout (json)
The checkout trace as a flat Zipkin v2 span list with localEndpoint, string-only tags and annotations. Two conversions are deliberately visible: Zipkin has no INTERNAL kind, so those two spans omit kind, and every typed attribute is stringified.
[
{
"traceId": "4bf92f3577b34da6a3ce929d0e0e4736",
"id": "00f067aa0ba902b7",
"name": "post /api/checkout",
"timestamp": 1773738872850000,
"duration": 148200,
"localEndpoint": {
"serviceName": "checkout-api",
"ipv4": "192.0.2.11"
},
"tags": {
"http.request.method": "POST",
"url.path": "/api/checkout",
"url.scheme": "https",
"http.response.status_code": "201",
"http.route": "/api/checkout",
"server.address": "shop.example.com",
"client.address": "203.0.113.42",
"user_agent.original": "shop-mobile/4.2.0 (iOS 18.3)",
"enduser.id": "cust-000418",
"shop.order.id": "ord-2026-0317-004182",
"shop.cart.items": "3",
"shop.order.total_minor": "8497",
"shop.currency": "EUR"
},
"kind": "SERVER",
"annotations": [
{
"timestamp": 1773738872851200,
"value": "request.body.parsed"
}
]
},
{
"traceId": "4bf92f3577b34da6a3ce929d0e0e4736",
"id": "1a2b3c4d5e6f7081",
"name": "auth.verify_token",
"timestamp": 1773738872850900,
"duration": 4100,
"localEndpoint": {
"serviceName": "checkout-api",
"ipv4": "192.0.2.11"
},
"tags": {
"auth.mechanism": "jwt",
"auth.token.kid": "k-2026-03",
"auth.cache.hit": "true"
},
"parentId": "00f067aa0ba902b7"Specifications
- Shape
- Zipkin v2 span list
- Spans
- 13
- Time Unit
- microseconds
- Kind Omitted For Internal
- true
- Tag Values
- strings only
- Trace Id
- 4bf92f3577b34da6a3ce929d0e0e4736
Testing contract
Reference control- Scenario
- Convert the OTLP twin to Zipkin v2 and compare span-by-span against this file.
- Expected result
- 11 spans carry a kind and the two INTERNAL spans omit it; every tag value is a string, including the booleans and integers typed in the OTLP source.
What is a .json file?
JSON (JavaScript Object Notation) is a lightweight, text-based data-interchange format representing objects, arrays, strings, numbers, booleans, and null. It is language-independent, human-readable, and the dominant format for web APIs and configuration. It requires a single well-formed root value.
How to use this file
Use an example JSON file to test parsers and serializers, schema validation, Unicode and number-precision handling, and API request or response processing.
How to use this file for testing
“Zipkin v2 JSON Trace — Same 13-Span Checkout (json)” is a deterministic Novus Examples fixture for Observability, JSON parsing, Conversion testing. Structured and plain-text telemetry with known timestamps, levels, request identifiers, and error states for testing log ingestion, correlation, dashboards, and alert pipelines.
Documented properties for this file: JSON · 7,755 bytes. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.
Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.
Telemetry fixtures use fixed trace IDs, span IDs, and timestamps so ingestion is reproducible run to run. Point your collector, parser, or query layer at the file and assert the documented span tree, metric families, or severity mix; service and host names are invented.
Code examples
import json
with open("zipkin-v2-trace-checkout.json") as f:
data = json.load(f)
print(type(data), len(data))Related files
- jsonOTLP Trace — Stock proto3 JSON Encoding (base64 IDs) (json)The same 13-span trace serialised the way a stock proto3 JSON marshaller writes it: trace and span IDs base64-encoded and span kind and status as enum names rather than numbers. Paired with the hex/numeric OTLP/JSON twin so a receiver can be tested against both encodings of one payload.

- jsonOTLP Metrics — Summary with Client-Side Quantiles (json)The OTLP summary type — quantiles computed on the client, kept only for translating legacy Prometheus summaries. It carries the same four quantiles as the Prometheus summary fixture, and like that one it cannot be re-aggregated across instances without producing a wrong number.

- jsonOTLP Trace — 48-Span Linear Chain (json)A single-service trace 48 levels deep — a recursive GraphQL-style resolver where every span is the child of the one before it. A depth fixture for waterfall renderers, tree-layout code and any parser that recurses over parentage.

- jsonOTLP Trace — 60-Way Parallel Fan-Out (json)One root span with 60 overlapping children — a scatter-gather query across database shards. The counterpart to the deep-chain fixture: shallow but very wide, which is what breaks waterfall layouts that assume spans do not overlap in time.

- jsonOTLP Trace — AnyValue Attribute Type Matrix (json)One span carrying every OTLP AnyValue kind — string (plain, Unicode, multi-line, empty), int64 encoded as a JSON string, double, bool, array, nested kvlist and base64 bytes. Includes an integer above 2^53 to catch decoders that route int64 through a JavaScript number.

- jsonOTLP Trace — Clock Skew, Child Starts Before Its Parent (json)Two hosts whose clocks disagree by 12 ms, so a server span appears to start before the client span that called it. Nothing in the payload is malformed — this is the most common real cause of a negative-latency gap in a waterfall, and viewers must show it rather than crash or silently reorder.

Generated by generation/observability.py. Free for any use, no attribution required — license.