open-telemetry / opentelemetry-android

OpenTelemetry Tooling for Android
Apache License 2.0
114 stars 22 forks source link

Services visibility #435

Open LikeTheSalad opened 3 weeks ago

LikeTheSalad commented 3 weeks ago

Services are currently internal. Based on this comment: https://github.com/open-telemetry/opentelemetry-android/pull/422/files#r1634121519 we might want to move them to the public package but keep them undocumented.

There have also been moments during the SIG where we were pondering about making them public (to avoid having to provide an Application instance to instrumentations), though I believe we should evaluate the pros/cons about doing so and having to maintain this extra public API layer, which might mean making it flexible enough for it not to become too opinionated, and then compare it to the cons that could cause providing an Application instance to instrumentations.