Function
NewTypedSearch
(limit int, keepMostRecent bool, marshalingFormat api.MarshallingFormat, padTraceIDs bool)
Source from the content-addressed store, hash-verified
| 147 | } |
| 148 | |
| 149 | func NewTypedSearch(limit int, keepMostRecent bool, marshalingFormat api.MarshallingFormat, padTraceIDs bool) GRPCCombiner[*tempopb.SearchResponse] { |
| 150 | return NewSearch(limit, keepMostRecent, marshalingFormat, padTraceIDs).(GRPCCombiner[*tempopb.SearchResponse]) |
| 151 | } |
| 152 | |
| 153 | // padTraceIDsInResponse left-pads all trace IDs in the given search metadata to 32 hex characters. |
| 154 | func padTraceIDsInResponse(traces []*tempopb.TraceSearchMetadata) { |