Helper function to make a tag search
(k, v string)
| 2115 | |
| 2116 | // Helper function to make a tag search |
| 2117 | func makeReq(k, v string) *tempopb.SearchRequest { |
| 2118 | return &tempopb.SearchRequest{ |
| 2119 | Tags: map[string]string{ |
| 2120 | k: v, |
| 2121 | }, |
| 2122 | } |
| 2123 | } |
| 2124 | |
| 2125 | func addTraceQL(req *tempopb.SearchRequest) { |
| 2126 | // todo: traceql concepts are different than search concepts. this code maps key/value pairs |