DefaultJvmMetrics

JVM metrics, compatible with the prometheus-hotspot library

Companion:
class
class Object
trait Matchable
class Any

Value members

Concrete fields

val collectDefaultJvmMetrics: ZManaged[Clock & System & Blocking, Throwable, Unit]
val live: ZLayer[Clock & System & Blocking, Throwable, Has[DefaultJvmMetrics]]

Layer that starts collecting the same JVM metrics as the Prometheus Java client's default exporters

Layer that starts collecting the same JVM metrics as the Prometheus Java client's default exporters