You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: O11Y-374 - Add identify span in TracingHook (#232)
## Summary
This PR implements the beforeIdentify and afterIdentify functions from
the Hook abstract class in `EvalTracingHook` for tracing identify events
through an span. It also makes the OpenTelemetry instance global in
`InstrumentationManager` to ensure it's accessible throughout the
application.
Additionally, the `BaseApplication.kt` in the e2e test app has been
updated to call `LDClient.get().identify(context)` after initialization
for testing purposes.
## How did you test this change?
Unit test
## Are there any deployment considerations?
No
Copy file name to clipboardExpand all lines: sdk/@launchdarkly/observability-android/lib/src/main/kotlin/com/launchdarkly/observability/client/InstrumentationManager.kt
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -290,6 +290,13 @@ class InstrumentationManager(
Copy file name to clipboardExpand all lines: sdk/@launchdarkly/observability-android/lib/src/main/kotlin/com/launchdarkly/observability/client/ObservabilityClient.kt
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -87,6 +87,13 @@ class ObservabilityClient : Observe {
Copy file name to clipboardExpand all lines: sdk/@launchdarkly/observability-android/lib/src/main/kotlin/com/launchdarkly/observability/plugin/Observability.kt
Copy file name to clipboardExpand all lines: sdk/@launchdarkly/observability-android/lib/src/main/kotlin/com/launchdarkly/observability/plugin/TracingHook.kt
0 commit comments