pub(crate) async fn ingest_remote_write_v1(
state: &PromStoreState,
db: &str,
pipeline_info: PipelineInfo,
is_zstd: bool,
query_ctx: QueryContextRef,
body: Bytes,
body_reserved_bytes: u64,
) -> Result<PromWriteResult, PromWriteError>Expand description
The axum-free core of a remote-write v1 ingestion, shared with
COPY FROM STDIN WITH (FORMAT promwrite): decode, convert and write
exactly as the HTTP endpoint does.