Object RumBuilder
-
- All Implemented Interfaces:
public class RumBuilder
-
-
Field Summary
Fields Modifier and Type Field Description public final static RumBuilderINSTANCE
-
Method Summary
Modifier and Type Method Description final static OpenTelemetryRumBuilderbuilder(Context context, OtelRumConfig config)Returns a new io.opentelemetry.android.OpenTelemetryRumBuilder for OpenTelemetryRum with a default configuration. final static OpenTelemetryRumBuilderbuilder(Context context)Returns a new io.opentelemetry.android.OpenTelemetryRumBuilder for OpenTelemetryRum with a default configuration. final static OpenTelemetryRumnoop()Returns a no-op implementation of OpenTelemetryRum. -
-
Method Detail
-
builder
@JvmOverloads() final static OpenTelemetryRumBuilder builder(Context context, OtelRumConfig config)
Returns a new io.opentelemetry.android.OpenTelemetryRumBuilder for OpenTelemetryRum with a default configuration. Use this version if you would like to configure individual aspects of the OpenTelemetry SDK but would still prefer to allow OpenTelemetry RUM to create the SDK for you. For additional configuration, call the two-argument version of build and pass it your io.opentelemetry.android.config.OtelRumConfig instance. If you would like to "bring your own" SDK, call the two-argument version that takes the SDK as a parameter.
- Parameters:
context- The android.content.Context that is being instrumented.
-
builder
@JvmOverloads() final static OpenTelemetryRumBuilder builder(Context context)
Returns a new io.opentelemetry.android.OpenTelemetryRumBuilder for OpenTelemetryRum with a default configuration. Use this version if you would like to configure individual aspects of the OpenTelemetry SDK but would still prefer to allow OpenTelemetry RUM to create the SDK for you. For additional configuration, call the two-argument version of build and pass it your io.opentelemetry.android.config.OtelRumConfig instance. If you would like to "bring your own" SDK, call the two-argument version that takes the SDK as a parameter.
- Parameters:
context- The android.content.Context that is being instrumented.
-
noop
final static OpenTelemetryRum noop()
Returns a no-op implementation of OpenTelemetryRum.
-
-
-
-