Created
October 5, 2018 18:36
-
-
Save mbeale/cbe100adfaae9cbc3ba0d91bb348aebd to your computer and use it in GitHub Desktop.
JAVA dashboard
This file contains 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
--- | |
name: Java Profiling (GC) | |
charts: | |
- name: OldGen Collections | |
type: line | |
streams: | |
- summary_function: average | |
downsample_function: average | |
tags: | |
- name: "@host" | |
dynamic: true | |
composite: derive(s("*.jvm.gc.G1-Old-Generation.count", "%"), {detect_reset:"true"}) | |
- summary_function: average | |
downsample_function: average | |
tags: | |
- name: "@host" | |
dynamic: true | |
composite: derive(s("*.jvm.gc.ConcurrentMarkSweep.count", "%"), {detect_reset:"true"}) | |
- name: YoungGen Collections | |
type: line | |
streams: | |
- summary_function: average | |
downsample_function: average | |
tags: | |
- name: "@host" | |
dynamic: true | |
composite: derive(s("*.jvm.gc.G1-Young-Generation.count", "%"), {detect_reset:"true"}) | |
- summary_function: average | |
downsample_function: average | |
tags: | |
- name: "@host" | |
dynamic: true | |
composite: derive(s("*.jvm.gc.ParNew.count", "%"), {detect_reset:"true"}) | |
- name: OldGen Coll Time | |
type: line | |
streams: | |
- summary_function: average | |
units_short: ms | |
downsample_function: average | |
tags: | |
- name: "@host" | |
dynamic: true | |
composite: 'derive(s("*.jvm.gc.G1-Old-Generation.time", "%"), {detect_reset: "true"})' | |
- summary_function: average | |
downsample_function: average | |
tags: | |
- name: "@host" | |
dynamic: true | |
composite: derive(s("*.jvm.gc.ConcurrentMarkSweep.time", "%"), {detect_reset:"true"}) | |
label: Milliseconds | |
- name: YoungGen Coll Time | |
type: line | |
streams: | |
- summary_function: average | |
units_short: ms | |
downsample_function: average | |
tags: | |
- name: "@host" | |
dynamic: true | |
composite: 'derive(s("*.jvm.gc.G1-Young-Generation.time", "%"), {"detect_reset": | |
"true"})' | |
- summary_function: average | |
downsample_function: average | |
tags: | |
- name: "@host" | |
dynamic: true | |
composite: 'derive(s("*.jvm.gc.ParNew.time", "%"), {"detect_reset": "true"})' | |
min: 0.0 | |
label: Milliseconds | |
- name: Heap Usage | |
type: line | |
streams: | |
- summary_function: average | |
units_short: "%" | |
downsample_function: average | |
tags: | |
- name: "@host" | |
dynamic: true | |
composite: scale(s("*.jvm.memory.heap.usage", "%"), {factor:"100"}) | |
max: 100.0 | |
label: Percent | |
- name: Heap Used Bytes | |
type: line | |
streams: | |
- summary_function: average | |
units_short: GB | |
downsample_function: average | |
tags: | |
- name: "@host" | |
dynamic: true | |
composite: scale(s("*.jvm.memory.heap.used", "%"), {factor:"1/1073741824"}) | |
- name: Max | |
summary_function: average | |
color: "#f1a3cd" | |
units_short: GB | |
downsample_function: average | |
tags: | |
- name: "@host" | |
dynamic: true | |
composite: scale(s("*.jvm.memory.heap.max", "%"), {factor:"1/1073741824"}) | |
- name: Committed | |
summary_function: average | |
downsample_function: average | |
tags: | |
- name: "@host" | |
dynamic: true | |
composite: scale(s("*.jvm.memory.heap.committed", "%"), {factor:"1/1073741824"}) | |
label: Gigabytes | |
- name: Non-Heap Used Bytes | |
type: line | |
streams: | |
- summary_function: average | |
units_short: GB | |
downsample_function: average | |
tags: | |
- name: "@host" | |
dynamic: true | |
composite: scale(s("*.jvm.memory.non-heap.used", "%"), {factor:"1/1073741824"}) | |
min: 0.0 | |
label: Gigabytes | |
- name: Eden Space Usage | |
type: line | |
streams: | |
- summary_function: average | |
units_short: "%" | |
downsample_function: average | |
tags: | |
- name: "@host" | |
dynamic: true | |
composite: scale(map({metric:"*.jvm.memory.pools.G1-Eden-Space.usage"}, s("&", | |
"%")), {factor:"100"}) | |
- summary_function: average | |
downsample_function: average | |
tags: | |
- name: "@host" | |
dynamic: true | |
composite: scale(map({metric:"*.jvm.memory.pools.Par-Eden-Space.usage"}, s("&", | |
"%")), {factor:"100"}) | |
max: 100.0 | |
label: Percent | |
- name: Old Gen Usage | |
type: line | |
streams: | |
- summary_function: average | |
units_short: "%" | |
downsample_function: average | |
tags: | |
- name: "@host" | |
dynamic: true | |
composite: scale(map({metric:"*.jvm.memory.pools.G1-Old-Gen.usage"}, s("&", "%")), | |
{factor:"100"}) | |
- summary_function: average | |
downsample_function: average | |
tags: | |
- name: "@host" | |
dynamic: true | |
composite: scale(map({metric:"*.jvm.memory.pools.CMS-Old-Gen.usage"}, s("&", "%")), | |
{factor:"100"}) | |
max: 100.0 | |
label: Percent | |
- name: Misc Usage | |
type: line | |
streams: | |
- summary_function: average | |
units_short: "%" | |
downsample_function: average | |
tags: | |
- name: "@host" | |
dynamic: true | |
composite: scale([s("*.jvm.memory.pools.G1-Survivor-Space.usage", "%"),s("*.jvm.memory.pools.Metaspace.usage", | |
"%"),s("*.jvm.memory.pools.Code-Cache.usage", "%"),s("*.jvm.memory.pools.Compressed-Class-Space.usage", | |
"%")], {factor:"100"}) | |
max: 100.0 | |
label: Percent | |
- name: Thread States | |
type: line | |
streams: | |
- summary_function: average | |
downsample_function: average | |
tags: | |
- name: "@host" | |
dynamic: true | |
composite: s("*.jvm.threads.*.count", "%") | |
- name: Direct Buffers | |
type: line | |
streams: | |
- summary_function: average | |
units_short: MB | |
downsample_function: average | |
tags: | |
- name: "@host" | |
dynamic: true | |
composite: scale([s("*.jvm.buffers.direct.capacity", "%"), s("*.jvm.buffers.direct.used", | |
"%")], {factor:"1/1048576"}) | |
min: 0.0 | |
label: Megabytes | |
- name: Mapped Buffers | |
type: line | |
streams: | |
- summary_function: average | |
units_short: MB | |
downsample_function: average | |
tags: | |
- name: "@host" | |
dynamic: true | |
composite: scale([s("*.jvm.buffers.mapped.capacity", "%"), s("*.jvm.buffers.mapped.used", | |
"%")], {factor:"1/1048576"}) | |
min: 0.0 | |
label: Megabytes | |
- name: runnable threads | |
type: line | |
streams: | |
- summary_function: average | |
downsample_function: average | |
tags: | |
- name: "@host" | |
dynamic: true | |
composite: 's("*.jvm.threads.runnable.count", "%", {function: "sum"}) ' | |
layout: | |
- col: 1 | |
row: 1 | |
height: 2 | |
width: 4 | |
- col: 5 | |
row: 1 | |
height: 2 | |
width: 4 | |
- col: 9 | |
row: 1 | |
height: 2 | |
width: 4 | |
- col: 1 | |
row: 3 | |
height: 2 | |
width: 4 | |
- col: 5 | |
row: 3 | |
height: 2 | |
width: 4 | |
- col: 9 | |
row: 3 | |
height: 2 | |
width: 4 | |
- col: 1 | |
row: 5 | |
height: 2 | |
width: 4 | |
- col: 5 | |
row: 5 | |
height: 2 | |
width: 4 | |
- col: 9 | |
row: 5 | |
height: 2 | |
width: 4 | |
- col: 1 | |
row: 7 | |
height: 2 | |
width: 4 | |
- col: 5 | |
row: 7 | |
height: 2 | |
width: 4 | |
- col: 9 | |
row: 7 | |
height: 2 | |
width: 4 | |
- col: 1 | |
row: 9 | |
height: 2 | |
width: 4 | |
- col: 5 | |
row: 9 | |
height: 2 | |
width: 4 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment