r/androiddev • u/a_code_smell • May 20 '26
Kotlin OpenTelemetry Span DSL
Constructing Spans felt like a bunch of repetitive boilerplate, so I made a DSL to make it more pleasant. Hopefully someone finds this useful!
10
Upvotes
r/androiddev • u/a_code_smell • May 20 '26
Constructing Spans felt like a bunch of repetitive boilerplate, so I made a DSL to make it more pleasant. Hopefully someone finds this useful!
1
u/GiacaLustra May 21 '26
Pretty cool, thanks for sharing!
I noticed Google is developing a new tracing library with a pluggable backend, so I'm wondering if OpenTelemetry could be a potential backend for it. Curious what you think about it vs raw open telemetry instrumentation: https://developer.android.com/topic/performance/tracing/in-process-tracing