Crates.io | rusty-chunkenc |
lib.rs | rusty-chunkenc |
version | 0.1.1 |
source | src |
created_at | 2024-09-13 14:14:47.037098 |
updated_at | 2024-09-30 11:34:27.499237 |
description | A Rust implementation of Prometheus' chunkenc library |
homepage | |
repository | https://github.com/sintef/rusty-chunkenc |
max_upload_size | |
id | 1373714 |
size | 97,949 |
A Rust implementation of Prometheus' chunkenc
library.
varint
, uvarint
, varbit
, varbit_ts
, and varbit_xor
numbers.Prometheus uses XOR Chunks in its remote read API, and I wanted to understand how they work in detail. This crate enables SensApp to stream data to Prometheus. SensApp is written in Rust, and I wanted a chunkenc Rust implementation.
Also, writing a parser and a serialiser did sound fun.
Apache 2.0. Check the LICENSE
file for more details.
Feel free to report issues, contribute, or ask questions about this project.
This project is ported from Prometheus' chunkenc
, that used go-tzs
, that is based on the Gorilla paper. The parsing heavily relies on nom
.
The project supports the Smart Building Hub research infrastructure project, which is funded by the Norwegian Research Council.