We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 267b375 commit ec4ffe6Copy full SHA for ec4ffe6
1 file changed
demo-app/src/main/java/io/opentelemetry/android/demo/OtelDemoApplication.kt
@@ -38,7 +38,11 @@ class OtelDemoApplication : Application() {
38
39
// 10.0.2.2 is apparently a special binding to the host running the emulator
40
try {
41
- rum = OpenTelemetryRumInitializer.initialize(this, "http://10.0.2.2:4318")
+ rum = OpenTelemetryRumInitializer.initialize(
42
+ application = this,
43
+ endpointBaseUrl = "http://10.0.2.2:4318",
44
+ rumConfig = config
45
+ )
46
Log.d(TAG, "RUM session started: " + rum!!.rumSessionId)
47
} catch (e: Exception) {
48
Log.e(TAG, "Oh no!", e)
0 commit comments