Name sets the span name by joining a list of strings in dot separated format.
(names ...string)
| 116 | |
| 117 | // Name sets the span name by joining a list of strings in dot separated format. |
| 118 | func Name(names ...string) string { |
| 119 | return strings.Join(names, spanDelimiter) |
| 120 | } |
| 121 | |
| 122 | // Attribute takes a key value pair and returns attribute.KeyValue type. |
| 123 | func Attribute(k string, v any) attribute.KeyValue { |
no outgoing calls
no test coverage detected
searching dependent graphs…