Packages

p

zio

profiling

package profiling

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Package Members

  1. package causal
  2. package sampling

Type Members

  1. sealed trait CostCenter extends AnyRef

    A CostCenter allows grouping multiple source code locations into one unit for reporting and targeting purposes.

    A CostCenter allows grouping multiple source code locations into one unit for reporting and targeting purposes. Instead of relying on a function call hierarchy to identify a location, zio-profiling relies on manual tagging.

    for {
      _ <- ZIO.succeed(Thread.sleep(20)) <# "short" // code attributed to cost center `Root / "short"`
      _ <- ZIO.succeed(Thread.sleep(40)) <# "long" // code attributes to cost center `Root / "long"`
    } yield ()

Value Members

  1. object CostCenter

Ungrouped