Sabaev

Results 5 comments of Sabaev

related to https://github.com/open-telemetry/opentelemetry-android/issues/1364

Here is the approach I’m currently using: ## Shared Clock abstraction. In our internal project we expose our own Clock interface, accessible via a static companion object. This allows us...

For monotonic time on Android, SystemClock.elapsedRealtimeNanos() is generally a better choice than System.nanoTime(). The reason: System.nanoTime() does not include time spent in deep sleep, so duration calculations (timeouts, background intervals,...

I investigated the inconsistent last-value-wins behavior in OpenTelemetry Java. The root cause is that `AttributesMap` stores attributes in a `HashMap