Data Formats
The message is the same. Only the language changes.
A system that speaks one language reaches one listener.
A system that speaks many reaches all.
Exporter Log
14:23:01 otel-exporter Sending span checkout to metrics backend...
14:23:01 ERROR Export failed: unsupported format. Cannot parse binary encoding.
14:23:01 ERROR Expected: plain text exposition format
The exporter sent valid telemetry, but the backend rejected it. Why?
the same span, three representations
Backend 1
Accepts compact binary-encoded data
Backend 2
Reads plain text, one key=value pair per line
Backend 3
Accepts structured JSON with named fields
In practice, these backends have names you'll encounter:
Jaeger
A tracing tool that accepts binary-encoded data
Prometheus
A metrics system that scrapes key=value text
Elasticsearch / Loki
Logging tools that ingest structured JSON
The data is the same. The format is the envelope.
Different destinations need different envelopes.
Continue →