Module: OpenTelemetry::SemConv::JVM

Defined in:
lib/opentelemetry/semconv/jvm/metrics.rb,
lib/opentelemetry/semconv/jvm/attributes.rb

Metrics Names collapse

JVM_CLASS_COUNT =
Note:

Stability Level: stable

Number of classes currently loaded.

'jvm.class.count'
JVM_CLASS_LOADED =
Note:

Stability Level: stable

Number of classes loaded since JVM start.

'jvm.class.loaded'
JVM_CLASS_UNLOADED =
Note:

Stability Level: stable

Number of classes unloaded since JVM start.

'jvm.class.unloaded'
JVM_CPU_COUNT =
Note:

Stability Level: stable

Number of processors available to the Java virtual machine.

'jvm.cpu.count'
JVM_CPU_RECENT_UTILIZATION =
Note:

Stability Level: stable

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

The value range is [0.0,1.0]. This utilization is not defined as being for the specific interval since last measurement (unlike system.cpu.utilization). Reference.

'jvm.cpu.recent_utilization'
JVM_CPU_TIME =
Note:

Stability Level: stable

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

'jvm.cpu.time'
JVM_GC_DURATION =
Note:

Stability Level: stable

Duration of JVM garbage collection actions.

'jvm.gc.duration'
JVM_MEMORY_COMMITTED =
Note:

Stability Level: stable

Measure of memory committed.

'jvm.memory.committed'
JVM_MEMORY_LIMIT =
Note:

Stability Level: stable

Measure of max obtainable memory.

'jvm.memory.limit'
JVM_MEMORY_USED =
Note:

Stability Level: stable

Measure of memory used.

'jvm.memory.used'
JVM_MEMORY_USED_AFTER_LAST_GC =
Note:

Stability Level: stable

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

'jvm.memory.used_after_last_gc'
JVM_THREAD_COUNT =
Note:

Stability Level: stable

Number of executing platform threads.

'jvm.thread.count'

Attribute Names collapse

JVM_GC_ACTION =
Note:

Stability Level: stable

Name of the garbage collector action.

Garbage collector action is generally obtained via GarbageCollectionNotificationInfo#getGcAction().

Examples:

Sample Values

end of minor GC
end of major GC
'jvm.gc.action'
JVM_GC_NAME =
Note:

Stability Level: stable

Name of the garbage collector.

Garbage collector name is generally obtained via GarbageCollectionNotificationInfo#getGcName().

Examples:

Sample Values

G1 Young Generation
G1 Old Generation
'jvm.gc.name'
JVM_MEMORY_POOL_NAME =
Note:

Stability Level: stable

Name of the memory pool.

Pool names are generally obtained via MemoryPoolMXBean#getName().

Examples:

Sample Values

G1 Old Gen
G1 Eden space
G1 Survivor Space
'jvm.memory.pool.name'
JVM_MEMORY_TYPE =
Note:

Stability Level: stable

The type of memory.

Examples:

Sample Values

heap
non_heap
'jvm.memory.type'
JVM_THREAD_DAEMON =
Note:

Stability Level: stable

Whether the thread is daemon or not.

'jvm.thread.daemon'
JVM_THREAD_STATE =
Note:

Stability Level: stable

State of the thread.

Examples:

Sample Values

runnable
blocked
'jvm.thread.state'