Skip to content

Commit

Permalink
Merge pull request #1009 from amnonh/scylla_4_2
Browse files Browse the repository at this point in the history
Adding dashboards for Scylla OS 4.2
  • Loading branch information
amnonh authored Jul 28, 2020
2 parents 6b2db9e + ad4ed8f commit 6dbe035
Show file tree
Hide file tree
Showing 16 changed files with 29,015 additions and 0 deletions.
1,127 changes: 1,127 additions & 0 deletions grafana/alternator.4.2.template.json

Large diffs are not rendered by default.

4,936 changes: 4,936 additions & 0 deletions grafana/build/ver_4.2/alternator.4.2.json

Large diffs are not rendered by default.

758 changes: 758 additions & 0 deletions grafana/build/ver_4.2/scylla-cpu.4.2.json

Large diffs are not rendered by default.

3,841 changes: 3,841 additions & 0 deletions grafana/build/ver_4.2/scylla-cql.4.2.json

Large diffs are not rendered by default.

8,086 changes: 8,086 additions & 0 deletions grafana/build/ver_4.2/scylla-detailed.4.2.json

Large diffs are not rendered by default.

1,157 changes: 1,157 additions & 0 deletions grafana/build/ver_4.2/scylla-errors.4.2.json

Large diffs are not rendered by default.

708 changes: 708 additions & 0 deletions grafana/build/ver_4.2/scylla-io.4.2.json

Large diffs are not rendered by default.

1,450 changes: 1,450 additions & 0 deletions grafana/build/ver_4.2/scylla-os.4.2.json

Large diffs are not rendered by default.

2,958 changes: 2,958 additions & 0 deletions grafana/build/ver_4.2/scylla-overview.4.2.json

Large diffs are not rendered by default.

201 changes: 201 additions & 0 deletions grafana/scylla-cpu.4.2.template.json
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
}
}
Loading

0 comments on commit 6dbe035

Please sign in to comment.