-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1009 from amnonh/scylla_4_2
Adding dashboards for Scylla OS 4.2
- Loading branch information
Showing
16 changed files
with
29,015 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,201 @@ | ||
{ | ||
"dashboard": { | ||
"class": "dashboard", | ||
"uid": "cpu-4-2", | ||
"rows": [ | ||
{ | ||
"class": "logo_row" | ||
}, | ||
{ | ||
"class": "row", | ||
"height": "25px", | ||
"gridPos": {"h": 2}, | ||
"panels": [ | ||
{ | ||
"class": "plain_text", | ||
"content": "<h1 style=\"color:#5881c2; border-bottom: 3px solid #5881c2;\">Information by Task Group</h1>" | ||
} | ||
], | ||
"title": "New row" | ||
}, | ||
{ | ||
"class": "row", | ||
"panels": [ | ||
{ | ||
"collapsed": false, | ||
"datasource": null, | ||
"id": "auto", | ||
"gridPos": { | ||
"h": 1, | ||
"w": 24 | ||
}, | ||
"panels": [], | ||
"repeat": "group", | ||
"title": "$group", | ||
"type": "row" | ||
} | ||
] | ||
}, | ||
{ | ||
"class": "row", | ||
"panels": [ | ||
{ | ||
"class": "ms_panel", | ||
"span":4, | ||
"pointradius": 1, | ||
"targets": [ | ||
{ | ||
"expr": "$func(rate(scylla_scheduler_runtime_ms{instance=~\"[[node]]\" ,cluster=~\"$cluster|$^\", dc=~\"$dc\",group=~\"$group\", shard=~\"[[shard]]\"}[60s])) by ([[by]])", | ||
"intervalFactor": 1, | ||
"legendFormat": "", | ||
"metric": "", | ||
"refId": "A", | ||
"step": 30 | ||
} | ||
], | ||
"title": "Time used by [[by]] - $group", | ||
"description": "Scylla employs an event-loop like reactor that alternates between the execution of different groups of tasks periodically. This graph shows how much time was spent in $group group" | ||
}, | ||
{ | ||
"class": "ms_panel", | ||
"span":4, | ||
"pointradius": 1, | ||
"targets": [ | ||
{ | ||
"expr": "$func(rate(scylla_scheduler_time_spent_on_task_quota_violations_ms{instance=~\"[[node]]\" ,cluster=~\"$cluster|$^\", dc=~\"$dc\",group=~\"$group\", shard=~\"[[shard]]\"}[60s])) by ([[by]])", | ||
"intervalFactor": 1, | ||
"legendFormat": "", | ||
"metric": "", | ||
"refId": "A", | ||
"step": 30 | ||
} | ||
], | ||
"title": "Time spent in task quota violations by [[by]] - $group", | ||
"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" | ||
}, | ||
{ | ||
"class": "graph_panel", | ||
"span":4, | ||
"pointradius": 1, | ||
"targets": [ | ||
{ | ||
"expr": "$func(scylla_scheduler_shares{instance=~\"[[node]]\" ,cluster=~\"$cluster|$^\", dc=~\"$dc\",group=~\"$group\", shard=~\"[[shard]]\"}) by ([[by]])", | ||
"intervalFactor": 1, | ||
"legendFormat": "", | ||
"metric": "", | ||
"refId": "A", | ||
"step": 30 | ||
} | ||
], | ||
"title": "Scheduler shares [[by]] - $group", | ||
"description": "Shares assigned to the $group. Shares determine how Scylla reactor distributes the task quotas between groups (Higher share gets more quotas)" | ||
} | ||
], | ||
"title": "New row" | ||
} | ||
], | ||
"templating": { | ||
"list": [ | ||
{ | ||
"class":"by_template_var" | ||
}, | ||
{ | ||
"class": "template_variable_single", | ||
"label": "cluster", | ||
"name": "cluster", | ||
"query": "label_values(scylla_reactor_utilization, cluster)" | ||
}, | ||
{ | ||
"class": "template_variable_all", | ||
"label": "dc", | ||
"name": "dc", | ||
"query": "label_values(scylla_reactor_utilization{cluster=~\"$cluster\"}, dc)" | ||
}, | ||
{ | ||
"class": "template_variable_all", | ||
"label": "node", | ||
"name": "node", | ||
"query": "label_values(scylla_reactor_utilization{cluster=~\"$cluster|$^\", dc=~\"$dc\"}, instance)" | ||
}, | ||
{ | ||
"class": "template_variable_all", | ||
"label": "shard", | ||
"name": "shard", | ||
"query": "label_values(scylla_reactor_utilization,shard)", | ||
"sort": 3 | ||
} | ||
, | ||
{ | ||
"class": "template_variable_all", | ||
"label": "group", | ||
"name": "group", | ||
"hide": 2, | ||
"query": "label_values(scylla_scheduler_time_spent_on_task_quota_violations_ms,group)", | ||
"sort": 3 | ||
}, | ||
{ | ||
"class": "adhoc_filter" | ||
}, | ||
{ | ||
"class": "aggregation_function", | ||
"current": { | ||
"tags": [], | ||
"text": "avg", | ||
"value": "avg" | ||
} | ||
}, | ||
{ | ||
"class": "template_variable_custom", | ||
"current": { | ||
"text": "4.2", | ||
"value": "4.2" | ||
}, | ||
"name": "scylla_dash_version", | ||
"options": [ | ||
{ | ||
"selected": true, | ||
"text": "4.2", | ||
"value": "4.2" | ||
} | ||
], | ||
"query": "4.2" | ||
}, | ||
{ | ||
"class": "monitor_version_var" | ||
} | ||
] | ||
}, | ||
"tags": [ | ||
"4.2" | ||
], | ||
"time": { | ||
"from": "now-30m", | ||
"to": "now" | ||
}, | ||
"annotations" :{ | ||
"list": [ | ||
{ | ||
"builtIn": 1, | ||
"datasource": "-- Grafana --", | ||
"enable": true, | ||
"hide": true, | ||
"iconColor": "rgba(0, 211, 255, 1)", | ||
"name": "Annotations & Alerts", | ||
"type": "dashboard" | ||
}, | ||
{ | ||
"class" : "annotation_restart" | ||
}, | ||
{ | ||
"class" : "annotation_stall" | ||
}, | ||
{ | ||
"class" : "annotation_schema_changed" | ||
} | ||
] | ||
}, | ||
"title": "CPU Metrics", | ||
"overwrite": true, | ||
"version": 5 | ||
} | ||
} |
Oops, something went wrong.