Skip to content

Commit

Permalink
Collect direct memory buffers by default (#257)
Browse files Browse the repository at this point in the history
  • Loading branch information
mar-kolya authored and truthbk committed Jan 6, 2020
1 parent 227f809 commit 7a8e556
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 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 @@ -28,6 +28,36 @@
alias: jvm.non_heap_memory_max
metric_type: gauge

# Direct Memory Buffers
- include:
domain: java.nio
type: BufferPool
name: direct
attribute:
Count:
alias: jvm.buffer_pool.direct.count
metric_type: gauge
MemoryUsed:
alias: jvm.buffer_pool.direct.used
metric_type: gauge
TotalCapacity:
alias: jvm.buffer_pool.direct.capacity
metric_type: gauge
- include:
domain: java.nio
type: BufferPool
name: mapped
attribute:
Count:
alias: jvm.buffer_pool.mapped.count
metric_type: gauge
MemoryUsed:
alias: jvm.buffer_pool.mapped.used
metric_type: gauge
TotalCapacity:
alias: jvm.buffer_pool.mapped.capacity
metric_type: gauge

# Threads
- include:
domain: java.lang
Expand Down

0 comments on commit 7a8e556

Please sign in to comment.