MCPcopy
hub / github.com/grafana/tempo / SetContext

Method SetContext

modules/frontend/pipeline/pipeline.go:54–56  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

52}
53
54func (r *HTTPRequest) SetContext(ctx context.Context) {
55 r.req = r.req.WithContext(ctx)
56}
57
58func (r *HTTPRequest) SetCacheKey(s string) {
59 r.cacheKey = s

Callers 2

TestDoneChanClosesFunction · 0.95

Calls

no outgoing calls

Tested by 2

TestDoneChanClosesFunction · 0.76