Skip to main content

Crate tsink

Crate tsink 

Source
Expand description

Public tsink data model and entrypoints.

Re-exports§

pub use error::Result;
pub use error::TsinkError;
pub use label::Label;
pub use async::AsyncRuntimeOptions;
pub use async::AsyncStorage;
pub use async::AsyncStorageBuilder;
pub use storage::Aggregation;
pub use storage::CompactionObservabilitySnapshot;
pub use storage::DeleteSeriesResult;
pub use storage::DownsampleOptions;
pub use storage::FlushObservabilitySnapshot;
pub use storage::MemoryObservabilitySnapshot;
pub use storage::MetadataShardScope;
pub use storage::MetricSeries;
pub use storage::QueryObservabilitySnapshot;
pub use storage::QueryOptions;
pub use storage::QueryRowsPage;
pub use storage::QueryRowsScanOptions;
pub use storage::RemoteSegmentCachePolicy;
pub use storage::RemoteStorageObservabilitySnapshot;
pub use storage::RetentionObservabilitySnapshot;
pub use storage::RollupObservabilitySnapshot;
pub use storage::RollupPolicy;
pub use storage::RollupPolicyStatus;
pub use storage::SeriesMatcher;
pub use storage::SeriesMatcherOp;
pub use storage::SeriesPoints;
pub use storage::SeriesSelection;
pub use storage::ShardWindowDigest;
pub use storage::ShardWindowRowsPage;
pub use storage::ShardWindowScanOptions;
pub use storage::Storage;
pub use storage::StorageBuilder;
pub use storage::StorageObservabilitySnapshot;
pub use storage::StorageRuntimeMode;
pub use storage::TimestampPrecision;
pub use storage::WalObservabilitySnapshot;
pub use storage::WriteAcknowledgement;
pub use storage::WriteResult;
pub use storage::DEFAULT_MAX_ACTIVE_PARTITION_HEADS_PER_SERIES;
pub use value::Aggregator;
pub use value::BytesAggregation;
pub use value::Codec;
pub use value::CodecAggregator;
pub use value::HistogramBucketSpan;
pub use value::HistogramCount;
pub use value::HistogramResetHint;
pub use value::NativeHistogram;
pub use value::Value;
pub use wal::WalReplayMode;
pub use wal::WalSyncMode;

Modules§

async
Runtime-agnostic async facade over sync Storage using dedicated worker threads.
cgroup
Container-aware CPU and memory limit helpers.
concurrency
Concurrency utilities for tsink.
engine
Storage-engine entrypoints, owner map, and refactor guardrails.
error
label
Label handling for metrics.
mmap
Platform-aware memory-mapped file helpers.
promql
storage
Main storage API and query helpers for tsink.
value
Typed value model and extensibility traits.
wal
Shared write-ahead log sync policy types.

Structs§

DataPoint
One timestamped sample.
Row
Metric identity plus sample payload.