Packages

package tracing

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Type Members

  1. trait EffectTunnel[F[_], G[_]] extends AnyRef

    Type class for disguising the effect of F in the effect of G temporarily so that F's effect can tunnel through an API that supports only G.

    Type class for disguising the effect of F in the effect of G temporarily so that F's effect can tunnel through an API that supports only G.

    For example, let F be com.digitalasset.canton.lifecycle.FutureUnlessShutdown, and G be scala.concurrent.Future (see com.digitalasset.canton.tracing.EffectTunnel.effectTunnelFutureUnlessShutdown). Then we can enter the tunnel G by converting com.digitalasset.canton.lifecycle.UnlessShutdown.AbortedDueToShutdowns into a dedicated exception in a failed scala.concurrent.Future and exit the tunnel again by converting the exception back into com.digitalasset.canton.lifecycle.UnlessShutdown.AbortedDueToShutdown. This obviously assumes that the API that supports only scala.concurrent.Future does not interact with the dedicated exception.

  2. trait HasTraceContext extends AnyRef
  3. trait NoTracing extends AnyRef

    Exposes an empty TraceContext so a logging.TracedLogger can still be used.

  4. final case class SerializableTraceContext(traceContext: TraceContext) extends HasVersionedWrapper[SerializableTraceContext] with Product with Serializable

    Wrapper around TraceContext to keep serialization out of the TraceContext itself and thereby reduce its dependencies.

  5. trait Spanning extends AnyRef
  6. trait TelemetryTracing extends AnyRef
  7. class TraceContext extends Equals with Serializable with NoCopy

    Container for values tracing operations through canton.

  8. final case class Traced[+A](value: A)(implicit traceContext: TraceContext) extends HasTraceContext with Product with Serializable

    Wrapper for items that have a related trace context.

    Wrapper for items that have a related trace context. Intended for where the TraceContext cannot be passed explicitly (e.g. function types or pekko-streams).

  9. class TracedAsyncLoadingCache[F[_], K, V] extends AnyRef
  10. trait TracerProvider extends AnyRef

    Provides tracer for span reporting and takes care of closing resources

  11. final case class TracingConfig(propagation: Propagation = Propagation.Enabled, tracer: Tracer = Tracer()) extends Product with Serializable

    propagation

    How should trace contexts (debugging details associated with actions) be propagated between nodes.

    tracer

    Tracer configuration

  12. final case class W3CTraceContext(parent: String, state: Option[String] = None) extends Serializable with Product

    Our representation of the w3c trace context values: https://www.w3.org/TR/trace-context/

Value Members

  1. object BatchTracing

    Utility mixin for creating a single trace context from a batch of traced items

  2. object EffectTunnel
  3. object NoReportingTracerProvider extends ReportingTracerProvider

    Generates traces but does not report

  4. object NoopSpanExporter extends SpanExporter
  5. object SerializableTraceContext extends HasVersionedMessageCompanion[SerializableTraceContext] with HasVersionedMessageCompanionDbHelpers[SerializableTraceContext] with Serializable
  6. object Spanning
  7. object TraceContext extends Serializable
  8. object TraceContextGrpc

    Support for propagating TraceContext values across GRPC boundaries.

    Support for propagating TraceContext values across GRPC boundaries. Includes:

    • a client interceptor for setting context values when sending requests to a server
    • a server interceptor for receiving context values when receiving requests from a client
  9. object Traced extends Serializable
  10. object TracedScaffeine
  11. object TracerProvider
  12. object TracingConfig extends Serializable
  13. object W3CTraceContext extends Serializable

Ungrouped