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

Method Search

modules/frontend/interceptor/interceptor_test.go:69–77  ·  view source on GitHub ↗
(_ *tempopb.SearchRequest, ss tempopb.StreamingQuerier_SearchServer)

Source from the content-addressed store, hash-verified

67}
68
69func (s *mockService) Search(_ *tempopb.SearchRequest, ss tempopb.StreamingQuerier_SearchServer) error {
70 select {
71 case <-time.After(s.apiTimeout):
72 case <-ss.Context().Done():
73 return ss.Context().Err()
74 }
75
76 return nil
77}
78
79func (s *mockService) PushBytes(ctx context.Context, _ *tempopb.PushBytesRequest) (*tempopb.PushResponse, error) {
80 select {

Callers

nothing calls this directly

Calls 2

DoneMethod · 0.65
ContextMethod · 0.65

Tested by

no test coverage detected