Standard

zio.metrics.jvm.Standard
See theStandard 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])

The standard process metrics of the JVM. Each one is a gauge.

Value parameters

cpuSecondsTotal

process_cpu_seconds_total: the CPU time that the process has used, in seconds

maxFdCount

process_max_fds: the maximum number of open file descriptors. The layer polls it only when the operating system bean has getMaxFileDescriptorCount.

openFdCount

process_open_fds: the number of open file descriptors. The layer polls it only when the operating system bean has getOpenFileDescriptorCount.

processStartTime

process_start_time_seconds: the start time of the JVM, in seconds since the Unix epoch

residentMemorySize

process_resident_memory_bytes: the resident memory size, in bytes, read from /proc/self/status on Linux only

virtualMemorySize

process_virtual_memory_bytes: the virtual memory size, in bytes, read from /proc/self/status on Linux only

Attributes

Companion
object
Source
Standard.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product