(s sdktrace.ReadOnlySpan, key string)
| 46 | } |
| 47 | |
| 48 | func 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 | |
| 56 | func attrValue(s sdktrace.ReadOnlySpan, key string) (attribute.Value, bool) { |
| 57 | for _, kv := range s.Attributes() { |
| 58 | if string(kv.Key) == key { |
no outgoing calls
no test coverage detected