← ZIO Metrics Connectors docs

MetricEvent

zio.metrics.connectors.MetricEvent
See theMetricEvent companion trait
object MetricEvent

Attributes

Companion
trait
Source
MetricEvent.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final case class New extends MetricEvent

Attributes

Source
MetricEvent.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait MetricEvent
class Object
trait Matchable
class Any
Show all
final case class Unchanged extends MetricEvent

Attributes

Source
MetricEvent.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait MetricEvent
class Object
trait Matchable
class Any
Show all
final case class Updated extends MetricEvent

Attributes

Source
MetricEvent.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait MetricEvent
class Object
trait Matchable
class Any
Show all

Inherited and Abstract types

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def make[Type <: MetricKeyType { type Out = Out0; }, Out0](metricKey: MetricKey[Type], oldState: Option[MetricState[Out0]], newState: MetricState[Out0], now: Instant): Either[IllegalArgumentException, MetricEvent]

Attributes

Source
MetricEvent.scala

Deprecated methods

def make[Type <: MetricKeyType { type Out = Out0; }, Out0](metricKey: MetricKey[Type], oldState: Option[MetricState[Out0]], newState: MetricState[Out0]): Either[IllegalArgumentException, MetricEvent]

Attributes

Deprecated
[Since version 2.4.2] Use the other MetricEvent.make instead
Source
MetricEvent.scala