Module web_ingestion_service

Module web_ingestion_service 

Source

Structs§

WebIngestionService

Enums§

IngestionServiceError
Error type for ingestion service operations. Categorizes errors to enable proper HTTP status code mapping.

Constants§

FORMAT_OTLP_LOGS
Stream format value for OTel logs (one ResourceLogs proto per block payload).
FORMAT_OTLP_METRICS
Stream format value for OTel metrics (one ResourceMetrics proto per block payload).
FORMAT_OTLP_TRACES
Stream format value for OTel traces (one ResourceSpans proto per block payload).
FORMAT_TRANSIT
Format string for native streams (transit-encoded payload, CBOR envelope).

Functions§

empty_transit_metadata_cbor
Sentinel for dependencies_metadata / objects_metadata on streams that don’t use the transit/POD wire format (e.g. OTLP). Existing readers decode these BYTEA columns as Vec<UserDefinedType> and iterate; an empty Vec makes those loops no-ops without touching consumer code.