object Metrics
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Metrics
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- trait AbstractService[+F[+_]] extends AnyRef
- trait Service extends AbstractService[UIO]
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()
- def counter(name: String, value: Double, sampleRate: Double, tags: zmx.Label*): ZIO[Metrics, Nothing, Boolean]
- def counter(name: String, value: Double): ZIO[Metrics, Nothing, Boolean]
Sets the counter of the specified name for the specified value.
- def decrement(name: String, sampleRate: Double, tags: zmx.Label*): ZIO[Metrics, Nothing, Boolean]
- def decrement(name: String): ZIO[Metrics, Nothing, Boolean]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def event(name: String, text: String, timestamp: Option[Long], hostname: Option[String], aggregationKey: Option[String], priority: Option[zmx.EventPriority], sourceTypeName: Option[String], alertType: Option[zmx.EventAlertType], tags: zmx.Label*): ZIO[Metrics, Nothing, Boolean]
- def event(name: String, text: String): ZIO[Metrics, Nothing, Boolean]
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def gauge(name: String, value: Double, tags: zmx.Label*): ZIO[Metrics, Nothing, Boolean]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def histogram(name: String, value: Double, sampleRate: Double, tags: zmx.Label*): ZIO[Metrics, Nothing, Boolean]
- def histogram(name: String, value: Double): ZIO[Metrics, Nothing, Boolean]
- def increment(name: String, sampleRate: Double, tags: zmx.Label*): ZIO[Metrics, Nothing, Boolean]
- def increment(name: String): ZIO[Metrics, Nothing, Boolean]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def listen(f: (List[zmx.Metric[_]]) => IO[Exception, List[Long]]): ZIO[Clock with Metrics, Throwable, Fiber.Runtime[Throwable, Nothing]]
- def listen(): ZIO[Clock with Metrics, Throwable, Fiber.Runtime[Throwable, Nothing]]
- def live(config: zmx.MetricsConfig): Layer[Nothing, Metrics]
Constructs a live
Metricsservice based on the given configuration. - def meter(name: String, value: Double, tags: zmx.Label*): ZIO[Metrics, Nothing, Boolean]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def serviceCheck(name: String, status: zmx.ServiceCheckStatus, timestamp: Option[Long], hostname: Option[String], message: Option[String], tags: zmx.Label*): ZIO[Metrics, Nothing, Boolean]
- def serviceCheck(name: String, status: zmx.ServiceCheckStatus): ZIO[Metrics, Nothing, Boolean]
- def set(name: String, value: String, tags: zmx.Label*): ZIO[Metrics, Nothing, Boolean]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def timer(name: String, value: Double): ZIO[Metrics, Nothing, Boolean]
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()
- object Service