# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
This file was taken from Prometheus (https://github.com/prometheus/prometheus).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
ChunksToMatrix converts a set of chunks to a model.Matrix.
DefaultSchemaConfig creates a simple schema config for testing.
ExpectTables compares existing tables to an expected set of tables.
NewChunk creates a new chunk.
NewChunkFetcher makes a new ChunkFetcher.
NewCompositeStore creates a new Store which delegates to different stores depending on time.
NewDecodeContext creates a new, blank, DecodeContext.
NewDeleteStore creates a store for managing delete requests.
NewMockStorage creates a new MockStorage.
NewTableManager makes a new TableManager.
ParseExternalKey is used to construct a partially-populated chunk from the key in DynamoDB.
# Constants
DirDelim is the delimiter used to model a directory structure in an object store.
Errors that decode can return.
Errors that decode can return.
Errors that decode can return.
Errors that decode can return.
Errors that decode can return.
Errors that decode can return.
Errors that decode can return.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
BenchmarkLabels is a real example from Kubernetes' embedded cAdvisor metrics, lightly obfuscated.
No description provided by the author
ErrMethodNotImplemented when any of the storage clients do not implement a method.
No description provided by the author
ErrNotSupported when a schema doesn't support that particular lookup.
No description provided by the author
ErrStorageObjectNotFound when object storage does not have requested object.
# Structs
AutoScalingConfig for DynamoDB tables.
Bucket describes a range of time with a tableName and hashKey.
CardinalityExceededError is returned when the user reads a row that is too large.
Chunk contains encoded timeseries data.
CompositeStore is a Store which delegates to various stores depending on when they were activated.
DayTime is a model.Time what holds day-aligned values, and marshals to/from YAML in YYYY-MM-DD format.
DecodeContext holds data that can be re-used between decodes of different chunks.
DeleteRequest holds all the details about a delete request.
DeleteStore provides all the methods required to manage lifecycle of delete request and things related to it.
DeleteStoreConfig holds configuration for delete store.
Fetcher deals with fetching chunk contents from the cache/store, and writing back any misses to the cache.
IndexEntry describes an entry in the chunk index.
IndexQuery describes a query for entries.
MockStorage is a fake in-memory StorageClient.
PeriodConfig defines the schema and tables to use for a period of time.
PeriodicTableConfig is configuration for a set of time-sharded tables.
ProvisionConfig holds config for provisioning capacity (on DynamoDB).
SchemaConfig contains the config for our chunk index schemas.
StorageObject represents an object being stored in an Object Store.
StoreConfig specifies config for a ChunkStore.
TableDesc describes a table.
TableManager creates and manages the provisioned throughput on DynamoDB tables.
TableManagerConfig holds config for a TableManager.
UniqueStrings keeps a slice of unique strings.
# Interfaces
BucketClient is used to enforce retention on chunk buckets.
Client is for storing and retrieving chunks.
IndexClient is a client for the storage of the index (e.g.
ObjectAndIndexClient allows optimisations where the same client handles both.
ObjectClient is used to store arbitrary data in Object Store (S3/GCS/Azure/Etc).
ReadBatch represents the results of a QueryPages.
ReadBatchIterator is an iterator over a ReadBatch.
Schema interface defines methods to calculate the hash and range keys needed to write or read chunks from the external index.
Store for chunks.
StoreLimits helps get Limits specific to Queries for Stores.
TableClient is a client for telling Dynamo what to do with tables.
WriteBatch represents a batch of writes.
# Type aliases
No description provided by the author
Tags is a string-string map that implements flag.Value.