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

Function traceIDInResults

integration/util/harness_api_reads.go:124–134  ·  view source on GitHub ↗
(t *testing.T, hexID string, resp *tempopb.SearchResponse)

Source from the content-addressed store, hash-verified

122}
123
124func traceIDInResults(t *testing.T, hexID string, resp *tempopb.SearchResponse) bool {
125 for _, s := range resp.Traces {
126 equal, err := tempoUtil.EqualHexStringTraceIDs(s.TraceID, hexID)
127 require.NoError(t, err)
128 if equal {
129 return true
130 }
131 }
132
133 return false
134}
135
136func QueryAndAssertTrace(t *testing.T, client *httpclient.Client, info *tempoUtil.TraceInfo) {
137 // v2

Calls

no outgoing calls

Tested by

no test coverage detected