TECHNOLOGY

Missing trace attributes: inspect collection limits before inferring absence

In this article
THE QUICK TAKE

A missing attribute with dropped-field evidence is an incomplete observation, not proof that the application lacked the value.

The diagnostic situation

An incident query selects requests whose cache diagnostic field is absent. Investigators label all selected records as cache-disabled. A new instrumentation layer has added many attributes, however, and the field is now being dropped by a collection limit. The query has become a detector of incomplete telemetry while retaining the old operational interpretation.

Why the observation changes meaning

OpenTelemetry defines attribute-count limits and makes counts of dropped span attributes, events and links available for exporters. These counters describe collection loss, not which specific application condition occurred. A missing field may also be unsupported, deliberately filtered or never set. Presence, observed absence and unknown completeness need distinct meanings before downstream filters can classify requests honestly.

Define the instrumentation contract

Define mandatory diagnostic attributes and the permissible missing-value states. Record the effective general and span-specific limits in the installed SDK. Specify where dropped counts remain available after exporting and backend transformation. Do not infer the missing field value from a total dropped count: it establishes incompleteness but does not identify the particular discarded attribute.

A bounded verification procedure

Create a minimal span containing the required diagnostic field, then another with controlled additional attributes sufficient to exercise the configured limit. Capture SDK-readable data and final test-receiver output. Change insertion order in the fixture without assuming every implementation discards the same field. Verify that a downstream selector classifies incomplete observations separately from a confirmed cache-disabled control.

Evidence required for acceptance

Acceptance evidence includes the allowed schema, effective limits, fixture insertion sequence, exported attributes and dropped counts. Show how the operational query handles missing fields when completeness is unknown. Track the rate of incomplete observations independently from cache outcomes. A reduction in selected cache failures after raising limits must not automatically be reported as a model-serving improvement.

Failure cases and limits

An exporter or destination may omit loss metadata, and a zero SDK dropped count does not exclude later filtering. Inspect each visible stage and state remaining uncertainty. Raising limits also increases resource use and may expose unnecessary content. This protocol validates interpretation of absent diagnostic fields; it cannot recover discarded values or prove that all telemetry producers followed the same schema.

A missing attribute with dropped-field evidence is an incomplete observation, not proof that the application lacked the value. OpenTelemetry tracing SDK specification; OpenTelemetry common attribute specification.

The proposed investigation of dropped attributes diagnostic absence is not an executed deployment benchmark. Related reading: Provider metric cardinality: request IDs do not belong in labels; Inference API telemetry without default prompt capture.

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.

Explore GPU hosting
← All articles