blob: d0c9161c65c92f3260b434ad5d98ea0e5a7f919a [file] [log] [blame]
local grafana = import '../../../../vendor/grafonnet/grafana.libsonnet';
local graphPanel = grafana.graphPanel;
local prometheus = grafana.prometheus;
local lineGraph = import '../../../globals/line-graph.libsonnet';
local yAxis = import '../../../globals/yaxis.libsonnet';
lineGraph.new(
title='Memory Allocation',
yAxis1=yAxis.new(
label='Memory Allocation Rate',
format='Bps',
logBase=10,
),
)
.addTarget(
prometheus.target(
'rate(proc_jvm_memory_allocated{instance="$instance",replica="$replica"}[$__rate_interval])',
legendFormat='memory allocation rate',
)
)