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

Method PushBytesV2

modules/frontend/interceptor/interceptor_test.go:89–97  ·  view source on GitHub ↗
(ctx context.Context, _ *tempopb.PushBytesRequest)

Source from the content-addressed store, hash-verified

87}
88
89func (s *mockService) PushBytesV2(ctx context.Context, _ *tempopb.PushBytesRequest) (*tempopb.PushResponse, error) {
90 select {
91 case <-time.After(s.apiTimeout):
92 case <-ctx.Done():
93 return nil, ctx.Err()
94 }
95
96 return &tempopb.PushResponse{}, nil
97}
98
99func (s *mockService) SearchTags(*tempopb.SearchTagsRequest, tempopb.StreamingQuerier_SearchTagsServer) error {
100 return nil

Callers

nothing calls this directly

Calls 1

DoneMethod · 0.65

Tested by

no test coverage detected