MCPcopy Create free account
hub / github.com/PostHog/duckgres / spanNames

Function spanNames

cmd/cache-proxy/tracing_test.go:40–46  ·  view source on GitHub ↗
(sr *tracetest.SpanRecorder)

Source from the content-addressed store, hash-verified

38 t.Helper()
39 for _, s := range sr.Ended() {
40 if s.Name() == name {
41 return s
42 }
43 }
44 t.Fatalf("no span named %q (got %v)", name, spanNames(sr))
45 return nil
46}
47
48func spanNames(sr *tracetest.SpanRecorder) []string {
49 var names []string

Callers 1

findSpanFunction · 0.85

Calls 1

NameMethod · 0.65

Tested by

no test coverage detected