# Packages
No description provided by the author
Package codable provides types that implement encoding.BinaryMarshaler and encoding.BinaryUnmarshaler and functions that help to encode and decode primitives.
Package index provides a number of indexes backed by persistent key-value stores.
No description provided by the author
# Functions
DumpHeads writes the metadata of the provided heads file in a human-readable form.
NewMemorySeriesStorage returns a newly allocated Storage.
NewTestStorage creates a storage instance backed by files in a temporary directory.
# Variables
ErrDuplicateSampleForTimestamp is returned if a sample has the same timestamp as the latest sample in the series it is appended to but a different value.
ErrOutOfOrderSample is returned if a sample has a timestamp before the latest timestamp in the series it is appended to.
# Structs
A MemorySeriesStorage manages series in memory over time, while also interfacing with a persistence layer to make time series data persistent across restarts and evictable from memory.
MemorySeriesStorageOptions contains options needed by NewMemorySeriesStorage.
NoopQuerier is a dummy Querier for use when Prometheus's local storage is disabled.
NoopStorage is a dummy storage for use when Prometheus's local storage is disabled.
# Interfaces
Querier allows querying a time series storage.
SeriesIterator enables efficient access of sample values in a series.
Storage ingests and manages samples, along with various indexes.
# Type aliases
SyncStrategy is an enum to select a sync strategy for series files.