All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.wildfly.swarm.microprofile.metrics.runtime.mapping.yml Maven / Gradle / Ivy

base:
  - name: "thread.count"
    mbean: "java.lang:type=Threading/ThreadCount"
    description: "Number of currently deployed threads"
    unit: none
    type: counter
    displayName: "Current Thread count"
  - name: "memory.maxHeap"
    mbean: "java.lang:type=Memory/HeapMemoryUsage#max"
    description: "Number of threads started for this server"
    unit: "bytes"
    type: gauge
#    labels:
#      - key: "domain"
#        value: "memory"
#      - key: "type"
#        value: "heap"
  - name: "memory.usedHeap"
    mbean: "java.lang:type=Memory/HeapMemoryUsage#used"
    type: "gauge"
    unit: "bytes"
  - name: "memory.committedHeap"
    mbean: "java.lang:type=Memory/HeapMemoryUsage#committed"
    type: "gauge"
    unit: "bytes"
  - name: "thread.daemon.count"
    displayName: Daemon Thread Count
    type: counter
    unit: none
    description: Displays the current number of live daemon threads.
    mbean: java.lang:type=Threading/DaemonThreadCount
  - name: "thread.max.count"
    displayName: Peak Thread Count
    type: counter
    unit: none
    description: Displays the peak live thread count since the Java virtual machine started or peak was reset. This includes daemon and non-daemon threads.
    mbean: java.lang:type=Threading/PeakThreadCount
  - name: "classloader.currentLoadedClass.count"
    displayName: Current Loaded Class Count
    type: counter
    unit: none
    description: Displays the number of classes that are currently loaded in the Java virtual machine.
    mbean: java.lang:type=ClassLoading/LoadedClassCount
  - name: "classloader.totalLoadedClass.count"
    displayName: Total Loaded Class Count
    type: counter
    unit: none
    description: Displays the total number of classes that have been loaded since the Java virtual machine has started execution.
    mbean: java.lang:type=ClassLoading/TotalLoadedClassCount
  - name: "classloader.totalUnloadedClass.count"
    displayName: Total Unloaded Class Count
    type: counter
    unit: none
    description: Displays the total number of classes unloaded since the Java virtual machine has started execution.
    mbean: java.lang:type=ClassLoading/UnloadedClassCount
  - name: "cpu.availableProcessors"
    displayName: Available Processors
    type: gauge
    unit: none
    description: Displays the number of processors available to the Java virtual machine. This value may change during a particular invocation of the virtual machine.
    mbean: java.lang:type=OperatingSystem/AvailableProcessors
  - name: "cpu.systemLoadAverage"
    displayName: System Load Average
    type: gauge
    unit: none
    description: Displays the system load average for the last minute. The system load average is the sum of the number of runnable entities queued to the available processors and the number of runnable entities running on the available processors averaged over a period of time. The way in which the load average is calculated is operating system specific but is typically a damped time-dependent average. If the load average is not available, a negative value is displayed. This attribute is designed to provide a hint about the system load and may be queried frequently. The load average may be unavailable on some platform where it is expensive to implement this method.
    mbean: java.lang:type=OperatingSystem/SystemLoadAverage
  - name: "jvm.uptime"
    displayName: JVM Uptime
    type: gauge
    unit: milliseconds
    description: Displays the start time of the Java virtual machine in milliseconds. This attribute displays the approximate time when the Java virtual machine started.
    mbean: java.lang:type=Runtime/Uptime
  - name: "gc.%s.count"
    displayName: Garbage Collection Count
    type: counter
    unit: none
    multi: true
    description:  Displays the total number of collections that have occurred. This attribute lists -1 if the collection count is undefined for this collector.
    mbean: java.lang:type=GarbageCollector,name=%s/CollectionCount
  - name: "gc.%s.time"
    displayName: Garbage Collection Time
    type: counter
    unit: milliseconds
    multi: true
    description: Displays the approximate accumulated collection elapsed time in milliseconds. This attribute displays -1 if the collection elapsed time is undefined for this collector. The Java virtual machine implementation may use a high resolution timer to measure the elapsed time. This attribute may display the same value even if the collection count has been incremented if the collection elapsed time is very short.
    mbean: java.lang:type=GarbageCollector,name=%s/CollectionTime



vendor:
  - name: "mscLoadedModules"
    mbean: "jboss.modules:type=ModuleLoader,name=BootModuleLoader-2/LoadedModuleCount"
    description: "Number of loaded modules"
    unit: "none"
    type: "gauge"
  - name: "BufferPool_used_memory_%s"
    mbean: "java.nio:type=BufferPool,name=%s/MemoryUsed"
    description: "The memory used by the NIO pool: %s"
    multi: true
    type: "gauge"
    unit: "bytes"
  - name: memoryPool.%s.usage
    mbean: java.lang:type=MemoryPool,name=%s/Usage#used
    unit: bytes
    description: Current usage of the %s memory pool
    multi: true
    type: gauge
  - name: memoryPool.%s.usage.max
    mbean: java.lang:type=MemoryPool,name=%s/PeakUsage#used
    unit: bytes
    description: Peak usage of the %s memory pool
    multi: true
    type: gauge
  - name: "test"
    mbean: "jboss.modules:type=ModuleLoader,name=BootModuleLoader-2/LoadedModuleCount"
    description: Just testing
    unit: "none"
    type: "gauge"
    labels:
      - key: "domain"
        value: "test"





© 2015 - 2025 Weber Informatics LLC | Privacy Policy