Skip to main content

Module prom_store

Module prom_store 

Source

Modulesยง

exemplar ๐Ÿ”’

Structsยง

PromStoreState
PromWriteError ๐Ÿ”’
PromWriteOutcome ๐Ÿ”’
PromWriteResult ๐Ÿ”’
Transport-independent remote-write outcome for samples, histograms and exemplars.
PromWriteV2Error ๐Ÿ”’
PromWriteV2Outcome ๐Ÿ”’
RemoteWriteQuery

Enumsยง

RemoteWriteProto ๐Ÿ”’

Constantsยง

CONTENT_TYPE_PROTO_PARAM ๐Ÿ”’
DEFAULT_ENCODING
PHYSICAL_TABLE_PARAM
REMOTE_WRITE_V1_PROTO ๐Ÿ”’
REMOTE_WRITE_V2_EXEMPLARS_WRITTEN_HEADER ๐Ÿ”’
REMOTE_WRITE_V2_HISTOGRAMS_WRITTEN_HEADER ๐Ÿ”’
REMOTE_WRITE_V2_PROTO ๐Ÿ”’
REMOTE_WRITE_V2_SAMPLES_WRITTEN_HEADER ๐Ÿ”’
VM_ENCODING
VM_PROTO_VERSION

Traitsยง

PromWriteBatcher ๐Ÿ”’

Functionsยง

append_remote_write_v2_written_headers ๐Ÿ”’
decode_remote_read_request ๐Ÿ”’
incomplete_prom_write_error ๐Ÿ”’
ingest_remote_write_v1 ๐Ÿ”’
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.
ingest_remote_write_v2 ๐Ÿ”’
The axum-free core of a remote-write v2 ingestion, shared with COPY FROM STDIN WITH (FORMAT promwrite, version 2). db labels the per-batch write-progress counters exactly as the HTTP route does.
ingest_remote_write_v1_inner ๐Ÿ”’
into_prom_write_batches ๐Ÿ”’
preflight_prometheus_rows ๐Ÿ”’
prepare_remote_write_context ๐Ÿ”’
Returns the context still un-shared so the caller can attach request-derived extensions (the v2 per-table metadata index) before wrapping it in an Arc.
prom_write_row_count ๐Ÿ”’
record_remote_write_exemplars ๐Ÿ”’
record_remote_write_samples ๐Ÿ”’
remote_read
remote_write
remote_write_proto ๐Ÿ”’
remote_write_v1 ๐Ÿ”’
remote_write_v2 ๐Ÿ”’
remote_write_v2_error_response ๐Ÿ”’
stamp_remote_write_extensions ๐Ÿ”’
Stamps the remote-write context extensions shared by the HTTP endpoint and COPY FROM STDIN: physical table and the Prometheus semantic identity the batched and direct write paths both rely on.
unsupported_remote_write_v2_encoding_response ๐Ÿ”’
vm_proto_version_response ๐Ÿ”’
write_batched_prometheus_v2_rows_with_progress ๐Ÿ”’
write_prepared_prometheus_rows_with_progress ๐Ÿ”’
Writes already-preflighted batches through the ordinary (prepared) write path; the pre_write hooks and admission have already run.
write_prometheus_rows_with_progress ๐Ÿ”’
Writes preflighted PRW batches and keeps the number of persisted rows on error.
write_prometheus_v2_rows_with_progress ๐Ÿ”’

Type Aliasesยง

PromWriteBatch ๐Ÿ”’