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

Method contextError

modules/frontend/v1/request_batch.go:62–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60}
61
62func (b *requestBatch) contextError() error {
63 multiErr := multierror.New()
64
65 for _, r := range b.pipelineRequests {
66 if err := r.OriginalContext().Err(); err != nil {
67 multiErr.Add(err)
68 }
69 }
70
71 return multiErr.Err()
72}
73
74// doneChan() returns a channel that can be used to watch for context cancellation
75// across the entire batch. it only closes the returned channel if all contexts

Callers 2

reportResponseUpstreamFunction · 0.80

Calls 2

OriginalContextMethod · 0.80
AddMethod · 0.65

Tested by 1