DefaultJvmMetrics

zio.metrics.jvm.DefaultJvmMetrics
See theDefaultJvmMetrics companion object

JVM metrics, compatible with the prometheus-hotspot library, with configurable schedule

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Concrete methods

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

Deprecated fields

lazy val app: ZIOAppDefault

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

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