File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -98,21 +98,21 @@ local g = import 'grafana-builder/grafana.libsonnet';
9898 // used to calculate the histogram increase of count from native histograms or
9999 // classic histograms. Metric name should be provided without _count suffix.
100100 ncHistogramCountIncrease(metric, selector, rate_interval='$__rate_interval')::
101- local rateOpen = 'increase(' ;
102- local rateClose = '[%s])' % rate_interval;
101+ local increaseOpen = 'increase(' ;
102+ local increaseClose = '[%s])' % rate_interval;
103103 {
104- classic: '%(rateOpen )s%(metric)s_count{%(selector)s}%(rateClose )s' % {
104+ classic: '%(increaseOpen )s%(metric)s_count{%(selector)s}%(increaseClose )s' % {
105105 metric: metric,
106106 rateInterval: rate_interval,
107- rateOpen: rateOpen ,
108- rateClose: rateClose ,
107+ increaseOpen: increaseOpen ,
108+ increaseClose: increaseClose ,
109109 selector: selector,
110110 },
111- native: 'histogram_count(%(rateOpen )s%(metric)s{%(selector)s}%(rateClose )s)' % {
111+ native: 'histogram_count(%(increaseOpen )s%(metric)s{%(selector)s}%(increaseClose )s)' % {
112112 metric: metric,
113113 rateInterval: rate_interval,
114- rateOpen: rateOpen ,
115- rateClose: rateClose ,
114+ increaseOpen: increaseOpen ,
115+ increaseClose: increaseClose ,
116116 selector: selector,
117117 },
118118 },
You can’t perform that action at this time.
0 commit comments