Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
54
func
(r *HTTPRequest) SetContext(ctx context.Context) {
55
r.req = r.req.WithContext(ctx)
56
}
57
58
func
(r *HTTPRequest) SetCacheKey(s string) {
59
r.cacheKey = s
Callers
2
TestRequestBatchContextError
Function · 0.95
TestDoneChanCloses
Function · 0.95
Calls
no outgoing calls
Tested by
2
TestRequestBatchContextError
Function · 0.76
TestDoneChanCloses
Function · 0.76