object TraceContext extends Serializable
- Alphabetic
- By Inheritance
- TraceContext
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- val empty: TraceContext
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fromDamlTelemetryContext(telemetryContext: TelemetryContext): TraceContext
Create a trace context from a telemetry context provided by the ledger-api server
- def fromW3CTraceParent(traceParent: String): TraceContext
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def ofBatch(items: IterableOnce[HasTraceContext])(logger: TracedLogger): TraceContext
Where we use batching operations create a separate trace-context but mention this in a debug log statement linking it to the trace ids of the contained items.
Where we use batching operations create a separate trace-context but mention this in a debug log statement linking it to the trace ids of the contained items. This will allow manual tracing via logs if ever needed. If all non-empty trace contexts in
items
are the same, this trace context will be reused and no log line emitted. - final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- val todo: TraceContext
Used for where a trace context should ideally be passed but support has not yet been added.
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withNewTraceContext[A](fn: (TraceContext) => A): A
Run a block with an entirely new TraceContext.
- def withOpenTelemetryContext[A](context: Context)(fn: (TraceContext) => A): A
- def withTraceContext[A, B](fn: (TraceContext) => (A) => B)(traced: Traced[A]): B
Run a block with a TraceContext taken from a Traced wrapper.
- def wrapWithNewTraceContext[A](item: A): Traced[A]
- object Implicits