# Functions
FromResult transforms a promql query result into a samplestream.
Middlewares returns list of middlewares that should be applied for range query.
NewLimitsMiddleware creates a new Middleware that enforces query limits.
NewResultsCacheMiddleware creates results cache middleware from config.
SplitByIntervalMiddleware creates a new Middleware that splits requests by a given interval.
# Constants
StatusSuccess Prometheus success result.
# Variables
StepAlignMiddleware aligns the start and end of request to the step to improve the cacheability of the query results.
# Structs
Config for query_range middleware chain.
PrometheusResponseExtractor helps extracting specific info from Query Response.
ResultsCacheConfig is the config for the results cache.
# Interfaces
CacheSplitter generates cache keys.
Extractor is used by the cache to extract a subset of a response from a cache entry.