Skip to content

Commit

Permalink
Use 'mean' computatino for dl/ul chunk size panels
Browse files Browse the repository at this point in the history
Issue: CLDSRV-166
  • Loading branch information
francoisferrand committed Apr 6, 2022
1 parent c8e0500 commit 6e39dfc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions monitoring/dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -1902,7 +1902,7 @@
"displayMode": "gradient",
"fieldOptions": {
"calcs": [
"last"
"mean"
],
"defaults": {
"decimals": null,
Expand Down Expand Up @@ -1971,7 +1971,7 @@
"displayMode": "gradient",
"fieldOptions": {
"calcs": [
"last"
"mean"
],
"defaults": {
"decimals": null,
Expand Down Expand Up @@ -2350,5 +2350,5 @@
"timezone": "",
"title": "CloudServer",
"uid": null,
"version": 21
"version": 22
}
4 changes: 2 additions & 2 deletions monitoring/dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ def axisPlacement_override(name, mode):
uploadChunkSize = BarGauge(
title="Upload chunk size",
dataSource="${DS_PROMETHEUS}",
calc="last",
calc="mean",
displayMode="gradient",
format="bytes",
max=None,
Expand All @@ -430,7 +430,7 @@ def axisPlacement_override(name, mode):
downloadChunkSize = BarGauge(
title="Download chunk size",
dataSource="${DS_PROMETHEUS}",
calc="last",
calc="mean",
displayMode="gradient",
format="bytes",
max=None,
Expand Down

0 comments on commit 6e39dfc

Please sign in to comment.