(conditions ...traceql.Condition)
| 986 | } |
| 987 | |
| 988 | func 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 | |
| 998 | func parse(t *testing.T, q string) traceql.Condition { |
| 999 | req, err := traceql.ExtractFetchSpansRequest(q) |
no test coverage detected