otel-launcher-go icon indicating copy to clipboard operation
otel-launcher-go copied to clipboard

Missing tests for global async instrument registration and unwrapping

Open jmacd opened this issue 1 year ago • 0 comments

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.

jmacd avatar Oct 15 '24 16:10 jmacd