MetricAspect

trait MetricAspect[-A]

A MetricAspect is able to add collection of metrics to a ZIO effect without changing its environment, error, or value types. Aspects are the idiomatic way of adding collection of metrics to effects.

Companion:
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def apply[R, E, A1 <: A](zio: ZIO[R, E, A1]): ZIO[R, E, A1]