otel-launcher-go
otel-launcher-go copied to clipboard
Missing tests for global async instrument registration and unwrapping
Describe the bug As discussed in https://github.com/lightstep/otel-launcher-go/pull/793, testing is incomplete for global asynchronous instrument registration. The SDK will log errors but no test actually fails when registration is broken.
To Reproduce
Remove the calls to Unwrap(metric.Observer) metric.Observer and notice that no tests break while new log messages appear.
Expected behavior Should be tested.