package tracing
- Alphabetic
- Public
- Protected
Type Members
- trait EffectTunnel[F[_], G[_]] extends AnyRef
Type class for disguising the effect of
Fin the effect ofGtemporarily so thatF's effect can tunnel through an API that supports onlyG.Type class for disguising the effect of
Fin the effect ofGtemporarily so thatF's effect can tunnel through an API that supports onlyG.For example, let
Fbe com.digitalasset.canton.lifecycle.FutureUnlessShutdown, andGbe scala.concurrent.Future (see com.digitalasset.canton.tracing.EffectTunnel.effectTunnelFutureUnlessShutdown). Then we can enter the tunnelGby 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. - trait HasTraceContext extends AnyRef
- trait NoTracing extends AnyRef
Exposes an empty TraceContext so a logging.TracedLogger can still be used.
- 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.
- trait Spanning extends AnyRef
- trait TelemetryTracing extends AnyRef
- class TraceContext extends Equals with Serializable with NoCopy
Container for values tracing operations through canton.
- 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).
- class TracedAsyncLoadingCache[F[_], K, V] extends AnyRef
- trait TracerProvider extends AnyRef
Provides tracer for span reporting and takes care of closing resources
- 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
- 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
- object BatchTracing
Utility mixin for creating a single trace context from a batch of traced items
- object EffectTunnel
- object NoReportingTracerProvider extends ReportingTracerProvider
Generates traces but does not report
- object NoopSpanExporter extends SpanExporter
- object SerializableTraceContext extends HasVersionedMessageCompanion[SerializableTraceContext] with HasVersionedMessageCompanionDbHelpers[SerializableTraceContext] with Serializable
- object Spanning
- object TraceContext extends Serializable
- 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
- object Traced extends Serializable
- object TracedScaffeine
- object TracerProvider
- object TracingConfig extends Serializable
- object W3CTraceContext extends Serializable