zio.metrics.jvm.DefaultJvmMetrics
See theDefaultJvmMetrics companion trait
object DefaultJvmMetrics extends DefaultJvmMetrics
JVM metrics, compatible with the prometheus-hotspot library
Attributes
- Companion
- trait
- Source
- DefaultJvmMetrics.scala
- Graph
-
- Supertypes
- Self type
-
DefaultJvmMetrics.type
Members list
Value members
Inherited methods
def withMemoryPoolsLayer(memoryPools: ZLayer[JvmMetricsSchedule, Throwable, MemoryPools]): ZLayer[Any, Throwable, Reloadable[BufferPools] & ClassLoading & GarbageCollector & MemoryAllocation & MemoryPools & Standard & Thread & VersionInfo]
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
Attributes
- Inherited from:
- DefaultJvmMetrics
- Source
- DefaultJvmMetrics.scala
Inherited fields
Attributes
- Inherited from:
- DefaultJvmMetrics
- Source
- DefaultJvmMetrics.scala
lazy val liveV2: ZLayer[Any, Throwable, Reloadable[BufferPools] & ClassLoading & GarbageCollector & MemoryAllocation & MemoryPools & Standard & Thread & VersionInfo]
Attributes
- Inherited from:
- DefaultJvmMetrics
- Source
- DefaultJvmMetrics.scala
Deprecated and Inherited fields
Attributes
- Deprecated
- This app exposes JVM metrics with the non-OpenMetrics-compliant names used in prometheus client_java 0.16: https://github.com/prometheus/client_java/blob/main/docs/content/migration/simpleclient.md#jvm-metrics. Use `appV2` instead, it uses names compatible with the client_java 1.0 library
- Inherited from:
- DefaultJvmMetrics
- Source
- DefaultJvmMetrics.scala
lazy val live: ZLayer[Any, Throwable, Reloadable[BufferPools] & ClassLoading & GarbageCollector & MemoryAllocation & MemoryPools & Standard & Thread & VersionInfo]
Attributes
- Deprecated
- This layer exposes JVM metrics with the non-OpenMetrics-compliant names used in prometheus client_java 0.16: https://github.com/prometheus/client_java/blob/main/docs/content/migration/simpleclient.md#jvm-metrics. Use the `liveV2` layer instead, it uses names compatible with the client_java 1.0 library
- Inherited from:
- DefaultJvmMetrics
- Source
- DefaultJvmMetrics.scala
In this article