Class SdkPreconfiguredRumBuilder

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final SdkPreconfiguredRumBuilder addInstrumentation(AndroidInstrumentation instrumentation) Adds an instrumentation to be applied as a part of the build method call.
      final SdkPreconfiguredRumBuilder setShutdownHook(Runnable onShutdown) Call this to provide a shutdown hook that will be called when the OpenTelemetryRum instance is shut down.
      final OpenTelemetryRum build() Creates a new instance of io.opentelemetry.android.OpenTelemetryRum with the settings of this [ ].
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • build

         final OpenTelemetryRum build()

        Creates a new instance of io.opentelemetry.android.OpenTelemetryRum with the settings of this [ ].

        This method uses a preconfigured OpenTelemetry SDK and install built-in system instrumentations in the passed-in Android Context.

        Returns:

        A new io.opentelemetry.android.OpenTelemetryRum instance.