Skip to content

Commit ff7c417

Browse files
Add average and max values for Lua memory panel
1 parent 0b58828 commit ff7c417

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

tarantool/memory_misc.libsonnet

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ local prometheus = grafana.prometheus;
2424
decimals=2,
2525
sort='decreasing',
2626
legend_alignAsTable=true,
27+
legend_avg=true,
2728
legend_current=true,
29+
legend_max=true,
2830
legend_values=true,
2931
legend_sort='current',
3032
legend_sortDesc=true,

tests/InfluxDB/dashboard_compiled.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3699,9 +3699,9 @@
36993699
"id": 34,
37003700
"legend": {
37013701
"alignAsTable": true,
3702-
"avg": false,
3702+
"avg": true,
37033703
"current": true,
3704-
"max": false,
3704+
"max": true,
37053705
"min": false,
37063706
"rightSide": false,
37073707
"show": true,

tests/Prometheus/dashboard_compiled.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2835,9 +2835,9 @@
28352835
"id": 40,
28362836
"legend": {
28372837
"alignAsTable": true,
2838-
"avg": false,
2838+
"avg": true,
28392839
"current": true,
2840-
"max": false,
2840+
"max": true,
28412841
"min": false,
28422842
"rightSide": false,
28432843
"show": true,

0 commit comments

Comments
 (0)