Skip to main content

Module prom_store

Module prom_store 

Source
Expand description

prometheus protocol supportings handles prometheus remote_write, remote_read logic

Structsยง

LabelColumn ๐Ÿ”’
Metrics
Metrics for push gateway protocol

Enumsยง

LabelValues ๐Ÿ”’

Constantsยง

DATABASE_LABEL
special label for selecting database name on remote write
DATABASE_LABEL_ALT
DATABASE_LABEL_ALT_BYTES
DATABASE_LABEL_BYTES
FIELD_NAME_LABEL
The same as FIELD_COLUMN_MATCHER in promql crate
METRIC_NAME_LABEL
METRIC_NAME_LABEL_BYTES
PHYSICAL_TABLE_LABEL
special label for selecting physical table name on remote write
PHYSICAL_TABLE_LABEL_ALT
PHYSICAL_TABLE_LABEL_ALT_BYTES
PHYSICAL_TABLE_LABEL_BYTES
SCHEMA_LABELDeprecated
deprecated, use DATABASE_LABEL instead
SCHEMA_LABEL_BYTESDeprecated

Functionsยง

compare_timeseries_labels ๐Ÿ”’
Sort timeseries by labels, matching the former BTreeMap order.
extract_schema_from_query
Extract database selector from a remote read query.
hash_timeseries ๐Ÿ”’
is_database_selection_label
Check if given label is a database selection label
is_physical_table_selection_label
Check if given label is a physical table selection label
is_remote_read_special_label
is_remote_write_special_label
Check if given label is a special label for remote write
label_columns ๐Ÿ”’
lit_timestamp_millisecond ๐Ÿ”’
matches_timeseries ๐Ÿ”’
mock_timeseries
Mock timeseries for test, it is both used in servers and frontend crate So we present it here
mock_timeseries_new_label
Add new labels to the mock timeseries.
mock_timeseries_special_labels
Add new labels to the mock timeseries.
new_label ๐Ÿ”’
new_timeseries ๐Ÿ”’
query_to_plan
Create a DataFrame from a remote Query
recordbatch_to_timeseries ๐Ÿ”’
recordbatches_to_timeseries
row_labels ๐Ÿ”’
snappy_compress
snappy_decompress
table_name
Get table name from remote query
to_grpc_row_insert_requests
zstd_decompress