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

Struct request

pkg/frontend/v1/frontend.go:93–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93type request struct {
94 enqueueTime time.Time
95 queueSpan opentracing.Span
96 originalCtx context.Context
97
98 request *httpgrpc.HTTPRequest
99 err chan error
100 response chan *httpgrpc.HTTPResponse
101}
102
103func (r request) Priority() int64 {
104 priority, ok := stats.FromContext(r.originalCtx).LoadPriority()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected