zio.metrics.jvm
package zio.metrics.jvm
Type members
Classlikes
final case class BufferPools(bufferPoolUsedBytes: PollingMetric[Any, Throwable, Chunk[Gauge]], bufferPoolCapacityBytes: PollingMetric[Any, Throwable, Chunk[Gauge]], bufferPoolUsedBuffers: PollingMetric[Any, Throwable, Chunk[Gauge]])
- Companion:
- object
final case class ClassLoading(loadedClassCount: PollingMetric[Any, Throwable, Gauge], totalLoadedClassCount: PollingMetric[Any, Throwable, Gauge], unloadedClassCount: PollingMetric[Any, Throwable, Gauge])
- Companion:
- object
trait DefaultJvmMetrics
JVM metrics, compatible with the prometheus-hotspot library, with configurable schedule
JVM metrics, compatible with the prometheus-hotspot library, with configurable schedule
- Companion:
- object
JVM metrics, compatible with the prometheus-hotspot library
JVM metrics, compatible with the prometheus-hotspot library
- Companion:
- class
final case class GarbageCollector(gcCollectionSecondsSum: PollingMetric[Any, Throwable, Chunk[Gauge]], gcCollectionSecondsCount: PollingMetric[Any, Throwable, Chunk[Gauge]])
- Companion:
- object
final case class JvmMetricsSchedule(updateMetrics: Schedule[Any, Any, Any], reloadDynamicMetrics: Schedule[Any, Any, Any])
Configuration for the JVM metrics
Configuration for the JVM metrics
- Value parameters:
- reloadDynamicMetrics
Schedule for regenerating the dynamic JVM metrics such as buffer pool metrics
- updateMetrics
Schedule for periodically updating each JVM metric
- Companion:
- object
final case class MemoryAllocation(listener: NotificationListener, garbageCollectorMXBeans: List[GarbageCollectorMXBean])
- Companion:
- object
final case class MemoryPools(memoryBytesUsed: PollingMetric[Any, Throwable, Chunk[Gauge]], memoryBytesCommitted: PollingMetric[Any, Throwable, Chunk[Gauge]], memoryBytesMax: PollingMetric[Any, Throwable, Chunk[Gauge]], memoryBytesInit: PollingMetric[Any, Throwable, Chunk[Gauge]], poolBytesUsed: PollingMetric[Any, Throwable, Chunk[Gauge]], poolBytesCommitted: PollingMetric[Any, Throwable, Chunk[Gauge]], poolBytesMax: PollingMetric[Any, Throwable, Chunk[Gauge]], poolBytesInit: PollingMetric[Any, Throwable, Chunk[Gauge]])
- Companion:
- object
final case class Standard(cpuSecondsTotal: PollingMetric[Any, Throwable, Gauge], processStartTime: PollingMetric[Any, Throwable, Gauge], openFdCount: PollingMetric[Any, Throwable, Gauge], maxFdCount: PollingMetric[Any, Throwable, Gauge], virtualMemorySize: Gauge[Double], residentMemorySize: Gauge[Double])
- Companion:
- object
final case class Thread(threadsCurrent: PollingMetric[Any, Throwable, Gauge], threadsDaemon: PollingMetric[Any, Throwable, Gauge], threadsPeak: PollingMetric[Any, Throwable, Gauge], threadsStartedTotal: PollingMetric[Any, Throwable, Gauge], threadsDeadlocked: PollingMetric[Any, Throwable, Gauge], threadsDeadlockedMonitor: PollingMetric[Any, Throwable, Gauge])
- Companion:
- object