Skip to content

Commit 98adf4a

Browse files
Rework some decimal values
1 parent 8a7e10d commit 98adf4a

File tree

8 files changed

+155
-155
lines changed

8 files changed

+155
-155
lines changed

tarantool/cluster.libsonnet

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ local prometheus = grafana.prometheus;
253253
measurement=measurement,
254254
job=job,
255255
stat_title='Overall space load:',
256-
decimals=2,
256+
decimals=3,
257257
unit='ops',
258258
expr=std.format('sum(rate(tnt_stats_op_total{job=~"%s"}[%s]))', [job, rate_time_range]),
259259
),
@@ -286,7 +286,7 @@ local prometheus = grafana.prometheus;
286286
measurement=measurement,
287287
job=job,
288288
stat_title='Overall HTTP load:',
289-
decimals=2,
289+
decimals=3,
290290
unit='reqps',
291291
expr=std.format('sum(rate(http_server_request_latency_count{job=~"%s"}[%s]))', [job, rate_time_range]),
292292
),

tarantool/http.libsonnet

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ local prometheus = grafana.prometheus;
2424
min=0,
2525
labelY1='requests per second',
2626
fill=0,
27-
decimals=2,
27+
decimals=3,
2828
decimalsY1=0,
2929
sort='decreasing',
3030
legend_alignAsTable=true,
@@ -153,7 +153,6 @@ local prometheus = grafana.prometheus;
153153
labelY1=label,
154154
fill=0,
155155
decimals=3,
156-
decimalsY1=2,
157156
sort='decreasing',
158157
legend_alignAsTable=true,
159158
legend_avg=true,

tarantool/memory_misc.libsonnet

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ local prometheus = grafana.prometheus;
2121
format='bytes',
2222
labelY1='in bytes',
2323
fill=0,
24-
decimals=2,
24+
decimals=3,
25+
decimalsY1=0,
2526
sort='decreasing',
2627
legend_alignAsTable=true,
2728
legend_avg=true,

tarantool/net.libsonnet

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ local prometheus = grafana.prometheus;
2424
min=0,
2525
labelY1=labelY1,
2626
fill=0,
27-
decimals=2,
27+
decimals=3,
2828
decimalsY1=0,
2929
sort='decreasing',
3030
legend_alignAsTable=true,
@@ -124,7 +124,7 @@ local prometheus = grafana.prometheus;
124124
min=0,
125125
labelY1='requests per second',
126126
fill=0,
127-
decimals=2,
127+
decimals=3,
128128
decimalsY1=0,
129129
sort='decreasing',
130130
legend_alignAsTable=true,
@@ -167,10 +167,9 @@ local prometheus = grafana.prometheus;
167167

168168
format='none',
169169
min=0,
170+
decimals=0,
170171
labelY1='pending',
171172
fill=0,
172-
decimals=2,
173-
decimalsY1=0,
174173
sort='decreasing',
175174
legend_alignAsTable=true,
176175
legend_avg=true,

tarantool/operations.libsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ local prometheus = grafana.prometheus;
2424
min=0,
2525
labelY1=labelY1,
2626
fill=0,
27-
decimals=2,
27+
decimals=3,
2828
decimalsY1=0,
2929
sort='decreasing',
3030
legend_alignAsTable=true,

tarantool/slab.libsonnet

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ local prometheus = grafana.prometheus;
3737
max=max,
3838
labelY1=labelY1,
3939
fill=0,
40-
decimals=2,
40+
decimals=3,
41+
decimalsY1=0,
4142
sort='decreasing',
4243
legend_alignAsTable=true,
4344
legend_current=true,

0 commit comments

Comments
 (0)