package
0.0.0-20170228125039-54ca42f60911
Repository: https://github.com/bwplotka/cortex.git
Documentation: pkg.go.dev

# Functions

ChunksToMatrix converts a slice of chunks into a model.Matrix.
NewCache makes a new Cache.
NewChunk creates a new chunk.
NewDynamoDBClient makes a new DynamoDBClient.
NewDynamoTableManager makes a new DynamoTableManager.
NewMemcacheClient creates a new MemcacheClient that gets its server list from SRV and updates the server list on a regular basis.
NewS3Client makes a new S3Client.
NewStore makes a new ChunkStore.

# Structs

Cache type caches chunks.
CacheConfig is config to make a Cache.
Chunk contains encoded timeseries data.
DynamoTableManager creates and manages the provisioned throughput on DynamoDB tables.
IndexEntry describes an entry in the chunk index.
MemcacheClient is a memcache client that gets its server list from SRV records, and periodically updates that ServerList.
MemcacheConfig defines how a MemcacheClient should be constructed.
PeriodicTableConfig for the use of periodic tables (ie, weekly talbes).
SchemaConfig contains the config for our chunk index schemas.
Store implements Store.
StoreConfig specifies config for a ChunkStore.
TableManagerConfig is the config for a DynamoTableManager.

# Interfaces

Memcache caches things.
ReadBatch represents the results of a QueryPages.
S3Client is a client for S3.
Schema interface defines methods to calculate the hash and range keys needed to write or read chunks from the external index.
StorageClient is a client for DynamoDB.
WriteBatch represents a batch of writes.

# Type aliases

ByID allow you to sort chunks by ID.