Class/Object

zio.internal.tracing

TracingConfig

Related Docs: object TracingConfig | package tracing

Permalink

final case class TracingConfig(traceExecution: Boolean, traceEffectOpsInExecution: Boolean, traceStack: Boolean, executionTraceLength: Int, stackTraceLength: Int, ancestryLength: Int, ancestorExecutionTraceLength: Int, ancestorStackTraceLength: Int) extends Product with Serializable

Toggles:

traceExecution

Collect traces of most ZIO operations into a Full Execution Trace

traceEffectOpsInExecution

Add traces of ZIO.effect* operations in Full Execution Trace. Applies when traceExecution is enabled. May multiply the amount of memory used by the tracing cache.

traceStack

Collect trace of the current stack of future continuations, This trace resembles an imperative stacktrace and will usually include similar information, but due to the way ZIO tracing works, it includes only references to *future continuations*, i.e. the *end* of a "stack frame" rather than the start of a "stack frame".

executionTraceLength

Preserve how many lines of a full execution trace

stackTraceLength

Maximum length of a stack trace

ancestryLength

Maximum count of parent fiber traces to include

ancestorExecutionTraceLength

How many lines of execution trace to include in the trace of last lines before .fork in the parent fiber that spawned the current fiber

ancestorStackTraceLength

How many lines of stack trace to include in the trace of last lines before .fork in the parent fiber that spawned the current fiber

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TracingConfig
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TracingConfig(traceExecution: Boolean, traceEffectOpsInExecution: Boolean, traceStack: Boolean, executionTraceLength: Int, stackTraceLength: Int, ancestryLength: Int, ancestorExecutionTraceLength: Int, ancestorStackTraceLength: Int)

    Permalink

    traceExecution

    Collect traces of most ZIO operations into a Full Execution Trace

    traceEffectOpsInExecution

    Add traces of ZIO.effect* operations in Full Execution Trace. Applies when traceExecution is enabled. May multiply the amount of memory used by the tracing cache.

    traceStack

    Collect trace of the current stack of future continuations, This trace resembles an imperative stacktrace and will usually include similar information, but due to the way ZIO tracing works, it includes only references to *future continuations*, i.e. the *end* of a "stack frame" rather than the start of a "stack frame".

    executionTraceLength

    Preserve how many lines of a full execution trace

    stackTraceLength

    Maximum length of a stack trace

    ancestryLength

    Maximum count of parent fiber traces to include

    ancestorExecutionTraceLength

    How many lines of execution trace to include in the trace of last lines before .fork in the parent fiber that spawned the current fiber

    ancestorStackTraceLength

    How many lines of stack trace to include in the trace of last lines before .fork in the parent fiber that spawned the current fiber

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val ancestorExecutionTraceLength: Int

    Permalink

    How many lines of execution trace to include in the trace of last lines before .fork in the parent fiber that spawned the current fiber

  5. val ancestorStackTraceLength: Int

    Permalink

    How many lines of stack trace to include in the trace of last lines before .fork in the parent fiber that spawned the current fiber

  6. val ancestryLength: Int

    Permalink

    Maximum count of parent fiber traces to include

  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. val executionTraceLength: Int

    Permalink

    Preserve how many lines of a full execution trace

  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. val stackTraceLength: Int

    Permalink

    Maximum length of a stack trace

  18. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  19. val traceEffectOpsInExecution: Boolean

    Permalink

    Add traces of ZIO.effect* operations in Full Execution Trace.

    Add traces of ZIO.effect* operations in Full Execution Trace. Applies when traceExecution is enabled. May multiply the amount of memory used by the tracing cache.

  20. val traceExecution: Boolean

    Permalink

    Collect traces of most ZIO operations into a Full Execution Trace

  21. val traceStack: Boolean

    Permalink

    Collect trace of the current stack of future continuations, This trace resembles an imperative stacktrace and will usually include similar information, but due to the way ZIO tracing works, it includes only references to *future continuations*, i.e.

    Collect trace of the current stack of future continuations, This trace resembles an imperative stacktrace and will usually include similar information, but due to the way ZIO tracing works, it includes only references to *future continuations*, i.e. the *end* of a "stack frame" rather than the start of a "stack frame".

  22. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped