MCPcopy Index your code
hub / github.com/cortexproject/cortex / newDistributorQueryable

Function newDistributorQueryable

pkg/querier/distributor_queryable.go:45–55  ·  view source on GitHub ↗
(distributor Distributor, streamingMetdata bool, labelNamesWithMatchers bool, iteratorFn chunkIteratorFunc, queryIngestersWithin time.Duration, isPartialDataEnabled partialdata.IsCfgEnabledFunc, ingesterQueryMaxAttempts int)

Source from the content-addressed store, hash-verified

43}
44
45func newDistributorQueryable(distributor Distributor, streamingMetdata bool, labelNamesWithMatchers bool, iteratorFn chunkIteratorFunc, queryIngestersWithin time.Duration, isPartialDataEnabled partialdata.IsCfgEnabledFunc, ingesterQueryMaxAttempts int) QueryableWithFilter {
46 return distributorQueryable{
47 distributor: distributor,
48 streamingMetdata: streamingMetdata,
49 labelNamesWithMatchers: labelNamesWithMatchers,
50 iteratorFn: iteratorFn,
51 queryIngestersWithin: queryIngestersWithin,
52 isPartialDataEnabled: isPartialDataEnabled,
53 ingesterQueryMaxAttempts: ingesterQueryMaxAttempts,
54 }
55}
56
57type distributorQueryable struct {
58 distributor Distributor

Calls

no outgoing calls