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

Function makeReq

tempodb/encoding/vparquet4/block_traceql_test.go:988–996  ·  view source on GitHub ↗
(conditions ...traceql.Condition)

Source from the content-addressed store, hash-verified

986}
987
988func makeReq(conditions ...traceql.Condition) traceql.FetchSpansRequest {
989 return traceql.FetchSpansRequest{
990 Conditions: conditions,
991 SecondPass: func(s *traceql.Spanset) ([]*traceql.Spanset, error) {
992 return []*traceql.Spanset{s}, nil
993 },
994 SecondPassConditions: traceql.SearchMetaConditions(),
995 }
996}
997
998func parse(t *testing.T, q string) traceql.Condition {
999 req, err := traceql.ExtractFetchSpansRequest(q)

Calls 1

SearchMetaConditionsFunction · 0.92

Tested by

no test coverage detected