Skip to content

Commit

Permalink
Merge pull request #2120 from amnonh/safer_scheduling_groups
Browse files Browse the repository at this point in the history
scylla-overview: Do not rely on recording rules for picking the scheduling group
  • Loading branch information
amnonh authored Nov 21, 2023
2 parents ce00742 + f1d8d6f commit be3a547
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 33 deletions.
4 changes: 2 additions & 2 deletions grafana/scylla-detailed.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -2002,7 +2002,7 @@
]
},
"name": "scheduling_group",
"query": "label_values(all_scheduling_group{cluster=~\"$cluster|$^\"}, scheduling_group_name)",
"query": "label_values(scylla_scheduler_runtime_ms{cluster=~\"$cluster|$^\"}, group)",
"sort": 3
},
{
Expand All @@ -2020,7 +2020,7 @@
]
},
"name": "scheduling_group",
"query": "label_values(all_scheduling_group{cluster=~\"$cluster|$^\"}, scheduling_group_name)",
"query": "label_values(scylla_scheduler_runtime_ms{cluster=~\"$cluster|$^\"}, group)",
"sort": 3
},
{
Expand Down
33 changes: 2 additions & 31 deletions grafana/scylla-overview.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -599,41 +599,12 @@
"sort": 0
},
{
"class": "template_variable_single",
"current": {
"selected": true,
"text": [
"statement"
],
"value": [
"statement"
]
},
"label": "SG",
"name": "sg",
"includeAll":true,
"multi":true,
"dashversion":[">4.3"],
"query": "label_values(rlatencyp99{cluster=~\"$cluster\", scheduling_group_name!~\"atexit|gossip|mem_compaction|memtable|streaming|background_reclaim|compaction|main|memtable_to_cache\"},scheduling_group_name)",
"sort": 3
},
{
"class": "template_variable_single",
"dashversion":[">2019.1"],
"current": {
"selected": true,
"text": [
"sl:default"
],
"value": [
"sl:default"
]
},
"class": "template_variable_all",
"label": "SG",
"name": "sg",
"includeAll":true,
"multi":true,
"query": "label_values(rlatencyp99{cluster=~\"$cluster\", scheduling_group_name!~\"atexit|gossip|mem_compaction|memtable|streaming|background_reclaim|compaction|main|memtable_to_cache\"},scheduling_group_name)",
"query": "label_values(scylla_scheduler_runtime_ms{cluster=~\"$cluster\", group!~\"atexit|gossip|mem_compaction|memtable|streaming|background_reclaim|compaction|main|memtable_to_cache\"},group)",
"sort": 3
},
{
Expand Down

0 comments on commit be3a547

Please sign in to comment.