Skip to main content

Crate tsink

Crate tsink 

Source
Expand description

tsink - A lightweight embedded time-series database

tsink is a Rust implementation of a time-series storage engine with a straightforward API.

Re-exports§

pub use error::Result;
pub use error::TsinkError;
pub use label::Label;
pub use storage::Aggregation;
pub use storage::DownsampleOptions;
pub use storage::MetricSeries;
pub use storage::QueryOptions;
pub use storage::Storage;
pub use storage::StorageBuilder;
pub use storage::TimestampPrecision;
pub use wal::WalSyncMode;

Modules§

bstream
Bit stream implementation for Gorilla compression.
cgroup
cgroup support for container-aware resource management
concurrency
Concurrency utilities for tsink.
disk
Disk partition implementation.
encoding
Gorilla time-series compression implementation.
error
Error types for tsink.
label
Label handling for metrics.
list
Partition list implementation.
memory
Memory partition implementation.
mmap
Architecture-specific memory-mapped file support
partition
Partition implementations for tsink.
storage
Main storage implementation for tsink.
wal
Write-ahead log implementation.

Structs§

DataPoint
Represents a data point, the smallest unit of time series data.
Row
A row includes a data point along with properties to identify a kind of metric.