In this article
A resent telemetry envelope can duplicate observations while application work remains singular.
The diagnostic situation
After a collector reconnects, an investigation finds repeated records for an inference operation and concludes that the model executed twice. The sender had not received an acknowledgement and resent telemetry already accepted by the receiver. The duplicate may belong to the observation path rather than the execution path. Counting received records as requests turns this ambiguity into an inflated workload total.
Why the observation changes meaning
The OTLP specification explicitly describes acknowledgement ambiguity during interruptions and the possibility of duplicate data after resending. Successful telemetry delivery is therefore not an exactly-once application ledger. A stable span or event identity can assist diagnosis, but backend storage and deduplication behavior vary. Do not assume an arbitrary receiver automatically removes every duplicate or preserves identical records unchanged.
Define the instrumentation contract
Define separate identities for the application attempt, the observation record and the export attempt. Keep retry counters for export distinct from model retries. Document how the diagnostic destination handles repeated records and whether duplicates remain visible. Where metric data is involved, preserve temporality and accumulation intervals: naive addition of repeated cumulative observations can manufacture work beyond the original counter.
A bounded verification procedure
Use a test receiver that can accept a synthetic envelope while withholding its acknowledgement. Observe the sender’s documented retry behavior and compare accepted identifiers with the original generated inventory. Run a separate fixture with a genuine repeated application attempt. The diagnostic must distinguish repeated delivery of one observation from distinct attempt identities instead of merging or multiplying both cases indiscriminately.
Evidence required for acceptance
Acceptance evidence includes the sender configuration, receiver receipt inventory, acknowledgement behavior and application-attempt ledger. Show the duplicate-detection rule and cases it leaves unresolved. Reconcile request totals against the authoritative lifecycle source rather than a raw log-row count. Keep enough safe identity to explain the discrepancy without retaining prompts or treating export-attempt identifiers as metric dimensions.
Failure cases and limits
An identical-looking record can also arise from an instrumentation bug or reused identifier. Deduplication based only on text or timestamp can erase genuine operations. This protocol tests delivery ambiguity in a controlled path; it does not establish universal exactly-once processing, guarantee durable storage or prove that all repeated model work is absent. Unknown execution evidence should remain unknown after telemetry duplicates are identified.
Primary references and related reading
A resent telemetry envelope can duplicate observations while application work remains singular. OpenTelemetry Protocol specification; OpenTelemetry metrics data model.
The proposed investigation of otlp ambiguous delivery duplicates is not an executed deployment benchmark. Related reading: Terminal request records: reconcile stream, usage and logs; OpenTelemetry Collector drops data during backend outages: queues and limits.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.