String wraps [attribute.String] just so that we can keep most of our direct OpenTelemetry package imports centralized in this package where it's easier to keep our version selections consistent.
(name string, val string)
| 13 | // OpenTelemetry package imports centralized in this package where it's |
| 14 | // easier to keep our version selections consistent. |
| 15 | func String(name string, val string) attribute.KeyValue { |
| 16 | return attribute.String(name, val) |
| 17 | } |
| 18 | |
| 19 | // StringSlice wraps [attribute.StringSlice] just so that we can keep most of |
| 20 | // our direct OpenTelemetry package imports centralized in this package where |
no test coverage detected