Handles incoming queries from query-scheduler.
| 67 | |
| 68 | // Handles incoming queries from query-scheduler. |
| 69 | type 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. |
| 85 | func (sp *schedulerProcessor) notifyShutdown(ctx context.Context, conn *grpc.ClientConn, address string) { |
nothing calls this directly
no outgoing calls
no test coverage detected