MCPcopy Create free account
hub / github.com/cortexproject/cortex / schedulerProcessor

Struct schedulerProcessor

pkg/querier/worker/scheduler_processor.go:69–82  ·  view source on GitHub ↗

Handles incoming queries from query-scheduler.

Source from the content-addressed store, hash-verified

67
68// Handles incoming queries from query-scheduler.
69type schedulerProcessor struct {
70 log log.Logger
71 handler RequestHandler
72 grpcConfig grpcclient.Config
73 maxMessageSize int
74 querierID string
75 querierAddress string
76
77 frontendPool *client.Pool
78 frontendClientRequestDuration *prometheus.HistogramVec
79
80 targetHeaders []string
81 schedulerClientFactory func(conn *grpc.ClientConn) schedulerpb.SchedulerForQuerierClient
82}
83
84// notifyShutdown implements processor.
85func (sp *schedulerProcessor) notifyShutdown(ctx context.Context, conn *grpc.ClientConn, address string) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected