-
@RestrictTo(value = {RestrictTo.Scope.LIBRARY_GROUP}) public final class SpanFactory
-
-
Field Summary
Fields Modifier and Type Field Description private NetworkRequestInstrumentationCallbacknetworkRequestCallbackprivate SpanProcessorspanProcessorprivate final Function1<SpanImpl, Unit>spanAttributeSource
-
Constructor Summary
Constructors Constructor Description SpanFactory(SpanProcessor spanProcessor, Function1<SpanImpl, Unit> spanAttributeSource)
-
Method Summary
-
-
Constructor Detail
-
SpanFactory
SpanFactory(SpanProcessor spanProcessor, Function1<SpanImpl, Unit> spanAttributeSource)
-
-
Method Detail
-
getNetworkRequestCallback
final NetworkRequestInstrumentationCallback getNetworkRequestCallback()
-
setNetworkRequestCallback
final Unit setNetworkRequestCallback(NetworkRequestInstrumentationCallback networkRequestCallback)
-
getSpanProcessor
final SpanProcessor getSpanProcessor()
-
setSpanProcessor
final Unit setSpanProcessor(SpanProcessor spanProcessor)
-
getSpanAttributeSource
final Function1<SpanImpl, Unit> getSpanAttributeSource()
-
createCustomSpan
@JvmOverloads() final SpanImpl createCustomSpan(String name, SpanOptions options, SpanProcessor spanProcessor)
-
createCustomSpan
@JvmOverloads() final SpanImpl createCustomSpan(String name, SpanOptions options)
-
createCustomSpan
@JvmOverloads() final SpanImpl createCustomSpan(String name)
-
createNetworkSpan
final SpanImpl createNetworkSpan(String url, String verb, SpanOptions options, SpanProcessor spanProcessor)
-
createViewLoadSpan
final SpanImpl createViewLoadSpan(Activity activity, SpanOptions options, SpanProcessor spanProcessor)
-
createViewLoadSpan
final SpanImpl createViewLoadSpan(ViewType viewType, String viewName, SpanOptions options, SpanProcessor spanProcessor)
-
createViewLoadPhaseSpan
final SpanImpl createViewLoadPhaseSpan(String viewName, ViewType viewType, ViewLoadPhase phase, SpanOptions options, SpanProcessor spanProcessor)
-
createViewLoadPhaseSpan
final SpanImpl createViewLoadPhaseSpan(Activity activity, ViewLoadPhase phase, SpanOptions options, SpanProcessor spanProcessor)
-
createAppStartSpan
final SpanImpl createAppStartSpan(String startType, SpanProcessor spanProcessor)
-
createAppStartPhaseSpan
final SpanImpl createAppStartPhaseSpan(AppStartPhase phase, SpanContext appStartContext, SpanProcessor spanProcessor)
-
-
-
-