Skip to content

Commit 23ebca7

Browse files
committed
"Add the generated dashboard"
1 parent 2444fb5 commit 23ebca7

File tree

8 files changed

+968
-288
lines changed

8 files changed

+968
-288
lines changed

grafana/build/ver_2020.1/scylla-advanced.2020.1.json

+121-36
Original file line numberDiff line numberDiff line change
@@ -1610,7 +1610,7 @@
16101610
},
16111611
"gridPos": {
16121612
"h": 6,
1613-
"w": 8,
1613+
"w": 6,
16141614
"x": 0,
16151615
"y": 25
16161616
},
@@ -1631,7 +1631,7 @@
16311631
}
16321632
},
16331633
"pointradius": 1,
1634-
"span": 4,
1634+
"span": 3,
16351635
"targets": [
16361636
{
16371637
"expr": "$func(rate(scylla_scheduler_runtime_ms{instance=~\"[[node]]\" ,cluster=~\"$cluster|$^\", dc=~\"$dc\",group=~\"$group\", shard=~\"[[shard]]\"}[1m])/1000) by ([[by]])",
@@ -1695,8 +1695,8 @@
16951695
},
16961696
"gridPos": {
16971697
"h": 6,
1698-
"w": 8,
1699-
"x": 8,
1698+
"w": 6,
1699+
"x": 6,
17001700
"y": 25
17011701
},
17021702
"id": 30,
@@ -1716,7 +1716,7 @@
17161716
}
17171717
},
17181718
"pointradius": 1,
1719-
"span": 4,
1719+
"span": 3,
17201720
"targets": [
17211721
{
17221722
"expr": "$func(rate(scylla_scheduler_time_spent_on_task_quota_violations_ms{instance=~\"[[node]]\" ,cluster=~\"$cluster|$^\", dc=~\"$dc\",group=~\"$group\", shard=~\"[[shard]]\"}[1m])/1000) by ([[by]])",
@@ -1730,6 +1730,91 @@
17301730
"title": "Time spent in task quota violations by [[by]] - $group",
17311731
"type": "timeseries"
17321732
},
1733+
{
1734+
"class": "percentunit_panel",
1735+
"datasource": "prometheus",
1736+
"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.",
1737+
"editable": true,
1738+
"error": false,
1739+
"fieldConfig": {
1740+
"defaults": {
1741+
"class": "fieldConfig_defaults",
1742+
"color": {
1743+
"mode": "palette-classic"
1744+
},
1745+
"custom": {
1746+
"axisLabel": "",
1747+
"axisPlacement": "auto",
1748+
"axisSoftMax": 1,
1749+
"axisSoftMin": 0,
1750+
"barAlignment": 0,
1751+
"class": "fieldConfig_defaults_custom",
1752+
"drawStyle": "line",
1753+
"fillOpacity": 0,
1754+
"gradientMode": "none",
1755+
"hideFrom": {
1756+
"legend": false,
1757+
"tooltip": false,
1758+
"viz": false
1759+
},
1760+
"lineInterpolation": "linear",
1761+
"lineWidth": 1,
1762+
"pointSize": 5,
1763+
"scaleDistribution": {
1764+
"type": "linear"
1765+
},
1766+
"showPoints": "never",
1767+
"spanNulls": false,
1768+
"stacking": {
1769+
"group": "A",
1770+
"mode": "none"
1771+
},
1772+
"thresholdsStyle": {
1773+
"mode": "off"
1774+
}
1775+
},
1776+
"mappings": [],
1777+
"unit": "percentunit"
1778+
},
1779+
"overrides": []
1780+
},
1781+
"gridPos": {
1782+
"h": 6,
1783+
"w": 6,
1784+
"x": 12,
1785+
"y": 25
1786+
},
1787+
"id": 31,
1788+
"isNew": true,
1789+
"links": [],
1790+
"options": {
1791+
"class": "desc_tooltip_options",
1792+
"legend": {
1793+
"calcs": [],
1794+
"displayMode": "list",
1795+
"placement": "bottom",
1796+
"showLegend": false
1797+
},
1798+
"tooltip": {
1799+
"mode": "multi",
1800+
"sort": "desc"
1801+
}
1802+
},
1803+
"pointradius": 1,
1804+
"span": 3,
1805+
"targets": [
1806+
{
1807+
"expr": "$func(rate(scylla_scheduler_starvetime_ms{instance=~\"[[node]]\" ,cluster=~\"$cluster|$^\", dc=~\"$dc\",group=~\"$group\", shard=~\"[[shard]]\"}[1m])/1000) by ([[by]])",
1808+
"intervalFactor": 1,
1809+
"legendFormat": "",
1810+
"metric": "",
1811+
"refId": "A",
1812+
"step": 30
1813+
}
1814+
],
1815+
"title": "Starvation time by [[by]] - $group",
1816+
"type": "timeseries"
1817+
},
17331818
{
17341819
"class": "graph_panel",
17351820
"datasource": "prometheus",
@@ -1779,11 +1864,11 @@
17791864
},
17801865
"gridPos": {
17811866
"h": 6,
1782-
"w": 8,
1783-
"x": 16,
1867+
"w": 6,
1868+
"x": 18,
17841869
"y": 25
17851870
},
1786-
"id": 31,
1871+
"id": 32,
17871872
"isNew": true,
17881873
"links": [],
17891874
"options": {
@@ -1800,7 +1885,7 @@
18001885
}
18011886
},
18021887
"pointradius": 1,
1803-
"span": 4,
1888+
"span": 3,
18041889
"targets": [
18051890
{
18061891
"expr": "$func(scylla_scheduler_shares{instance=~\"[[node]]\" ,cluster=~\"$cluster|$^\", dc=~\"$dc\",group=~\"$group\", shard=~\"[[shard]]\"}) by ([[by]])",
@@ -1824,7 +1909,7 @@
18241909
"x": 0,
18251910
"y": 31
18261911
},
1827-
"id": 32,
1912+
"id": 33,
18281913
"panels": [],
18291914
"repeat": "",
18301915
"title": "Internal node errors",
@@ -1848,7 +1933,7 @@
18481933
"x": 0,
18491934
"y": 32
18501935
},
1851-
"id": 33,
1936+
"id": 34,
18521937
"isNew": true,
18531938
"links": [],
18541939
"mode": "html",
@@ -1912,7 +1997,7 @@
19121997
"x": 0,
19131998
"y": 34
19141999
},
1915-
"id": 34,
2000+
"id": 35,
19162001
"isNew": true,
19172002
"links": [],
19182003
"options": {
@@ -1995,7 +2080,7 @@
19952080
"x": 8,
19962081
"y": 34
19972082
},
1998-
"id": 35,
2083+
"id": 36,
19992084
"isNew": true,
20002085
"links": [],
20012086
"options": {
@@ -2043,7 +2128,7 @@
20432128
"x": 16,
20442129
"y": 34
20452130
},
2046-
"id": 36,
2131+
"id": 37,
20472132
"isNew": true,
20482133
"links": [],
20492134
"mode": "markdown",
@@ -2107,7 +2192,7 @@
21072192
"x": 0,
21082193
"y": 40
21092194
},
2110-
"id": 37,
2195+
"id": 38,
21112196
"isNew": true,
21122197
"links": [],
21132198
"options": {
@@ -2190,7 +2275,7 @@
21902275
"x": 8,
21912276
"y": 40
21922277
},
2193-
"id": 38,
2278+
"id": 39,
21942279
"isNew": true,
21952280
"links": [],
21962281
"options": {
@@ -2273,7 +2358,7 @@
22732358
"x": 16,
22742359
"y": 40
22752360
},
2276-
"id": 39,
2361+
"id": 40,
22772362
"isNew": true,
22782363
"links": [],
22792364
"options": {
@@ -2359,7 +2444,7 @@
23592444
"x": 0,
23602445
"y": 46
23612446
},
2362-
"id": 40,
2447+
"id": 41,
23632448
"isNew": true,
23642449
"links": [],
23652450
"options": {
@@ -2445,7 +2530,7 @@
24452530
"x": 8,
24462531
"y": 46
24472532
},
2448-
"id": 41,
2533+
"id": 42,
24492534
"isNew": true,
24502535
"links": [],
24512536
"options": {
@@ -2531,7 +2616,7 @@
25312616
"x": 16,
25322617
"y": 46
25332618
},
2534-
"id": 42,
2619+
"id": 43,
25352620
"isNew": true,
25362621
"links": [],
25372622
"options": {
@@ -2574,7 +2659,7 @@
25742659
"x": 0,
25752660
"y": 52
25762661
},
2577-
"id": 43,
2662+
"id": 44,
25782663
"panels": [],
25792664
"repeat": "",
25802665
"title": "Commit Log",
@@ -2598,7 +2683,7 @@
25982683
"x": 0,
25992684
"y": 53
26002685
},
2601-
"id": 44,
2686+
"id": 45,
26022687
"isNew": true,
26032688
"links": [],
26042689
"mode": "html",
@@ -2662,7 +2747,7 @@
26622747
"x": 0,
26632748
"y": 55
26642749
},
2665-
"id": 45,
2750+
"id": 46,
26662751
"isNew": true,
26672752
"links": [],
26682753
"options": {
@@ -2745,7 +2830,7 @@
27452830
"x": 6,
27462831
"y": 55
27472832
},
2748-
"id": 46,
2833+
"id": 47,
27492834
"isNew": true,
27502835
"links": [],
27512836
"options": {
@@ -2828,7 +2913,7 @@
28282913
"x": 12,
28292914
"y": 55
28302915
},
2831-
"id": 47,
2916+
"id": 48,
28322917
"isNew": true,
28332918
"links": [],
28342919
"options": {
@@ -2914,7 +2999,7 @@
29142999
"x": 18,
29153000
"y": 55
29163001
},
2917-
"id": 48,
3002+
"id": 49,
29183003
"isNew": true,
29193004
"links": [],
29203005
"options": {
@@ -3000,7 +3085,7 @@
30003085
"x": 0,
30013086
"y": 61
30023087
},
3003-
"id": 49,
3088+
"id": 50,
30043089
"isNew": true,
30053090
"links": [],
30063091
"options": {
@@ -3086,7 +3171,7 @@
30863171
"x": 6,
30873172
"y": 61
30883173
},
3089-
"id": 50,
3174+
"id": 51,
30903175
"isNew": true,
30913176
"links": [],
30923177
"options": {
@@ -3172,7 +3257,7 @@
31723257
"x": 12,
31733258
"y": 61
31743259
},
3175-
"id": 51,
3260+
"id": 52,
31763261
"isNew": true,
31773262
"links": [],
31783263
"options": {
@@ -3258,7 +3343,7 @@
32583343
"x": 18,
32593344
"y": 61
32603345
},
3261-
"id": 52,
3346+
"id": 53,
32623347
"isNew": true,
32633348
"links": [],
32643349
"options": {
@@ -3344,7 +3429,7 @@
33443429
"x": 0,
33453430
"y": 67
33463431
},
3347-
"id": 53,
3432+
"id": 54,
33483433
"isNew": true,
33493434
"links": [],
33503435
"options": {
@@ -3388,7 +3473,7 @@
33883473
"x": 0,
33893474
"y": 73
33903475
},
3391-
"id": 54,
3476+
"id": 55,
33923477
"panels": [],
33933478
"repeat": "",
33943479
"title": "Your panels",
@@ -3411,7 +3496,7 @@
34113496
"x": 0,
34123497
"y": 74
34133498
},
3414-
"id": 55,
3499+
"id": 56,
34153500
"isNew": true,
34163501
"links": [],
34173502
"mode": "html",
@@ -3478,7 +3563,7 @@
34783563
"x": 0,
34793564
"y": 76
34803565
},
3481-
"id": 56,
3566+
"id": 57,
34823567
"isNew": true,
34833568
"links": [],
34843569
"options": {
@@ -3552,7 +3637,7 @@
35523637
"x": 12,
35533638
"y": 76
35543639
},
3555-
"id": 57,
3640+
"id": 58,
35563641
"isNew": true,
35573642
"links": [],
35583643
"options": {
@@ -3590,7 +3675,7 @@
35903675
"x": 0,
35913676
"y": 82
35923677
},
3593-
"id": 58,
3678+
"id": 59,
35943679
"isNew": true,
35953680
"links": [],
35963681
"mode": "html",

0 commit comments

Comments
 (0)