Add gc metrics for ZGC and ShenandoahGC
Change-Id: I518a655f4c8080a8b5b23e67d6a518b503000949
This commit is contained in:
parent
f839c376af
commit
b72d83f48e
|
@ -39,6 +39,20 @@ barGraph.new(
|
||||||
interval='1m',
|
interval='1m',
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
.addTarget(
|
||||||
|
prometheus.target(
|
||||||
|
'increase(proc_jvm_gc_time_ZGC{instance="$instance",replica="$replica"}[2m])/increase(proc_uptime{instance="$instance",replica="$replica"}[2m])',
|
||||||
|
legendFormat='gc time ZGC',
|
||||||
|
interval='1m',
|
||||||
|
)
|
||||||
|
)
|
||||||
|
.addTarget(
|
||||||
|
prometheus.target(
|
||||||
|
'increase(proc_jvm_gc_time_ShenandoahGC{instance="$instance",replica="$replica"}[2m])/increase(proc_uptime{instance="$instance",replica="$replica"}[2m])',
|
||||||
|
legendFormat='gc time ShenandoahGC',
|
||||||
|
interval='1m',
|
||||||
|
)
|
||||||
|
)
|
||||||
.addSeriesOverride(
|
.addSeriesOverride(
|
||||||
{
|
{
|
||||||
alias: 'gc time G1 young gen',
|
alias: 'gc time G1 young gen',
|
||||||
|
@ -63,3 +77,15 @@ barGraph.new(
|
||||||
color: '#E02F44',
|
color: '#E02F44',
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
.addSeriesOverride(
|
||||||
|
{
|
||||||
|
alias: 'gc time ZGC',
|
||||||
|
color: '#3274D9',
|
||||||
|
}
|
||||||
|
)
|
||||||
|
.addSeriesOverride(
|
||||||
|
{
|
||||||
|
alias: 'gc time ShenandoahGC',
|
||||||
|
color: '#3274D9',
|
||||||
|
}
|
||||||
|
)
|
Loading…
Reference in a new issue