# Uses of Class
com.google.adk.telemetry.Tracing.TracerProvider

Packages that use Tracing.TracerProvider
Package
Description
com.google.adk.telemetry

- ## Uses of Tracing.TracerProvider in com.google.adk.telemetry

  Methods in com.google.adk.telemetry that return Tracing.TracerProvider
  Modifier and Type
  Method
  Description
  `Tracing.TracerProvider<T>`
  Tracing.TracerProvider.`configure(Consumer<io.opentelemetry.api.trace.Span> configurer)`
  Configures the span created by this transformer.
  `Tracing.TracerProvider<T>`
  Tracing.TracerProvider.`onSuccess(BiConsumer<io.opentelemetry.api.trace.Span, T> consumer)`
  Registers a callback to be executed with the span and the result item when the stream emits a success value.
  `Tracing.TracerProvider<T>`
  Tracing.TracerProvider.`setParent(io.opentelemetry.context.Context parentContext)`
  Sets an explicit parent context for the span created by this transformer.
  `static <T> Tracing.TracerProvider<T>`
  Tracing.`trace(String spanName)`
  Returns a transformer that traces the execution of an RxJava stream.
  `static <T> Tracing.TracerProvider<T>`
  Tracing.`traceAgent(String spanName, String agentName, String agentDescription, InvocationContext invocationContext)`
  Returns a transformer that traces an agent invocation.