John Watson
John Watson
Won't this lead to some difficult situations where someone has a long-lived handle to an instance that they got from GlobalOpenTelemetry.get() which is no longer the "active" instance? Have we...
> Won't this lead to some difficult situations where someone has a long-lived handle to an instance that they got from GlobalOpenTelemetry.get() which is no longer the "active" instance? Have...
Can we write a unit test that verifies that this fixes the race condition?
> > Can we write a unit test that verifies that this fixes the race condition? > > A fully deterministic reproducer would be relatively hard to write for this...
> Looks good. @jkwatson there's a unit test now for this. Any additional resevations? 🚢
since this is instrumentation related, moving to that repo
With this fairly artificial example (building an SDK and then throwing it away immediately), I assume that there's probably some timing issue that works differently in scala than in Java....
> May I ask you [@jkwatson](https://github.com/jkwatson) > > * If there are any tips to making the SDK long lived? > * Most of all, what is the strategy to...
I would personally favor 1), and not try to pretend we have an end-user-facing Event API. When we have enough instrumentation built that uses events, we should have a better...
Would it make sense to start by building an event API in the Android instrumentation repo, to work out the kinks "in anger", then move it here as experimental once...