package
0.0.0-20241004052545-caa2fb9b60ae
Repository: https://github.com/grafana/mimir.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
LabelNamesCardinalityHandler creates handler for label names cardinality endpoint.
LabelValuesCardinalityHandler creates handler for label values cardinality endpoint.
New builds a queryable and promql engine.
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
No description provided by the author
No description provided by the author
NewMetadataHandler creates a http.Handler for serving metric metadata held by Mimir for a given tenant.
NewSampleAndChunkQueryable creates a SampleAndChunkQueryable from a Queryable.
RemoteReadHandler handles Prometheus remote read requests.
ShouldQueryBlockStore provides a check for whether the block store will be used for a given query.
ShouldQueryIngesters provides a check for whether the ingesters will be used for a given query.
TranslateToPromqlAPIError converts error to one of promql.Errors for consumption in PromQL API.
# Constants
Queries are a set of matchers with time ranges - should not get into megabytes.
# Structs
No description provided by the author
No description provided by the author
BlocksStoreQueryable is a queryable which queries blocks storage via the store-gateway.
BucketIndexBlocksFinder implements BlocksFinder interface and find blocks in the bucket looking up the bucket index.
No description provided by the author
No description provided by the author
Config contains the configuration require to create a querier.
DummyAlertmanagerRetriever implements AlertmanagerRetriever.
DummyRulesRetriever implements RulesRetriever.
DummyTargetRetriever implements github.com/prometheus/prometheus/web/api/v1.TargetRetriever.
# Interfaces
BlocksFinder is the interface used to find blocks for a given user and time range.
BlocksStoreClient is the interface that should be implemented by any client used to query a backend store-gateway.
BlocksStoreLimits is the interface that should be implemented by the limits provider.
BlocksStoreSet is the interface used to get the clients to query series on a set of blocks.
Distributor is the read interface to the distributor, made an interface here to reduce package coupling.
MetadataSupplier is the metadata specific part of the Distributor interface.
SeriesWithChunks extends storage.Series interface with direct access to Mimir chunks.
# Type aliases
ErrTranslateFn is used to translate or wrap error before returning it by functions in storage.SampleAndChunkQueryable interface.