# 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.
No description provided by the author
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
No description provided by the author
No description provided by the author
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.
No description provided by the author
No description provided by the author
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.
# Type aliases
No description provided by the author
ShouldCacheFn checks whether the current request should go to cache or not.