Skip to content

Commit a810621

Browse files
authored
Update queries to use $__rate_interval. (#668)
1 parent a2937db commit a810621

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jvm-mixin/jvm_rev1.libsonnet

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@
348348
steppedLine: false,
349349
targets: [
350350
{
351-
expr: 'rate(jvm_gc_collection_seconds_sum{instance=~"$instance"}[1m])',
351+
expr: 'rate(jvm_gc_collection_seconds_sum{instance=~"$instance"}[$__rate_interval])',
352352
format: 'time_series',
353353
interval: '',
354354
intervalFactor: 5,
@@ -361,7 +361,7 @@
361361
thresholds: [],
362362
timeFrom: null,
363363
timeShift: null,
364-
title: 'GC time / 1 min. rate',
364+
title: 'GC time rate',
365365
tooltip: {
366366
shared: true,
367367
sort: 0,

0 commit comments

Comments
 (0)