Skip to content
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.

Commit

Permalink
Updated individual graphs to use mean instead of sum
Browse files Browse the repository at this point in the history
  • Loading branch information
DustinBragg authored and lmprice committed Mar 23, 2020
1 parent 708411b commit ee17ee5
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 69 deletions.
68 changes: 34 additions & 34 deletions plugins/eseries_monitoring/dashboards/Disk View Dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@
"groupBy": [
{
"params": [
"5s"
"$__interval"
],
"type": "time"
},
Expand Down Expand Up @@ -368,7 +368,7 @@
"measurement": "disks",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT sum(\"combinedThroughput\") FROM \"disks\" WHERE (\"sys_name\" =~ /^$System$/ AND \"sys_tray\" =~ /^$Tray$/ AND \"sys_tray_slot\" =~ /^$Slot$/) AND $timeFilter GROUP BY time(5s) fill(none)",
"query": "SELECT mean(\"combinedThroughput\") FROM \"disks\" WHERE (\"sys_name\" =~ /^$System$/ AND \"sys_tray\" =~ /^$Tray$/ AND \"sys_tray_slot\" =~ /^$Slot$/) AND $timeFilter GROUP BY time($__interval) fill(none)",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
Expand All @@ -382,7 +382,7 @@
},
{
"params": [],
"type": "sum"
"type": "mean"
}
]
],
Expand Down Expand Up @@ -411,7 +411,7 @@
"groupBy": [
{
"params": [
"5s"
"$__interval"
],
"type": "time"
},
Expand All @@ -431,7 +431,7 @@
"measurement": "disks",
"orderByTime": "ASC",
"policy": "downsample_retention",
"query": "SELECT sum(\"ds_combinedThroughput\") FROM \"downsample_retention\".\"disks\" WHERE (\"sys_name\" =~ /^$System$/ AND \"sys_tray\" =~ /^$Tray$/ AND \"sys_tray_slot\" =~ /^$Slot$/) AND $timeFilter AND time < now() - 1w GROUP BY time(5s), \"sys_name\", \"sys_tray\", \"sys_tray_slot\" fill(none)",
"query": "SELECT mean(\"ds_combinedThroughput\") FROM \"downsample_retention\".\"disks\" WHERE (\"sys_name\" =~ /^$System$/ AND \"sys_tray\" =~ /^$Tray$/ AND \"sys_tray_slot\" =~ /^$Slot$/) AND $timeFilter AND time < now() - 1w GROUP BY time($__interval), \"sys_name\", \"sys_tray\", \"sys_tray_slot\" fill(none)",
"rawQuery": true,
"refId": "B",
"resultFormat": "time_series",
Expand All @@ -445,7 +445,7 @@
},
{
"params": [],
"type": "sum"
"type": "mean"
}
]
],
Expand Down Expand Up @@ -562,7 +562,7 @@
"groupBy": [
{
"params": [
"5s"
"$__interval"
],
"type": "time"
},
Expand Down Expand Up @@ -594,7 +594,7 @@
"measurement": "disks",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT sum(\"combinedIOps\") FROM \"disks\" WHERE (\"sys_name\" =~ /^$System$/ AND \"sys_tray\" =~ /^$Tray$/ AND \"sys_tray_slot\" =~ /^$Slot$/) AND $timeFilter GROUP BY time(5s) fill(none)",
"query": "SELECT mean(\"combinedIOps\") FROM \"disks\" WHERE (\"sys_name\" =~ /^$System$/ AND \"sys_tray\" =~ /^$Tray$/ AND \"sys_tray_slot\" =~ /^$Slot$/) AND $timeFilter GROUP BY time($__interval) fill(none)",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
Expand All @@ -608,7 +608,7 @@
},
{
"params": [],
"type": "sum"
"type": "mean"
}
]
],
Expand Down Expand Up @@ -637,7 +637,7 @@
"groupBy": [
{
"params": [
"5s"
"$__interval"
],
"type": "time"
},
Expand All @@ -657,7 +657,7 @@
"measurement": "disks",
"orderByTime": "ASC",
"policy": "downsample_retention",
"query": "SELECT sum(\"ds_combinedIOps\") FROM \"downsample_retention\".\"disks\" WHERE (\"sys_name\" =~ /^$System$/ AND \"sys_tray\" =~ /^$Tray$/ AND \"sys_tray_slot\" =~ /^$Slot$/) AND $timeFilter AND time < now() - 1w GROUP BY time(5s), \"sys_name\", \"sys_tray\", \"sys_tray_slot\" fill(none)",
"query": "SELECT mean(\"ds_combinedIOps\") FROM \"downsample_retention\".\"disks\" WHERE (\"sys_name\" =~ /^$System$/ AND \"sys_tray\" =~ /^$Tray$/ AND \"sys_tray_slot\" =~ /^$Slot$/) AND $timeFilter AND time < now() - 1w GROUP BY time($__interval), \"sys_name\", \"sys_tray\", \"sys_tray_slot\" fill(none)",
"rawQuery": true,
"refId": "B",
"resultFormat": "time_series",
Expand All @@ -671,7 +671,7 @@
},
{
"params": [],
"type": "sum"
"type": "mean"
}
]
],
Expand Down Expand Up @@ -1014,7 +1014,7 @@
"groupBy": [
{
"params": [
"5s"
"$__interval"
],
"type": "time"
},
Expand Down Expand Up @@ -1046,7 +1046,7 @@
"measurement": "disks",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT sum(\"readThroughput\") FROM \"disks\" WHERE (\"sys_name\" =~ /^$System$/ AND \"sys_tray\" =~ /^$Tray$/ AND \"sys_tray_slot\" =~ /^$Slot$/) AND $timeFilter GROUP BY time(5s) fill(none)",
"query": "SELECT mean(\"readThroughput\") FROM \"disks\" WHERE (\"sys_name\" =~ /^$System$/ AND \"sys_tray\" =~ /^$Tray$/ AND \"sys_tray_slot\" =~ /^$Slot$/) AND $timeFilter GROUP BY time($__interval) fill(none)",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
Expand All @@ -1060,7 +1060,7 @@
},
{
"params": [],
"type": "sum"
"type": "mean"
}
]
],
Expand Down Expand Up @@ -1089,7 +1089,7 @@
"groupBy": [
{
"params": [
"5s"
"$__interval"
],
"type": "time"
},
Expand All @@ -1109,7 +1109,7 @@
"measurement": "disks",
"orderByTime": "ASC",
"policy": "downsample_retention",
"query": "SELECT sum(\"ds_readThroughput\") FROM \"downsample_retention\".\"disks\" WHERE (\"sys_name\" =~ /^$System$/ AND \"sys_tray\" =~ /^$Tray$/ AND \"sys_tray_slot\" =~ /^$Slot$/) AND $timeFilter AND time < now() - 1w GROUP BY time(5s), \"sys_name\", \"sys_tray\", \"sys_tray_slot\" fill(none)",
"query": "SELECT mean(\"ds_readThroughput\") FROM \"downsample_retention\".\"disks\" WHERE (\"sys_name\" =~ /^$System$/ AND \"sys_tray\" =~ /^$Tray$/ AND \"sys_tray_slot\" =~ /^$Slot$/) AND $timeFilter AND time < now() - 1w GROUP BY time($__interval), \"sys_name\", \"sys_tray\", \"sys_tray_slot\" fill(none)",
"rawQuery": true,
"refId": "B",
"resultFormat": "time_series",
Expand All @@ -1123,7 +1123,7 @@
},
{
"params": [],
"type": "sum"
"type": "mean"
}
]
],
Expand Down Expand Up @@ -1240,7 +1240,7 @@
"groupBy": [
{
"params": [
"5s"
"$__interval"
],
"type": "time"
},
Expand Down Expand Up @@ -1272,7 +1272,7 @@
"measurement": "disks",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT sum(\"readIOps\") FROM \"disks\" WHERE (\"sys_name\" =~ /^$System$/ AND \"sys_tray\" =~ /^$Tray$/ AND \"sys_tray_slot\" =~ /^$Slot$/) AND $timeFilter GROUP BY time(5s) fill(none)",
"query": "SELECT mean(\"readIOps\") FROM \"disks\" WHERE (\"sys_name\" =~ /^$System$/ AND \"sys_tray\" =~ /^$Tray$/ AND \"sys_tray_slot\" =~ /^$Slot$/) AND $timeFilter GROUP BY time($__interval) fill(none)",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
Expand All @@ -1286,7 +1286,7 @@
},
{
"params": [],
"type": "sum"
"type": "mean"
}
]
],
Expand Down Expand Up @@ -1315,7 +1315,7 @@
"groupBy": [
{
"params": [
"5s"
"$__interval"
],
"type": "time"
},
Expand All @@ -1335,7 +1335,7 @@
"measurement": "disks",
"orderByTime": "ASC",
"policy": "downsample_retention",
"query": "SELECT sum(\"ds_readIOps\") FROM \"downsample_retention\".\"disks\" WHERE (\"sys_name\" =~ /^$System$/ AND \"sys_tray\" =~ /^$Tray$/ AND \"sys_tray_slot\" =~ /^$Slot$/) AND $timeFilter AND time < now() - 1w GROUP BY time(5s), \"sys_name\", \"sys_tray\", \"sys_tray_slot\" fill(none)",
"query": "SELECT mean(\"ds_readIOps\") FROM \"downsample_retention\".\"disks\" WHERE (\"sys_name\" =~ /^$System$/ AND \"sys_tray\" =~ /^$Tray$/ AND \"sys_tray_slot\" =~ /^$Slot$/) AND $timeFilter AND time < now() - 1w GROUP BY time($__interval), \"sys_name\", \"sys_tray\", \"sys_tray_slot\" fill(none)",
"rawQuery": true,
"refId": "B",
"resultFormat": "time_series",
Expand All @@ -1349,7 +1349,7 @@
},
{
"params": [],
"type": "sum"
"type": "mean"
}
]
],
Expand Down Expand Up @@ -1692,7 +1692,7 @@
"groupBy": [
{
"params": [
"5s"
"$__interval"
],
"type": "time"
},
Expand Down Expand Up @@ -1736,7 +1736,7 @@
},
{
"params": [],
"type": "sum"
"type": "mean"
}
]
],
Expand Down Expand Up @@ -1765,7 +1765,7 @@
"groupBy": [
{
"params": [
"5s"
"$__interval"
],
"type": "time"
},
Expand All @@ -1785,7 +1785,7 @@
"measurement": "disks",
"orderByTime": "ASC",
"policy": "downsample_retention",
"query": "SELECT sum(\"writeThroughput\") FROM \"downsample_retention\".\"disks\" WHERE (\"sys_name\" =~ /^$System$/ AND \"sys_tray\" =~ /^$Tray$/ AND \"sys_tray_slot\" =~ /^$Slot$/) AND $timeFilter AND time < now() - 1w GROUP BY time(5s), \"sys_name\", \"sys_tray\", \"sys_tray_slot\" fill(none)",
"query": "SELECT mean(\"writeThroughput\") FROM \"downsample_retention\".\"disks\" WHERE (\"sys_name\" =~ /^$System$/ AND \"sys_tray\" =~ /^$Tray$/ AND \"sys_tray_slot\" =~ /^$Slot$/) AND $timeFilter AND time < now() - 1w GROUP BY time($__interval), \"sys_name\", \"sys_tray\", \"sys_tray_slot\" fill(none)",
"rawQuery": true,
"refId": "B",
"resultFormat": "time_series",
Expand All @@ -1799,7 +1799,7 @@
},
{
"params": [],
"type": "sum"
"type": "mean"
}
]
],
Expand Down Expand Up @@ -1916,7 +1916,7 @@
"groupBy": [
{
"params": [
"5s"
"$__interval"
],
"type": "time"
},
Expand Down Expand Up @@ -1960,7 +1960,7 @@
},
{
"params": [],
"type": "sum"
"type": "mean"
}
]
],
Expand Down Expand Up @@ -1989,7 +1989,7 @@
"groupBy": [
{
"params": [
"5s"
"$__interval"
],
"type": "time"
},
Expand All @@ -2009,7 +2009,7 @@
"measurement": "disks",
"orderByTime": "ASC",
"policy": "downsample_retention",
"query": "SELECT sum(\"ds_writeIOps\") FROM \"downsample_retention\".\"disks\" WHERE (\"sys_name\" =~ /^$System$/ AND \"sys_tray\" =~ /^$Tray$/ AND \"sys_tray_slot\" =~ /^$Slot$/) AND $timeFilter AND time < now() - 1w GROUP BY time(5s), \"sys_name\", \"sys_tray\", \"sys_tray_slot\" fill(none)",
"query": "SELECT mean(\"ds_writeIOps\") FROM \"downsample_retention\".\"disks\" WHERE (\"sys_name\" =~ /^$System$/ AND \"sys_tray\" =~ /^$Tray$/ AND \"sys_tray_slot\" =~ /^$Slot$/) AND $timeFilter AND time < now() - 1w GROUP BY time($__interval), \"sys_name\", \"sys_tray\", \"sys_tray_slot\" fill(none)",
"rawQuery": true,
"refId": "B",
"resultFormat": "time_series",
Expand All @@ -2023,7 +2023,7 @@
},
{
"params": [],
"type": "sum"
"type": "mean"
}
]
],
Expand Down
Loading

0 comments on commit ee17ee5

Please sign in to comment.