Skip to content

Commit

Permalink
Default JVM metrics for GC pools, class load count, and descriptors
Browse files Browse the repository at this point in the history
  • Loading branch information
realark committed Nov 26, 2018
1 parent c2bfd88 commit 23f6d2b
Showing 1 changed file with 92 additions and 0 deletions.
92 changes: 92 additions & 0 deletions src/main/resources/org/datadog/jmxfetch/default-jmx-metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -152,3 +152,95 @@
CollectionTime:
alias: jvm.gc.parnew.time
metric_type: gauge

# Classloading
- include:
domain: java.lang
type: ClassLoading
attribute:
LoadedClassCount:
alias: jvm.loaded_classes
metric_type: gauge

# Open File Descriptors
- include:
domain: java.lang
type: OperatingSystem
attribute:
OpenFileDescriptorCount:
alias: jvm.os.open_file_descriptors
metric_type: gauge

# GC Memory Pools
- include:
domain: java.lang
type: MemoryPool
name: PS Eden Space
attribute:
Usage.used:
alias: jvm.gc.eden_size
metric_type: gauge
- include:
domain: java.lang
type: MemoryPool
name: Par Eden Space
attribute:
Usage.used:
alias: jvm.gc.eden_size
metric_type: gauge
- include:
domain: java.lang
type: MemoryPool
name: G1 Eden Space
attribute:
Usage.used:
alias: jvm.gc.eden_size
metric_type: gauge
- include:
domain: java.lang
type: MemoryPool
name: PS Survivor Space
attribute:
Usage.used:
alias: jvm.gc.survivor_size
metric_type: gauge
- include:
domain: java.lang
type: MemoryPool
name: Par Survivor Space
attribute:
Usage.used:
alias: jvm.gc.survivor_size
metric_type: gauge
- include:
domain: java.lang
type: MemoryPool
name: G1 Survivor Space
attribute:
Usage.used:
alias: jvm.gc.survivor_size
metric_type: gauge
- include:
domain: java.lang
type: MemoryPool
name: PS Old Gen
attribute:
Usage.used:
alias: jvm.gc.old_gen_size
metric_type: gauge
- include:
domain: java.lang
type: MemoryPool
name: CMS Old Gen
attribute:
Usage.used:
alias: jvm.gc.old_gen_size
metric_type: gauge
- include:
domain: java.lang
type: MemoryPool
name: G1 Old Gen
attribute:
Usage.used:
alias: jvm.gc.old_gen_size
metric_type: gauge

0 comments on commit 23f6d2b

Please sign in to comment.