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

Function attrValue

cmd/cache-proxy/tracing_test.go:48–55  ·  view source on GitHub ↗
(s sdktrace.ReadOnlySpan, key string)

Source from the content-addressed store, hash-verified

46}
47
48func spanNames(sr *tracetest.SpanRecorder) []string {
49 var names []string
50 for _, s := range sr.Ended() {
51 names = append(names, s.Name())
52 }
53 return names
54}
55
56func attrValue(s sdktrace.ReadOnlySpan, key string) (attribute.Value, bool) {
57 for _, kv := range s.Attributes() {
58 if string(kv.Key) == key {

Callers 2

mustAttrFunction · 0.85
TestTracingMissThenHitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected