JvmMetric enum

jvm.* metric instruments from the OpenTelemetry semantic conventions.

Inheritance
Implemented types
Available extensions

Values

jvmBufferCount → const JvmMetric

Number of buffers in the pool.

Stability: development

const JvmMetric('jvm.buffer.count', SemanticInstrument.upDownCounter, '{buffer}')
jvmBufferMemoryLimit → const JvmMetric

Measure of total memory capacity of buffers.

Stability: development

const JvmMetric('jvm.buffer.memory.limit', SemanticInstrument.upDownCounter, 'By')
jvmBufferMemoryUsage → const JvmMetric

Deprecated, use jvm.buffer.memory.used instead.

Stability: development

const JvmMetric('jvm.buffer.memory.usage', SemanticInstrument.upDownCounter, 'By')
jvmBufferMemoryUsed → const JvmMetric

Measure of memory used by buffers.

Stability: development

const JvmMetric('jvm.buffer.memory.used', SemanticInstrument.upDownCounter, 'By')
jvmClassCount → const JvmMetric

Number of classes currently loaded.

const JvmMetric('jvm.class.count', SemanticInstrument.upDownCounter, '{class}')
jvmClassLoaded → const JvmMetric

Number of classes loaded since JVM start.

const JvmMetric('jvm.class.loaded', SemanticInstrument.counter, '{class}')
jvmClassUnloaded → const JvmMetric

Number of classes unloaded since JVM start.

const JvmMetric('jvm.class.unloaded', SemanticInstrument.counter, '{class}')
jvmCpuCount → const JvmMetric

Number of processors available to the Java virtual machine.

const JvmMetric('jvm.cpu.count', SemanticInstrument.upDownCounter, '{cpu}')
jvmCpuRecentUtilization → const JvmMetric

Recent CPU utilization for the process as reported by the JVM.

const JvmMetric('jvm.cpu.recent_utilization', SemanticInstrument.gauge, '1')
jvmCpuTime → const JvmMetric

CPU time used by the process as reported by the JVM.

const JvmMetric('jvm.cpu.time', SemanticInstrument.counter, 's')
jvmFileDescriptorCount → const JvmMetric

Number of open file descriptors as reported by the JVM.

Stability: development

const JvmMetric('jvm.file_descriptor.count', SemanticInstrument.upDownCounter, '{file_descriptor}')
jvmFileDescriptorLimit → const JvmMetric

Measure of max open file descriptors as reported by the JVM.

Stability: development

const JvmMetric('jvm.file_descriptor.limit', SemanticInstrument.upDownCounter, '{file_descriptor}')
jvmGcDuration → const JvmMetric

Duration of JVM garbage collection actions.

const JvmMetric('jvm.gc.duration', SemanticInstrument.histogram, 's')
jvmMemoryCommitted → const JvmMetric

Measure of memory committed.

const JvmMetric('jvm.memory.committed', SemanticInstrument.upDownCounter, 'By')
jvmMemoryInit → const JvmMetric

Measure of initial memory requested.

Stability: development

const JvmMetric('jvm.memory.init', SemanticInstrument.upDownCounter, 'By')
jvmMemoryLimit → const JvmMetric

Measure of max obtainable memory.

const JvmMetric('jvm.memory.limit', SemanticInstrument.upDownCounter, 'By')
jvmMemoryUsed → const JvmMetric

Measure of memory used.

const JvmMetric('jvm.memory.used', SemanticInstrument.upDownCounter, 'By')
jvmMemoryUsedAfterLastGc → const JvmMetric

Measure of memory used, as measured after the most recent garbage collection event on this pool.

const JvmMetric('jvm.memory.used_after_last_gc', SemanticInstrument.upDownCounter, 'By')
jvmSystemCpuLoad1m → const JvmMetric

Average CPU load of the whole system for the last minute as reported by the JVM.

Stability: development

const JvmMetric('jvm.system.cpu.load_1m', SemanticInstrument.gauge, '{run_queue_item}')
jvmSystemCpuUtilization → const JvmMetric

Recent CPU utilization for the whole system as reported by the JVM.

Stability: development

const JvmMetric('jvm.system.cpu.utilization', SemanticInstrument.gauge, '1')
jvmThreadCount → const JvmMetric

Number of executing platform threads.

const JvmMetric('jvm.thread.count', SemanticInstrument.upDownCounter, '{thread}')

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
instrument → SemanticInstrument
The OTel instrument kind the spec assigns to this metric.
final
name → String
The on-wire metric name (e.g. http.server.request.duration).
final
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
unit → String
OTel unit string (UCUM-style: s for seconds, By for bytes, {request} for a counted entity, 1 for dimensionless).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

values → const List<JvmMetric>
A constant List of the values in this enum, in order of their declaration.