zio.metrics.jvm.DefaultJvmMetrics
See theDefaultJvmMetrics companion trait
object DefaultJvmMetrics extends DefaultJvmMetrics
JVM metrics, compatible with the prometheus-hotspot library
Attributes
- Companion
- trait
- 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
Inherited fields
Attributes
- Inherited from:
- DefaultJvmMetrics
lazy val liveV2: ZLayer[Any, Throwable, Reloadable[BufferPools] & ClassLoading & GarbageCollector & MemoryAllocation & MemoryPools & Standard & Thread & VersionInfo]
Attributes
- Inherited from:
- DefaultJvmMetrics
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
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
In this article