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

Function actualForExpectedMeta

tempodb/tempodb_search_test.go:1872–1881  ·  view source on GitHub ↗
(wantMeta *tempopb.TraceSearchMetadata, res *tempopb.SearchResponse)

Source from the content-addressed store, hash-verified

1870}
1871
1872func actualForExpectedMeta(wantMeta *tempopb.TraceSearchMetadata, res *tempopb.SearchResponse) *tempopb.TraceSearchMetadata {
1873 // find wantMeta in res
1874 for _, tr := range res.Traces {
1875 if tr.TraceID == wantMeta.TraceID {
1876 return tr
1877 }
1878 }
1879
1880 return nil
1881}
1882
1883func testingConfig(dir string, version string, dc backend.DedicatedColumns) *Config {
1884 return &Config{

Callers 8

searchRunnerFunction · 0.85
traceQLRunnerFunction · 0.85
advancedTraceQLRunnerFunction · 0.85
groupTraceQLRunnerFunction · 0.85
traceQLStructuralFunction · 0.85
traceQLDurationFunction · 0.85
TestSearchByShortTraceIDFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected