Last active
May 22, 2020 09:59
-
-
Save infynyxx/745c11089d4f2094ad81 to your computer and use it in GitHub Desktop.
Datadog JMX checks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- Core JMX Metrics when running with Concurrent Mark and Sweep (CMS) GC | |
| instances: | |
| - host: "localhost" | |
| port: 9999 | |
| init_config: | |
| conf: | |
| - domain: "java.lang" | |
| bean: "java.lang:type=GarbageCollector,name=ParNew" | |
| attribute: | |
| CollectionTime: | |
| alias: "jvm.gc.ParNew.time" | |
| metric_type: "gauge" | |
| CollectionCount: | |
| alias: "jvm.gc.ParNew.count" | |
| metric_type: "gauge" | |
| - domain: "java.lang" | |
| bean: "java.lang:type=GarbageCollector,name=ConcurrentMarkSweep" | |
| attribute: | |
| CollectionTime: | |
| alias: "jvm.gc.ConcurrentMarkSweep.time" | |
| metric_type: "gauge" | |
| CollectionCount: | |
| alias: "jvm.gc.ConcurrentMarkSweep.count" | |
| metric_type: "gauge" | |
| - domain: "java.nio" | |
| bean: "java.nio:type=BufferPool,name=direct" | |
| attribute: | |
| TotalCapacity: | |
| alias: "jvm.buffers.direct.capacity" | |
| metric_type: "gauge" | |
| MemoryUsed: | |
| alias: "jvm.buffers.direct.used" | |
| metric_type: "gauge" | |
| Count: | |
| alias: "jvm.buffers.direct.count" | |
| metric_type: "gauge" | |
| - domain: "java.nio" | |
| bean: "java.nio:type=BufferPool,name=mapped" | |
| attribute: | |
| TotalCapacity: | |
| alias: "jvm.buffers.mapped.capacity" | |
| metric_type: "gauge" | |
| MemoryUsed: | |
| alias: "jvm.buffers.mapped.used" | |
| metric_type: "gauge" | |
| Count: | |
| alias: "jvm.buffers.mapped.count" | |
| metric_type: "gauge" | |
| - domain: "java.lang" | |
| bean: "java.lang:type=MemoryPool,name=Code Cache" | |
| attribute: | |
| Usage.max: | |
| alias: "jvm.memory.pools.Code-Cache.max" | |
| metric_type: "gauge" | |
| Usage.used: | |
| alias: "jvm.memory.pools.Code-Cache.used" | |
| metric_type: "gauge" | |
| Usage.committed: | |
| alias: "jvm.memory.pools.Code-Cache.committed" | |
| metric_type: "gauge" | |
| Usage.init: | |
| alias: "jvm.memory.pools.Code-Cache.init" | |
| metric_type: "gauge" | |
| - domain: "java.lang" | |
| bean: "java.lang:type=MemoryPool,name=Metaspace" | |
| attribute: | |
| Usage.max: | |
| alias: "jvm.memory.pools.Metaspace.max" | |
| metric_type: "gauge" | |
| Usage.used: | |
| alias: "jvm.memory.pools.Metaspace.used" | |
| metric_type: "gauge" | |
| Usage.committed: | |
| alias: "jvm.memory.pools.Metaspace.committed" | |
| metric_type: "gauge" | |
| Usage.init: | |
| alias: "jvm.memory.pools.Metaspace.init" | |
| metric_type: "gauge" | |
| - domain: "java.lang" | |
| bean: "java.lang:type=MemoryPool,name=Compressed Class Space" | |
| attribute: | |
| Usage.max: | |
| alias: "jvm.memory.pools.Compressed-Class-Space.max" | |
| metric_type: "gauge" | |
| Usage.used: | |
| alias: "jvm.memory.pools.Compressed-Class-Space.used" | |
| metric_type: "gauge" | |
| Usage.committed: | |
| alias: "jvm.memory.pools.Compressed-Class-Space.committed" | |
| metric_type: "gauge" | |
| Usage.init: | |
| alias: "jvm.memory.pools.Compressed-Class-Space.init" | |
| metric_type: "gauge" | |
| - domain: "java.lang" | |
| bean: "java.lang:type=MemoryPool,name=Par Eden Space" | |
| attribute: | |
| Usage.max: | |
| alias: "jvm.memory.pools.Par-Eden-Space.max" | |
| metric_type: "gauge" | |
| Usage.used: | |
| alias: "jvm.memory.pools.Par-Eden-Space.used" | |
| metric_type: "gauge" | |
| Usage.committed: | |
| alias: "jvm.memory.pools.Par-Eden-Space.committed" | |
| metric_type: "gauge" | |
| Usage.init: | |
| alias: "jvm.memory.pools.Par-Eden-Space.init" | |
| metric_type: "gauge" | |
| - domain: "java.lang" | |
| bean: "java.lang:type=MemoryPool,name=Par Survivor Space" | |
| attribute: | |
| Usage.max: | |
| alias: "jvm.memory.pools.Par-Survivor-Space.max" | |
| metric_type: "gauge" | |
| Usage.used: | |
| alias: "jvm.memory.pools.Par-Survivor-Space.used" | |
| metric_type: "gauge" | |
| Usage.committed: | |
| alias: "jvm.memory.pools.Par-Survivor-Space.committed" | |
| metric_type: "gauge" | |
| Usage.init: | |
| alias: "jvm.memory.pools.Par-Survivor-Space.init" | |
| metric_type: "gauge" | |
| - domain: "java.lang" | |
| bean: "java.lang:type=MemoryPool,name=CMS Old Gen" | |
| attribute: | |
| Usage.max: | |
| alias: "jvm.memory.pools.CMS-Old-Gen.max" | |
| metric_type: "gauge" | |
| Usage.used: | |
| alias: "jvm.memory.pools.CMS-Old-Gen.used" | |
| metric_type: "gauge" | |
| Usage.committed: | |
| alias: "jvm.memory.pools.CMS-Old-Gen.committed" | |
| metric_type: "gauge" | |
| Usage.init: | |
| alias: "jvm.memory.pools.CMS-Old-Gen.init" | |
| metric_type: "gauge" | |
| - domain: "java.lang" | |
| bean: "java.lang:type=Memory" | |
| attribute: | |
| HeapMemoryUsage.max: | |
| alias: "jvm.memory.heap.max" | |
| metric_type: "gauge" | |
| HeapMemoryUsage.used: | |
| alias: "jvm.memory.heap.used" | |
| metric_type: "gauge" | |
| NonHeapMemoryUsage.used: | |
| alias: "jvm.memory.non-heap.used" | |
| metric_type: "gauge" | |
| HeapMemoryUsage.init: | |
| alias: "jvm.memory.heap.init" | |
| metric_type: "gauge" | |
| NonHeapMemoryUsage.init: | |
| alias: "jvm.memory.non-heap.init" | |
| metric_type: "gauge" | |
| HeapMemoryUsage.committed: | |
| alias: "jvm.memory.heap.committed" | |
| metric_type: "gauge" | |
| NonHeapMemoryUsage.committed: | |
| alias: "jvm.memory.non-heap.committed" | |
| metric_type: "gauge" | |
| NonHeapMemoryUsage.max: | |
| alias: "jvm.memory.non-heap.max" | |
| metric_type: "gauge" | |
| - domain: "java.lang" | |
| bean: "java.lang:type=Threading" | |
| attribute: | |
| ThreadCount: | |
| alias: "jvm.threads.current.count" | |
| metric_type: "gauge" | |
| TotalStartedThreadCount: | |
| alias: "jvm.threads.total_started.count" | |
| metric_type: "gauge" | |
| PeakThreadCount: | |
| alias: "jvm.threads.peak.count" | |
| metric_type: "gauge" | |
| DaemonThreadCount: | |
| alias: "jvm.threads.daemon.count" | |
| metric_type: "gauge" | |
| DeadlockedThreadCount: | |
| alias: "jvm.threads.deadlock.count" | |
| metric_type: "gauge" | |
| is_jmx: true | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- Core JMX Metrics when running with Garbage First (G1) GC | |
| instances: | |
| - host: "localhost" | |
| port: 9999 | |
| init_config: | |
| conf: | |
| - domain: "java.nio" | |
| bean: "java.nio:type=BufferPool,name=direct" | |
| attribute: | |
| TotalCapacity: | |
| alias: "jvm.buffers.direct.capacity" | |
| metric_type: "gauge" | |
| MemoryUsed: | |
| alias: "jvm.buffers.direct.used" | |
| metric_type: "gauge" | |
| Count: | |
| alias: "jvm.buffers.direct.count" | |
| metric_type: "gauge" | |
| - domain: "java.nio" | |
| bean: "java.nio:type=BufferPool,name=mapped" | |
| attribute: | |
| TotalCapacity: | |
| alias: "jvm.buffers.mapped.capacity" | |
| metric_type: "gauge" | |
| MemoryUsed: | |
| alias: "jvm.buffers.mapped.used" | |
| metric_type: "gauge" | |
| Count: | |
| alias: "jvm.buffers.mapped.count" | |
| metric_type: "gauge" | |
| - domain: "java.lang" | |
| bean: "java.lang:type=GarbageCollector,name=G1 Young Generation" | |
| attribute: | |
| CollectionTime: | |
| alias: "jvm.gc.G1-Young-Generation.time" | |
| metric_type: "gauge" | |
| CollectionCount: | |
| alias: "jvm.gc.G1-Young-Generation.count" | |
| metric_type: "gauge" | |
| - domain: "java.lang" | |
| bean: "java.lang:type=GarbageCollector,name=G1 Old Generation" | |
| attribute: | |
| CollectionTime: | |
| alias: "jvm.gc.G1-Old-Generation.time" | |
| metric_type: "gauge" | |
| CollectionCount: | |
| alias: "jvm.gc.G1-Old-Generation.count" | |
| metric_type: "gauge" | |
| - domain: "java.lang" | |
| bean: "java.lang:type=MemoryPool,name=Code Cache" | |
| attribute: | |
| Usage.max: | |
| alias: "jvm.memory.pools.Code-Cache.max" | |
| metric_type: "gauge" | |
| Usage.used: | |
| alias: "jvm.memory.pools.Code-Cache.used" | |
| metric_type: "gauge" | |
| Usage.committed: | |
| alias: "jvm.memory.pools.Code-Cache.committed" | |
| metric_type: "gauge" | |
| Usage.init: | |
| alias: "jvm.memory.pools.Code-Cache.init" | |
| metric_type: "gauge" | |
| - domain: "java.lang" | |
| bean: "java.lang:type=MemoryPool,name=Metaspace" | |
| attribute: | |
| Usage.max: | |
| alias: "jvm.memory.pools.Metaspace.max" | |
| metric_type: "gauge" | |
| Usage.used: | |
| alias: "jvm.memory.pools.Metaspace.used" | |
| metric_type: "gauge" | |
| Usage.committed: | |
| alias: "jvm.memory.pools.Metaspace.committed" | |
| metric_type: "gauge" | |
| Usage.init: | |
| alias: "jvm.memory.pools.Metaspace.init" | |
| metric_type: "gauge" | |
| - domain: "java.lang" | |
| bean: "java.lang:type=MemoryPool,name=Compressed Class Space" | |
| attribute: | |
| Usage.max: | |
| alias: "jvm.memory.pools.Compressed-Class-Space.max" | |
| metric_type: "gauge" | |
| Usage.used: | |
| alias: "jvm.memory.pools.Compressed-Class-Space.used" | |
| metric_type: "gauge" | |
| Usage.committed: | |
| alias: "jvm.memory.pools.Compressed-Class-Space.committed" | |
| metric_type: "gauge" | |
| Usage.init: | |
| alias: "jvm.memory.pools.Compressed-Class-Space.init" | |
| metric_type: "gauge" | |
| - domain: "java.lang" | |
| bean: "java.lang:type=MemoryPool,name=G1 Eden Space" | |
| attribute: | |
| Usage.max: | |
| alias: "jvm.memory.pools.G1-Eden-Space.max" | |
| metric_type: "gauge" | |
| Usage.used: | |
| alias: "jvm.memory.pools.G1-Eden-Space.used" | |
| metric_type: "gauge" | |
| Usage.committed: | |
| alias: "jvm.memory.pools.G1-Eden-Space.committed" | |
| metric_type: "gauge" | |
| Usage.init: | |
| alias: "jvm.memory.pools.G1-Eden-Space.init" | |
| metric_type: "gauge" | |
| - domain: "java.lang" | |
| bean: "java.lang:type=MemoryPool,name=G1 Survivor Space" | |
| attribute: | |
| Usage.max: | |
| alias: "jvm.memory.pools.G1-Survivor-Space.max" | |
| metric_type: "gauge" | |
| Usage.used: | |
| alias: "jvm.memory.pools.G1-Survivor-Space.used" | |
| metric_type: "gauge" | |
| Usage.committed: | |
| alias: "jvm.memory.pools.G1-Survivor-Space.committed" | |
| metric_type: "gauge" | |
| Usage.init: | |
| alias: "jvm.memory.pools.G1-Survivor-Space.init" | |
| metric_type: "gauge" | |
| - domain: "java.lang" | |
| bean: "java.lang:type=MemoryPool,name=G1 Old Gen" | |
| attribute: | |
| Usage.max: | |
| alias: "jvm.memory.pools.G1-Old-Gen.max" | |
| metric_type: "gauge" | |
| Usage.used: | |
| alias: "jvm.memory.pools.G1-Old-Gen.used" | |
| metric_type: "gauge" | |
| Usage.committed: | |
| alias: "jvm.memory.pools.G1-Old-Gen.committed" | |
| metric_type: "gauge" | |
| Usage.init: | |
| alias: "jvm.memory.pools.G1-Old-Gen.init" | |
| metric_type: "gauge" | |
| - domain: "java.lang" | |
| bean: "java.lang:type=Memory" | |
| attribute: | |
| HeapMemoryUsage.max: | |
| alias: "jvm.memory.heap.max" | |
| metric_type: "gauge" | |
| HeapMemoryUsage.used: | |
| alias: "jvm.memory.heap.used" | |
| metric_type: "gauge" | |
| NonHeapMemoryUsage.used: | |
| alias: "jvm.memory.non-heap.used" | |
| metric_type: "gauge" | |
| HeapMemoryUsage.init: | |
| alias: "jvm.memory.heap.init" | |
| metric_type: "gauge" | |
| NonHeapMemoryUsage.init: | |
| alias: "jvm.memory.non-heap.init" | |
| metric_type: "gauge" | |
| HeapMemoryUsage.committed: | |
| alias: "jvm.memory.heap.committed" | |
| metric_type: "gauge" | |
| NonHeapMemoryUsage.committed: | |
| alias: "jvm.memory.non-heap.committed" | |
| metric_type: "gauge" | |
| NonHeapMemoryUsage.max: | |
| alias: "jvm.memory.non-heap.max" | |
| metric_type: "gauge" | |
| - domain: "java.lang" | |
| bean: "java.lang:type=Threading" | |
| attribute: | |
| ThreadCount: | |
| alias: "jvm.threads.current.count" | |
| metric_type: "gauge" | |
| TotalStartedThreadCount: | |
| alias: "jvm.threads.total_started.count" | |
| metric_type: "gauge" | |
| PeakThreadCount: | |
| alias: "jvm.threads.peak.count" | |
| metric_type: "gauge" | |
| DaemonThreadCount: | |
| alias: "jvm.threads.daemon.count" | |
| metric_type: "gauge" | |
| DeadlockedThreadCount: | |
| alias: "jvm.threads.deadlock.count" | |
| metric_type: "gauge" | |
| is_jmx: true | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment