Expand description
prometheus protocol supportings handles prometheus remote_write, remote_read logic
StructsΒ§
- Metrics
- Metrics for push gateway protocol
- Time
Series πId
ConstantsΒ§
- FIELD_
NAME_ LABEL - The same as
FIELD_COLUMN_MATCHER
inpromql
crate - METRIC_
NAME_ LABEL - METRIC_
NAME_ LABEL_ BYTES
FunctionsΒ§
- collect_
timeseries_ πids - Collect each rowβs timeseries id This processing is ugly, hope https://github.com/GreptimeTeam/greptimedb/issues/336 making some progress in future.
- lit_
timestamp_ πmillisecond - mock_
timeseries - Mock timeseries for test, it is both used in servers and frontend crate So we present it here
- new_
label π - query_
to_ plan - Create a DataFrame from a remote Query
- recordbatch_
to_ πtimeseries - recordbatches_
to_ timeseries - snappy_
compress - snappy_
decompress - table_
name - Get table name from remote query
- to_
grpc_ row_ insert_ requests - zstd_
decompress