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
I don't see any issue in adding these examples in CI, do you think adding unit tests with multi-threaded scenarios will also catch these race conditions?
Adding this to the metric GA milestone, as we have data races.
I suspect the issue could be because observable instrument is going out of scope while the metric collection is happening. With infinite loop, we didn't see the issue. Can we test it by defining the observable instrument somewhere globally. This is also documented here:
Create a Observable Counter Instrument from the Meter, and add a callback. The callback would be used to record the measurement during metrics collection. Ensure to keep the Instrument object active for the lifetime of collection.
We should enhance our CI with asan and tsan tests for e2e tests (examples which does not have external dependency).
The text was updated successfully, but these errors were encountered: