Skip to main content

Module trace_ingest

Module trace_ingest 

Source

StructsΒ§

TraceBatchColumnObservation πŸ”’
The schema and value types observed for one column in one chunk.
TraceChunkIngestContext πŸ”’
Shared dependencies and request metadata used while ingesting trace chunks.
TraceChunkRetry πŸ”’
Sparse representation retained for a v1 trace chunk.
TraceColumnRequestSchema πŸ”’
Per-column observations and the resolved target type for a trace request.
TraceFailureEntry πŸ”’
TraceFailureMessages πŸ”’
Bounded, deduplicated failure details for one trace request.
TraceIngestState πŸ”’
Accumulates trace outcomes, auxiliary rows, and bounded failure details.
TraceRequestSchema πŸ”’
Request-wide schema observations collected across all v1 trace chunks.
TraceRetryRow πŸ”’
The projected retry values and identifying metadata for one span.
TraceRetryValue πŸ”’
One retry cell and the logical type to restore before insertion.
TraceSpanMetadata πŸ”’
Span identity and operation fields retained after request conversion.
TraceTablePreAlter πŸ”’
Table columns to add or widen before inserting the prepared chunks.

EnumsΒ§

ChunkFailureReaction πŸ”’
Determines how trace ingestion responds to a failure before a write is dispatched.
TraceChunkSchemaState πŸ”’
How a v1 chunk should be reconciled when it is written.
TraceRequestSchemaPlan πŸ”’
Either a ready table-alter plan or the observations that cannot be unified.
TraceRetrySchemaType πŸ”’
The scalar or binary logical type recorded for a retry value.

ConstantsΒ§

TRACE_FAILURE_CAUSE_LIMIT πŸ”’
Maximum characters of a failure cause echoed to the client and the log.
TRACE_FAILURE_MESSAGE_LIMIT πŸ”’

FunctionsΒ§

chunk_owned πŸ”’
trace_conventions πŸ”’
Derives trace.conventions from the request’s resource/scope schema_urls. A single distinct non-empty value is concrete; multiple distinct values are mixed; none is unknown. schema_url is row-level in OTLP, so the table-level value is best-effort per the RFC conflict rule.
trace_logical_types_incompatible πŸ”’
wrap_trace_alter_failure πŸ”’
Preserve the original alter failure status so chunk retry behavior stays correct.

Type AliasesΒ§

TraceSchemaExclusions πŸ”’
Maps incompatible columns to the chunk indexes that must use fallback.