package
0.37.2
Repository: https://github.com/thanos-io/thanos.git
Documentation: pkg.go.dev

# Functions

DownsampledMiddleware creates a new Middleware that requests downsampled data should response to original request with auto max_source_resolution not contain data points.
NewCacheConfig is a parser that converts a Thanos cache config yaml into a cortex cache config struct.
NewThanosLabelsCodec initializes a labelsCodec.
NewThanosQueryInstantCodec initializes a queryInstantCodec.
NewThanosQueryRangeCodec initializes a queryRangeCodec.
NewTripperware returns a Tripperware which sends requests to different sub tripperwares based on the query type.
PromQLShardingMiddleware creates a new Middleware that shards PromQL aggregations using grouping labels.
SplitByIntervalMiddleware creates a new Middleware that splits requests by a given interval.

# Constants

# Variables

# Structs

CacheProviderConfig is the initial CacheProviderConfig struct holder before parsing it into a specific cache provider.
Config holds the query frontend configs.
DownstreamTripperConfig stores the http.Transport configuration for query-frontend's HTTP downstream tripper.
InMemoryResponseCacheConfig holds the configs for the in-memory cache provider.
LabelsConfig holds the config for labels tripperware.
MemcachedResponseCacheConfig holds the configs for the memcache cache provider.
QueryRangeConfig holds the config for query range tripperware.
RedisResponseCacheConfig holds the configs for the redis cache provider.
ThanosResponseExtractor helps to extract specific info from Query Response.

# Interfaces

ShardedRequest interface represents a query request that can be sharded vertically.
SplitRequest interface represents a query request that can be split horizontally.
ThanosRequestDedup is a an interface for all requests that share setting deduplication.
ThanosRequestStoreMatcherGetter is a an interface for store matching that all request share.

# Type aliases