Skip to content

Commit

Permalink
fix compaction scheduler graphs and generated dashboards
Browse files Browse the repository at this point in the history
(cherry picked from commit ff8661a)
  • Loading branch information
amnonh committed May 19, 2019
1 parent 0fd71da commit dcbfd65
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 30 deletions.
20 changes: 10 additions & 10 deletions grafana/build/ver_2019.1/scylla-dash-per-server.2019.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -4175,7 +4175,7 @@
},
"gridPos": {
"h": 6,
"w": 6,
"w": 8,
"x": 0,
"y": 98
},
Expand All @@ -4199,7 +4199,7 @@
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 3,
"span": 4,
"stack": false,
"steppedLine": false,
"targets": [
Expand Down Expand Up @@ -4259,8 +4259,8 @@
},
"gridPos": {
"h": 6,
"w": 6,
"x": 6,
"w": 8,
"x": 8,
"y": 98
},
"id": 61,
Expand All @@ -4285,12 +4285,12 @@
"seriesOverrides": [
{}
],
"span": 3,
"span": 4,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "(sum(rate(scylla_scheduler_runtime_ms{instance=~\"[[node]]\",cluster=~\"$cluster|$^\", dc=~\"$dc\", shard=~\"[[shard]]\", group=\"compaction\"}[30s])) by ([[by]]))/1000",
"expr": "(sum(rate(scylla_scheduler_runtime_ms{instance=~\"[[node]]\",cluster=~\"$cluster|$^\", dc=~\"$dc\", shard=~\"[[shard]]\", group=\"compaction\"}[30s])) by ([[by]]))/10",
"intervalFactor": 1,
"legendFormat": "",
"metric": "",
Expand Down Expand Up @@ -4346,8 +4346,8 @@
},
"gridPos": {
"h": 6,
"w": 6,
"x": 12,
"w": 8,
"x": 16,
"y": 98
},
"id": 62,
Expand All @@ -4370,12 +4370,12 @@
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 3,
"span": 4,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum(scylla_scheduler_shares{group=\"compaction\", instance=~\"[[node]]\",cluster=~\"$cluster|$^\", dc=~\"$dc\", shard=~\"[[shard]]\"})",
"expr": "sum(scylla_scheduler_shares{group=\"compaction\", instance=~\"[[node]]\",cluster=~\"$cluster|$^\", dc=~\"$dc\", shard=~\"[[shard]]\"}) by ([[by]])",
"format": "time_series",
"intervalFactor": 1,
"refId": "A"
Expand Down
20 changes: 10 additions & 10 deletions grafana/build/ver_3.0/scylla-dash-per-server.3.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -3915,7 +3915,7 @@
},
"gridPos": {
"h": 6,
"w": 6,
"w": 8,
"x": 0,
"y": 98
},
Expand All @@ -3939,7 +3939,7 @@
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 3,
"span": 4,
"stack": false,
"steppedLine": false,
"targets": [
Expand Down Expand Up @@ -3999,8 +3999,8 @@
},
"gridPos": {
"h": 6,
"w": 6,
"x": 6,
"w": 8,
"x": 8,
"y": 98
},
"id": 58,
Expand All @@ -4025,12 +4025,12 @@
"seriesOverrides": [
{}
],
"span": 3,
"span": 4,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "(sum(rate(scylla_scheduler_runtime_ms{instance=~\"[[node]]\",cluster=~\"$cluster|$^\", dc=~\"$dc\", shard=~\"[[shard]]\", group=\"compaction\"}[30s])) by ([[by]]))/1000",
"expr": "(sum(rate(scylla_scheduler_runtime_ms{instance=~\"[[node]]\",cluster=~\"$cluster|$^\", dc=~\"$dc\", shard=~\"[[shard]]\", group=\"compaction\"}[30s])) by ([[by]]))/10",
"intervalFactor": 1,
"legendFormat": "",
"metric": "",
Expand Down Expand Up @@ -4086,8 +4086,8 @@
},
"gridPos": {
"h": 6,
"w": 6,
"x": 12,
"w": 8,
"x": 16,
"y": 98
},
"id": 59,
Expand All @@ -4110,12 +4110,12 @@
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 3,
"span": 4,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum(scylla_scheduler_shares{group=\"compaction\", instance=~\"[[node]]\",cluster=~\"$cluster|$^\", dc=~\"$dc\", shard=~\"[[shard]]\"})",
"expr": "sum(scylla_scheduler_shares{group=\"compaction\", instance=~\"[[node]]\",cluster=~\"$cluster|$^\", dc=~\"$dc\", shard=~\"[[shard]]\"}) by ([[by]])",
"format": "time_series",
"intervalFactor": 1,
"refId": "A"
Expand Down
20 changes: 10 additions & 10 deletions grafana/build/ver_master/scylla-dash-per-server.master.json
Original file line number Diff line number Diff line change
Expand Up @@ -4089,7 +4089,7 @@
},
"gridPos": {
"h": 6,
"w": 6,
"w": 8,
"x": 0,
"y": 98
},
Expand All @@ -4113,7 +4113,7 @@
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 3,
"span": 4,
"stack": false,
"steppedLine": false,
"targets": [
Expand Down Expand Up @@ -4173,8 +4173,8 @@
},
"gridPos": {
"h": 6,
"w": 6,
"x": 6,
"w": 8,
"x": 8,
"y": 98
},
"id": 60,
Expand All @@ -4199,12 +4199,12 @@
"seriesOverrides": [
{}
],
"span": 3,
"span": 4,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "(sum(rate(scylla_scheduler_runtime_ms{instance=~\"[[node]]\",cluster=~\"$cluster|$^\", dc=~\"$dc\", shard=~\"[[shard]]\", group=\"compaction\"}[30s])) by ([[by]]))/1000",
"expr": "(sum(rate(scylla_scheduler_runtime_ms{instance=~\"[[node]]\",cluster=~\"$cluster|$^\", dc=~\"$dc\", shard=~\"[[shard]]\", group=\"compaction\"}[30s])) by ([[by]]))/10",
"intervalFactor": 1,
"legendFormat": "",
"metric": "",
Expand Down Expand Up @@ -4260,8 +4260,8 @@
},
"gridPos": {
"h": 6,
"w": 6,
"x": 12,
"w": 8,
"x": 16,
"y": 98
},
"id": 61,
Expand All @@ -4284,12 +4284,12 @@
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"span": 3,
"span": 4,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum(scylla_scheduler_shares{group=\"compaction\", instance=~\"[[node]]\",cluster=~\"$cluster|$^\", dc=~\"$dc\", shard=~\"[[shard]]\"})",
"expr": "sum(scylla_scheduler_shares{group=\"compaction\", instance=~\"[[node]]\",cluster=~\"$cluster|$^\", dc=~\"$dc\", shard=~\"[[shard]]\"}) by ([[by]])",
"format": "time_series",
"intervalFactor": 1,
"refId": "A"
Expand Down

0 comments on commit dcbfd65

Please sign in to comment.