Also monitor parallel GC
This change
- adds metrics for parallel GC to the GC panel in the Gerrit Process
dashboard
- configures the GC panel to only show queries with values other than
null
- changes the interval to one minute, which fits the scrape interval
- changes the default time frame to the last 24h, which is used for
most other dashboards
Change-Id: I3b6587e769ae7486a02e26b8d7f2822319eb94e6
This commit is contained in:
parent
f5c4885e67
commit
65582f2deb
|
@ -333,6 +333,8 @@
|
||||||
"alignAsTable": true,
|
"alignAsTable": true,
|
||||||
"avg": true,
|
"avg": true,
|
||||||
"current": true,
|
"current": true,
|
||||||
|
"hideEmpty": true,
|
||||||
|
"hideZero": true,
|
||||||
"max": true,
|
"max": true,
|
||||||
"min": true,
|
"min": true,
|
||||||
"rightSide": false,
|
"rightSide": false,
|
||||||
|
@ -358,6 +360,14 @@
|
||||||
{
|
{
|
||||||
"alias": "gc time G1 young gen",
|
"alias": "gc time G1 young gen",
|
||||||
"color": "#3274D9"
|
"color": "#3274D9"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"alias": "gc time PS Scavange",
|
||||||
|
"color": "#8AB8FF"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"alias": "gc time PS MarkSweep",
|
||||||
|
"color": "#E02F44"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"spaceLength": 10,
|
"spaceLength": 10,
|
||||||
|
@ -366,13 +376,31 @@
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"expr": "increase(proc_jvm_gc_time_G1_Young_Generation{instance=\"$instance\",replica=\"$replica\"}[2m])/increase(proc_uptime{instance=\"$instance\",replica=\"$replica\"}[2m])",
|
"expr": "increase(proc_jvm_gc_time_G1_Young_Generation{instance=\"$instance\",replica=\"$replica\"}[2m])/increase(proc_uptime{instance=\"$instance\",replica=\"$replica\"}[2m])",
|
||||||
|
"interval": "1m",
|
||||||
|
"intervalFactor": 1,
|
||||||
"legendFormat": "gc time G1 young gen",
|
"legendFormat": "gc time G1 young gen",
|
||||||
"refId": "B"
|
"refId": "B"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"expr": "increase(proc_jvm_gc_time_G1_Old_Generation{instance=\"$instance\",replica=\"$replica\"}[2m])/increase(proc_uptime{instance=\"$instance\",replica=\"$replica\"}[2m])",
|
"expr": "increase(proc_jvm_gc_time_G1_Old_Generation{instance=\"$instance\",replica=\"$replica\"}[2m])/increase(proc_uptime{instance=\"$instance\",replica=\"$replica\"}[2m])",
|
||||||
|
"interval": "1m",
|
||||||
|
"intervalFactor": 1,
|
||||||
"legendFormat": "gc time G1 old gen",
|
"legendFormat": "gc time G1 old gen",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"expr": "increase(proc_jvm_gc_time_PS_MarkSweep{instance=\"$instance\",replica=\"$replica\"}[2m])/increase(proc_uptime{instance=\"$instance\",replica=\"$replica\"}[2m])",
|
||||||
|
"interval": "1m",
|
||||||
|
"intervalFactor": 1,
|
||||||
|
"legendFormat": "gc time PS MarkSweep",
|
||||||
|
"refId": "C"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"expr": "increase(proc_jvm_gc_time_PS_Scavenge{instance=\"$instance\",replica=\"$replica\"}[2m])/increase(proc_uptime{instance=\"$instance\",replica=\"$replica\"}[2m])",
|
||||||
|
"interval": "1m",
|
||||||
|
"intervalFactor": 1,
|
||||||
|
"legendFormat": "gc time PS Scavange",
|
||||||
|
"refId": "D"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"thresholds": [],
|
"thresholds": [],
|
||||||
|
@ -768,7 +796,7 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"time": {
|
"time": {
|
||||||
"from": "now-6h",
|
"from": "now-24h",
|
||||||
"to": "now"
|
"to": "now"
|
||||||
},
|
},
|
||||||
"timepicker": {
|
"timepicker": {
|
||||||
|
@ -788,5 +816,5 @@
|
||||||
"timezone": "",
|
"timezone": "",
|
||||||
"title": "Process",
|
"title": "Process",
|
||||||
"uid": "MeOVgCPWz",
|
"uid": "MeOVgCPWz",
|
||||||
"version": 4
|
"version": 5
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue