feat: Android Distro vs Sdk OpenTelemetry naming#458
Merged
abelonogov-ld merged 21 commits intomainfrom Apr 3, 2026
Merged
Conversation
- Adjusted the exclusion rules for OpenTelemetry JARs in LDObservability.Fat.csproj to ensure the main autoconfigure JAR is excluded while re-including the autoconfigure-spi JAR. - Added a note in build.gradle.kts to clarify the filtering of OpenTelemetry JARs for NuGet packaging.
…utes * andrey/simpligy-maui-projects: doesn't account version refactor: update OpenTelemetry JAR handling in project files chore: release main (#450) simplify maui projects to do not have repetitions minus 3 dependency address feedback revert incubator Refactor opentelemetry testing Remove instrumentation manager renaming to ObservabilityService to match Swift # Conflicts: # sdk/@launchdarkly/mobile-dotnet/observability/Directory.Build.props
* main: chore: simplify maui project by removing dependency repetitions (#451) fix: Remove 3 dependencies from MAUI Android (3 aar files) (#449) # Conflicts: # sdk/@launchdarkly/mobile-dotnet/android/native/LDObserve/build.gradle.kts # sdk/@launchdarkly/mobile-dotnet/observability/Directory.Build.props
...rvability-android/lib/src/main/kotlin/com/launchdarkly/observability/plugin/Observability.kt
Outdated
Show resolved
Hide resolved
b5c2d8d to
0991ad0
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
...rvability-android/lib/src/main/kotlin/com/launchdarkly/observability/plugin/Observability.kt
Show resolved
Hide resolved
...ty-android/lib/src/main/kotlin/com/launchdarkly/observability/replay/SessionReplayService.kt
Show resolved
Hide resolved
Vadman97
approved these changes
Apr 3, 2026
Merged
abelonogov-ld
pushed a commit
that referenced
this pull request
Apr 3, 2026
🤖 I have created a release *beep* *boop* --- <details><summary>launchdarkly-observability-android: 0.35.0</summary> ## [0.35.0](launchdarkly-observability-android-0.34.1...launchdarkly-observability-android-0.35.0) (2026-04-03) ### Features * Android Distro vs Sdk OpenTelemetry naming ([#458](#458)) ([edf968b](edf968b)) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Low risk release bookkeeping only: version bumps and changelog updates, with no functional code changes in this PR. > > **Overview** > Bumps `@launchdarkly/observability-android` from `0.34.1` to `0.35.0` in the release manifest and the Android module’s `gradle.properties`. > > Updates the Android SDK changelog with the `0.35.0` release entry (feature: Android Distro vs SDK OpenTelemetry naming). > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 5d5da3b. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY -->
abelonogov-ld
added a commit
that referenced
this pull request
Apr 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Introduces
distroAttributeson both iOS and AndroidObservabilityplugin classes, enabling MAUI (and other wrappers) to overridetelemetry.distro.nameandtelemetry.distro.versionwhile preserving a constanttelemetry.sdk.namethat always identifies the underlying native SDK.Motivation
telemetry.sdk.nameshould always reflect the native SDK name and remain constanttelemetry.distro.name/versionshould be overridable by wrappers (e.g. MAUI sets"observability-maui-ios"/"observability-maui-android")options.resourceAttributes(user-provided, defaults to empty) instead of the fully-built OTel resourceNote
Medium Risk
Changes how OpenTelemetry
Resourceattributes are constructed and propagated into session replay identify payloads, which can affect downstream telemetry labeling and ingestion. No auth/data model changes, but mislabeling or attribute loss could impact observability and tests.Overview
Updates the Android observability plugin to follow the OpenTelemetry SDK vs distro naming pattern by adding
telemetry.distro.name/telemetry.distro.versionattributes and avoiding overwritingservice.namewhen building theResource.Propagates the final built
Resourceattributes intoLDObserve.contextand updates session replay identify events to use these computed attributes (rather than rawoptions.resourceAttributes), withIdentifyItemPayloadrefactored to reuse a shared attribute-flattening helper. E2E app code is adjusted to exercise nested span logging/metrics and to tweak example resource attributes.Written by Cursor Bugbot for commit e36e84b. This will update automatically on new commits. Configure here.