You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
As discussed in #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.
The text was updated successfully, but these errors were encountered:
**Description:** Updates to OTel-Go 1.31 require minor LS Metric SDK
fixes (see Unwrap()), discussed and fixed in the upstream PR
open-telemetry/opentelemetry-go#5881. The
Unwrap() calls here are to work around the problem until fully fixed
upstream.
**Link to tracking Issue:**
open-telemetry/opentelemetry-go#5827 explains
how we got here.
Part of #794.
**Testing:** Incomplete. Existing tests were logging messages about
foreign instruments in the asynchronous call path, but nothing failed as
a result.
Describe the bug
As discussed in #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.
The text was updated successfully, but these errors were encountered: