Skip to content

Commit 2444fb5

Browse files
committed
scylla-advanced: Add per-scheduling starvation time
(cherry picked from commit f06eb7c)
1 parent 0ec3502 commit 2444fb5

File tree

1 file changed

+23
-3
lines changed

1 file changed

+23
-3
lines changed

grafana/scylla-advanced.template.json

+23-3
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@
201201
"panels": [
202202
{
203203
"class": "percentunit_panel",
204-
"span":4,
204+
"span":3,
205205
"pointradius": 1,
206206
"targets": [
207207
{
@@ -221,7 +221,7 @@
221221
},
222222
{
223223
"class": "percentunit_panel",
224-
"span":4,
224+
"span":3,
225225
"pointradius": 1,
226226
"targets": [
227227
{
@@ -239,9 +239,29 @@
239239
"title": "Time spent in task quota violations by [[by]] - $group",
240240
"description": "Scylla employs an event-loop like reactor that alternates between the execution of different groups of tasks periodically. The maximum amount of time during which a task group can run is called the \"task quota\". Some task groups may disrespect that and run for longer. This may cause latency issues"
241241
},
242+
{
243+
"class": "percentunit_panel",
244+
"span":3,
245+
"pointradius": 1,
246+
"targets": [
247+
{
248+
"expr": "$func(rate(scylla_scheduler_starvetime_ms{instance=~\"[[node]]\" ,cluster=~\"$cluster|$^\", dc=~\"$dc\",group=~\"$group\", shard=~\"[[shard]]\"}[1m])/1000) by ([[by]])",
249+
"intervalFactor": 1,
250+
"legendFormat": "",
251+
"metric": "",
252+
"refId": "A",
253+
"step": 30
254+
}
255+
],
256+
"options": {
257+
"class":"desc_tooltip_options"
258+
},
259+
"title": "Starvation time by [[by]] - $group",
260+
"description": "Scylla employs an event-loop like reactor that alternates between the execution of different groups of tasks periodically. The maximum amount of time during which a task group can run is called the \"task quota\". Some task groups may disrespect that and run for longer.\n\n This graph shows the amount of time the group was waiting to get CPU time."
261+
},
242262
{
243263
"class": "graph_panel",
244-
"span":4,
264+
"span":3,
245265
"pointradius": 1,
246266
"targets": [
247267
{

0 commit comments

Comments
 (0)