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

Function makeReq

tempodb/encoding/vparquet5/block_traceql_test.go:1024–1032  ·  view source on GitHub ↗
(conditions ...traceql.Condition)

Source from the content-addressed store, hash-verified

1022}
1023
1024func makeReq(conditions ...traceql.Condition) traceql.FetchSpansRequest {
1025 return traceql.FetchSpansRequest{
1026 Conditions: conditions,
1027 SecondPass: func(s *traceql.Spanset) ([]*traceql.Spanset, error) {
1028 return []*traceql.Spanset{s}, nil
1029 },
1030 SecondPassConditions: traceql.SearchMetaConditions(),
1031 }
1032}
1033
1034func parse(t *testing.T, q string) traceql.Condition {
1035 req, err := traceql.ExtractFetchSpansRequest(q)

Callers 3

TestBackendBlockSearchFunction · 0.70
searchesThatMatchFunction · 0.70

Calls 1

SearchMetaConditionsFunction · 0.92

Tested by

no test coverage detected