Chore: Add some e2e tests for repeating behaviour (#43457)

* user essentials mob! 🔱

* user essentials mob! 🔱

* WIP: Mob session work 🚧 🔱

* user essentials mob! 🔱

* user essentials mob! 🔱

* user essentials mob! 🔱

* user essentials mob! 🔱

* user essentials mob! 🔱

* mob next [ci-skip] [ci skip] [skip ci]

* user essentials mob! 🔱

* user essentials mob! 🔱

* user essentials mob! 🔱

* user essentials mob! 🔱

* user essentials mob! 🔱

* user essentials mob! 🔱

* 🚧: Mob session work 🔱

* user essentials mob! 🔱

* user essentials mob! 🔱

* Move repeats suite under dashboard suite

* remove these generated files

* move repeats-suite into dashboards-suite

* Reexport dashboard jsons from play and update them

* 🚧: Mob session work 🔱

* 🚧: Mob session work 🔱

* Rename dashboards to work with stripnulls

* Run stripnulls

* Add repeat to row schema

* Clean up the rest of the repeating dashboards

* Fix tooltip sorting

* Update older dashboards

* Update golden files so tests pass

* format this to ensure consistent tabs/spaces

* undo whitespace changes

* Update scripts/stripnulls.sh

Co-authored-by: sam boyer <sam.boyer@grafana.com>

* update schema versions and test

Co-authored-by: thisisobate <obasiuche62@gmail.com>
Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com>
Co-authored-by: joshhunt <josh@trtr.co>
Co-authored-by: kay delaney <kay@grafana.com>
Co-authored-by: Alexandra Vargas <alexa1866@gmail.com>
Co-authored-by: sam boyer <sam.boyer@grafana.com>
This commit is contained in:
Ashley Harrison 2022-01-11 16:47:30 +00:00 committed by GitHub
parent 7ea951b35d
commit 1966eba796
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
46 changed files with 6281 additions and 3094 deletions

View File

@ -894,7 +894,7 @@
}
],
"refresh": "",
"schemaVersion": 30,
"schemaVersion": 33,
"style": "dark",
"tags": [
"gdev",

View File

@ -46,7 +46,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -144,7 +146,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -242,7 +246,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -339,7 +345,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -436,7 +444,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -534,7 +544,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -646,7 +658,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -701,8 +715,7 @@
"field": "@value",
"id": "1",
"meta": {},
"settings": {
},
"settings": {},
"type": "avg"
}
],
@ -746,7 +759,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -801,8 +816,7 @@
"field": "@value",
"id": "1",
"meta": {},
"settings": {
},
"settings": {},
"type": "avg"
}
],
@ -846,7 +860,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -901,8 +917,7 @@
"field": "@value",
"id": "1",
"meta": {},
"settings": {
},
"settings": {},
"type": "sum"
}
],
@ -946,7 +961,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -1001,8 +1018,7 @@
"field": "@value",
"id": "1",
"meta": {},
"settings": {
},
"settings": {},
"type": "sum"
}
],
@ -1046,7 +1062,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"decimals": 3,
"fill": 1,
"fillGradient": 0,
@ -1147,7 +1165,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"decimals": 3,
"fill": 1,
"fillGradient": 0,
@ -1248,7 +1268,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"decimals": 3,
"fill": 1,
"fillGradient": 0,
@ -1349,7 +1371,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"decimals": 3,
"fill": 1,
"fillGradient": 0,
@ -1450,7 +1474,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"decimals": 3,
"fill": 1,
"fillGradient": 0,
@ -1563,7 +1589,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"decimals": 3,
"fill": 1,
"fillGradient": 0,
@ -1676,7 +1704,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"decimals": 3,
"fill": 1,
"fillGradient": 0,
@ -1786,7 +1816,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"decimals": 3,
"fill": 1,
"fillGradient": 0,
@ -1896,7 +1928,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"decimals": 3,
"fill": 1,
"fillGradient": 0,
@ -1998,7 +2032,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"decimals": 3,
"fill": 1,
"fillGradient": 0,
@ -2114,7 +2150,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fieldConfig": {
"defaults": {
"custom": {},
@ -2234,7 +2272,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fieldConfig": {
"defaults": {
"custom": {},
@ -2354,7 +2394,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fieldConfig": {
"defaults": {
"custom": {},
@ -2474,7 +2516,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fieldConfig": {
"defaults": {
"custom": {},
@ -2594,7 +2638,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fieldConfig": {
"defaults": {
"custom": {},
@ -2714,7 +2760,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fieldConfig": {
"defaults": {
"custom": {},
@ -2834,7 +2882,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fieldConfig": {
"defaults": {
"custom": {},
@ -2954,7 +3004,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fieldConfig": {
"defaults": {
"custom": {},
@ -3074,7 +3126,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fieldConfig": {
"defaults": {
"custom": {},
@ -3194,7 +3248,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fieldConfig": {
"defaults": {
"custom": {},
@ -3314,7 +3370,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fieldConfig": {
"defaults": {
"custom": {},
@ -3434,7 +3492,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fieldConfig": {
"defaults": {
"custom": {},
@ -3568,7 +3628,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fieldConfig": {
"defaults": {
"custom": {}
@ -3683,7 +3745,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fieldConfig": {
"defaults": {
"custom": {}
@ -3798,7 +3862,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fieldConfig": {
"defaults": {
"custom": {}
@ -3913,7 +3979,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fieldConfig": {
"defaults": {
"custom": {}
@ -4028,7 +4096,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fieldConfig": {
"defaults": {
"custom": {}
@ -4143,7 +4213,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fieldConfig": {
"defaults": {
"custom": {}
@ -4258,7 +4330,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fieldConfig": {
"defaults": {
"custom": {}
@ -4373,7 +4447,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fieldConfig": {
"defaults": {
"custom": {}
@ -4488,7 +4564,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fieldConfig": {
"defaults": {
"custom": {}
@ -4603,7 +4681,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fieldConfig": {
"defaults": {
"custom": {}
@ -4718,7 +4798,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fieldConfig": {
"defaults": {
"custom": {}
@ -4833,7 +4915,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fieldConfig": {
"defaults": {
"custom": {}
@ -4962,7 +5046,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fieldConfig": {
"defaults": {
"custom": {},
@ -5081,7 +5167,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fieldConfig": {
"defaults": {
"custom": {},
@ -5200,7 +5288,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fieldConfig": {
"defaults": {
"custom": {},
@ -5319,7 +5409,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fieldConfig": {
"defaults": {
"custom": {},
@ -5438,7 +5530,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fieldConfig": {
"defaults": {
"custom": {},
@ -5557,7 +5651,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fieldConfig": {
"defaults": {
"custom": {},
@ -5676,7 +5772,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fieldConfig": {
"defaults": {
"custom": {},
@ -5795,7 +5893,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fieldConfig": {
"defaults": {
"custom": {},
@ -5914,7 +6014,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fieldConfig": {
"defaults": {
"custom": {},
@ -6033,7 +6135,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fieldConfig": {
"defaults": {
"custom": {},
@ -6152,7 +6256,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fieldConfig": {
"defaults": {
"custom": {},
@ -6271,7 +6377,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fieldConfig": {
"defaults": {
"custom": {},
@ -6404,7 +6512,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fieldConfig": {
"defaults": {
"custom": {}
@ -6523,7 +6633,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fieldConfig": {
"defaults": {
"custom": {}
@ -6642,7 +6754,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fieldConfig": {
"defaults": {
"custom": {}
@ -6773,7 +6887,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fieldConfig": {
"defaults": {
"custom": {}
@ -6918,7 +7034,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"decimals": 3,
"fieldConfig": {
"defaults": {
@ -7071,7 +7189,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"decimals": 3,
"fieldConfig": {
"defaults": {
@ -7238,7 +7358,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_one}",
"datasource": {
"uid": "${version_one}"
},
"fieldConfig": {
"defaults": {
"custom": {}
@ -7349,7 +7471,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_two}",
"datasource": {
"uid": "${version_two}"
},
"fieldConfig": {
"defaults": {
"custom": {}
@ -7460,7 +7584,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_one}",
"datasource": {
"uid": "${version_one}"
},
"fieldConfig": {
"defaults": {
"custom": {}
@ -7571,7 +7697,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_two}",
"datasource": {
"uid": "${version_two}"
},
"fieldConfig": {
"defaults": {
"custom": {}
@ -7682,7 +7810,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_one}",
"datasource": {
"uid": "${version_one}"
},
"fieldConfig": {
"defaults": {
"custom": {}
@ -7794,7 +7924,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_two}",
"datasource": {
"uid": "${version_two}"
},
"fieldConfig": {
"defaults": {
"custom": {}
@ -7906,7 +8038,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_one}",
"datasource": {
"uid": "${version_one}"
},
"fieldConfig": {
"defaults": {
"custom": {}
@ -8018,7 +8152,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_two}",
"datasource": {
"uid": "${version_two}"
},
"fieldConfig": {
"defaults": {
"custom": {}
@ -8144,7 +8280,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_one}",
"datasource": {
"uid": "${version_one}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -8260,7 +8398,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_two}",
"datasource": {
"uid": "${version_two}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -8376,7 +8516,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_one}",
"datasource": {
"uid": "${version_one}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -8492,7 +8634,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_two}",
"datasource": {
"uid": "${version_two}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -8608,7 +8752,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_one}",
"datasource": {
"uid": "${version_one}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -8724,7 +8870,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_two}",
"datasource": {
"uid": "${version_two}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -8840,7 +8988,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_one}",
"datasource": {
"uid": "${version_one}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -8956,7 +9106,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_two}",
"datasource": {
"uid": "${version_two}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -9072,7 +9224,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_one}",
"datasource": {
"uid": "${version_one}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -9188,7 +9342,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_two}",
"datasource": {
"uid": "${version_two}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -9304,7 +9460,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_one}",
"datasource": {
"uid": "${version_one}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -9420,7 +9578,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_two}",
"datasource": {
"uid": "${version_two}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -9536,7 +9696,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_one}",
"datasource": {
"uid": "${version_one}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -9652,7 +9814,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_two}",
"datasource": {
"uid": "${version_two}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -9768,7 +9932,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_one}",
"datasource": {
"uid": "${version_one}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -9884,7 +10050,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_two}",
"datasource": {
"uid": "${version_two}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -10014,7 +10182,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_one}",
"datasource": {
"uid": "${version_one}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -10125,7 +10295,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_two}",
"datasource": {
"uid": "${version_two}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -10236,7 +10408,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_one}",
"datasource": {
"uid": "${version_one}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -10347,7 +10521,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_two}",
"datasource": {
"uid": "${version_two}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -10471,7 +10647,9 @@
"type": "row"
},
{
"datasource": "${version_one}",
"datasource": {
"uid": "${version_one}"
},
"fieldConfig": {
"defaults": {
"color": {
@ -10584,8 +10762,8 @@
"field": "@value",
"id": "1",
"settings": {
"script": {
"inline": "_value * 1.5"
"script": {
"inline": "_value * 1.5"
}
},
"type": "avg"
@ -10600,7 +10778,9 @@
"type": "timeseries"
},
{
"datasource": "${version_two}",
"datasource": {
"uid": "${version_two}"
},
"fieldConfig": {
"defaults": {
"color": {
@ -10713,8 +10893,8 @@
"field": "@value",
"id": "1",
"settings": {
"script": {
"inline": "_value * 1.5"
"script": {
"inline": "_value * 1.5"
}
},
"type": "avg"
@ -10730,7 +10910,7 @@
}
],
"refresh": false,
"schemaVersion": 30,
"schemaVersion": 33,
"style": "dark",
"tags": [
"elasticsearch",

View File

@ -217,7 +217,7 @@
}
}
],
"schemaVersion": 30,
"schemaVersion": 33,
"style": "dark",
"tags": [],
"templating": {

View File

@ -0,0 +1,486 @@
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"iteration": 1640181282174,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "testdata"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 0
},
"id": 44,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"title": "Orphan non-repeating panel",
"type": "timeseries"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 8
},
"id": 2,
"panels": [],
"repeat": "row",
"title": "Row title $row",
"type": "row"
},
{
"datasource": {
"type": "testdata"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
"x": 0,
"y": 9
},
"id": 9,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"repeat": "horizontal",
"repeatDirection": "h",
"title": "Horizontal repeating $horizontal",
"type": "timeseries"
},
{
"datasource": {
"type": "testdata"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
"x": 0,
"y": 17
},
"id": 4,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"title": "Non-repeating panel",
"type": "timeseries"
},
{
"datasource": {
"type": "testdata"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
"x": 8,
"y": 17
},
"id": 22,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"repeat": "vertical",
"repeatDirection": "v",
"title": "Vertical repeating $vertical",
"type": "timeseries"
}
],
"schemaVersion": 34,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"current": {
"selected": true,
"text": [
"All"
],
"value": [
"$__all"
]
},
"hide": 0,
"includeAll": true,
"multi": true,
"name": "vertical",
"options": [
{
"selected": true,
"text": "All",
"value": "$__all"
},
{
"selected": false,
"text": "1",
"value": "1"
},
{
"selected": false,
"text": "2",
"value": "2"
},
{
"selected": false,
"text": "3",
"value": "3"
}
],
"query": "1,2,3",
"queryValue": "",
"skipUrlSync": false,
"type": "custom"
},
{
"current": {
"selected": true,
"text": [
"All"
],
"value": [
"$__all"
]
},
"hide": 0,
"includeAll": true,
"multi": true,
"name": "horizontal",
"options": [
{
"selected": true,
"text": "All",
"value": "$__all"
},
{
"selected": false,
"text": "1",
"value": "1"
},
{
"selected": false,
"text": "2",
"value": "2"
},
{
"selected": false,
"text": "3",
"value": "3"
}
],
"query": "1,2,3",
"queryValue": "",
"skipUrlSync": false,
"type": "custom"
},
{
"current": {
"selected": true,
"text": [
"All"
],
"value": [
"$__all"
]
},
"hide": 0,
"includeAll": true,
"multi": true,
"name": "row",
"options": [
{
"selected": true,
"text": "All",
"value": "$__all"
},
{
"selected": false,
"text": "1",
"value": "1"
},
{
"selected": false,
"text": "2",
"value": "2"
},
{
"selected": false,
"text": "3",
"value": "3"
}
],
"query": "1,2,3",
"queryValue": "",
"skipUrlSync": false,
"type": "custom"
}
]
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {},
"timezone": "utc",
"title": "Repeating Kitchen Sink",
"uid": "hxQwTjpnk",
"version": 6,
"weekStart": ""
}

View File

@ -0,0 +1,204 @@
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"iteration": 1640181116069,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "testdata"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
"x": 0,
"y": 0
},
"id": 2,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"repeat": "horizontal",
"repeatDirection": "h",
"title": "Panel Title $horizontal",
"type": "timeseries"
}
],
"schemaVersion": 34,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"current": {
"selected": false,
"text": [
"All"
],
"value": [
"$__all"
]
},
"hide": 0,
"includeAll": true,
"multi": true,
"name": "vertical",
"options": [
{
"selected": true,
"text": "All",
"value": "$__all"
},
{
"selected": false,
"text": "1",
"value": "1"
},
{
"selected": false,
"text": "2",
"value": "2"
},
{
"selected": false,
"text": "3",
"value": "3"
}
],
"query": "1,2,3",
"queryValue": "",
"skipUrlSync": false,
"type": "custom"
},
{
"current": {
"selected": true,
"text": [
"All"
],
"value": [
"$__all"
]
},
"hide": 0,
"includeAll": true,
"multi": true,
"name": "horizontal",
"options": [
{
"selected": true,
"text": "All",
"value": "$__all"
},
{
"selected": false,
"text": "1",
"value": "1"
},
{
"selected": false,
"text": "2",
"value": "2"
},
{
"selected": false,
"text": "3",
"value": "3"
}
],
"query": "1,2,3",
"queryValue": "",
"skipUrlSync": false,
"type": "custom"
}
]
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {},
"timezone": "utc",
"title": "Repeating a panel horizontally",
"uid": "WVpf2jp7z",
"version": 3,
"weekStart": ""
}

View File

@ -0,0 +1,202 @@
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "testdata"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 0
},
"id": 2,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"repeat": "vertical",
"repeatDirection": "v",
"title": "Panel Title $vertical",
"type": "timeseries"
}
],
"schemaVersion": 34,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"current": {
"selected": true,
"text": [
"All"
],
"value": [
"$__all"
]
},
"hide": 0,
"includeAll": true,
"multi": true,
"name": "vertical",
"options": [
{
"selected": true,
"text": "All",
"value": "$__all"
},
{
"selected": false,
"text": "1",
"value": "1"
},
{
"selected": false,
"text": "2",
"value": "2"
},
{
"selected": false,
"text": "3",
"value": "3"
}
],
"query": "1,2,3",
"queryValue": "",
"skipUrlSync": false,
"type": "custom"
},
{
"current": {
"selected": true,
"text": [
"1"
],
"value": [
"1"
]
},
"hide": 0,
"includeAll": true,
"multi": true,
"name": "horizontal",
"options": [
{
"selected": false,
"text": "All",
"value": "$__all"
},
{
"selected": true,
"text": "1",
"value": "1"
},
{
"selected": false,
"text": "2",
"value": "2"
},
{
"selected": false,
"text": "3",
"value": "3"
}
],
"query": "1,2,3",
"skipUrlSync": false,
"type": "custom"
}
]
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {},
"timezone": "utc",
"title": "Repeating a panel vertically",
"uid": "OY8Ghjt7k",
"version": 1,
"weekStart": ""
}

View File

@ -0,0 +1,335 @@
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"iteration": 1640181157128,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 2,
"panels": [],
"repeat": "row",
"title": "Row title $row",
"type": "row"
},
{
"datasource": {
"type": "testdata"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
"x": 0,
"y": 1
},
"id": 4,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"title": "Panel Title",
"type": "timeseries"
},
{
"datasource": {
"type": "testdata"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
"x": 0,
"y": 9
},
"id": 9,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"repeat": "horizontal",
"repeatDirection": "h",
"title": "Horizontal repeating $horizontal",
"type": "timeseries"
}
],
"schemaVersion": 34,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"current": {
"selected": true,
"text": [
"All"
],
"value": [
"$__all"
]
},
"hide": 0,
"includeAll": true,
"multi": true,
"name": "vertical",
"options": [
{
"selected": true,
"text": "All",
"value": "$__all"
},
{
"selected": false,
"text": "1",
"value": "1"
},
{
"selected": false,
"text": "2",
"value": "2"
},
{
"selected": false,
"text": "3",
"value": "3"
}
],
"query": "1,2,3",
"queryValue": "",
"skipUrlSync": false,
"type": "custom"
},
{
"current": {
"selected": true,
"text": [
"All"
],
"value": [
"$__all"
]
},
"hide": 0,
"includeAll": true,
"multi": true,
"name": "horizontal",
"options": [
{
"selected": true,
"text": "All",
"value": "$__all"
},
{
"selected": false,
"text": "1",
"value": "1"
},
{
"selected": false,
"text": "2",
"value": "2"
},
{
"selected": false,
"text": "3",
"value": "3"
}
],
"query": "1,2,3",
"queryValue": "",
"skipUrlSync": false,
"type": "custom"
},
{
"current": {
"selected": true,
"text": [
"All"
],
"value": [
"$__all"
]
},
"hide": 0,
"includeAll": true,
"multi": true,
"name": "row",
"options": [
{
"selected": true,
"text": "All",
"value": "$__all"
},
{
"selected": false,
"text": "1",
"value": "1"
},
{
"selected": false,
"text": "2",
"value": "2"
},
{
"selected": false,
"text": "3",
"value": "3"
}
],
"query": "1,2,3",
"queryValue": "",
"skipUrlSync": false,
"type": "custom"
}
]
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {},
"timezone": "utc",
"title": "Repeating a row with a non-repeating panel and horizontal repeating panel",
"uid": "k3PEoCpnk",
"version": 3,
"weekStart": ""
}

View File

@ -0,0 +1,335 @@
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"iteration": 1640181176989,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 2,
"panels": [],
"repeat": "row",
"title": "Row title $row",
"type": "row"
},
{
"datasource": {
"type": "testdata"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
"x": 0,
"y": 1
},
"id": 4,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"title": "Panel Title",
"type": "timeseries"
},
{
"datasource": {
"type": "testdata"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
"x": 8,
"y": 1
},
"id": 9,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"repeat": "vertical",
"repeatDirection": "v",
"title": "Vertical repeating $vertical",
"type": "timeseries"
}
],
"schemaVersion": 34,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"current": {
"selected": true,
"text": [
"All"
],
"value": [
"$__all"
]
},
"hide": 0,
"includeAll": true,
"multi": true,
"name": "vertical",
"options": [
{
"selected": true,
"text": "All",
"value": "$__all"
},
{
"selected": false,
"text": "1",
"value": "1"
},
{
"selected": false,
"text": "2",
"value": "2"
},
{
"selected": false,
"text": "3",
"value": "3"
}
],
"query": "1,2,3",
"queryValue": "",
"skipUrlSync": false,
"type": "custom"
},
{
"current": {
"selected": true,
"text": [
"All"
],
"value": [
"$__all"
]
},
"hide": 0,
"includeAll": true,
"multi": true,
"name": "horizontal",
"options": [
{
"selected": true,
"text": "All",
"value": "$__all"
},
{
"selected": false,
"text": "1",
"value": "1"
},
{
"selected": false,
"text": "2",
"value": "2"
},
{
"selected": false,
"text": "3",
"value": "3"
}
],
"query": "1,2,3",
"queryValue": "",
"skipUrlSync": false,
"type": "custom"
},
{
"current": {
"selected": true,
"text": [
"All"
],
"value": [
"$__all"
]
},
"hide": 0,
"includeAll": true,
"multi": true,
"name": "row",
"options": [
{
"selected": true,
"text": "All",
"value": "$__all"
},
{
"selected": false,
"text": "1",
"value": "1"
},
{
"selected": false,
"text": "2",
"value": "2"
},
{
"selected": false,
"text": "3",
"value": "3"
}
],
"query": "1,2,3",
"queryValue": "",
"skipUrlSync": false,
"type": "custom"
}
]
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {},
"timezone": "utc",
"title": "Repeating a row with a non-repeating panel and vertical repeating panel",
"uid": "7lS-ojt7z",
"version": 2,
"weekStart": ""
}

View File

@ -0,0 +1,258 @@
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"iteration": 1640181195825,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 2,
"panels": [],
"repeat": "row",
"title": "Row title $row",
"type": "row"
},
{
"datasource": {
"type": "testdata"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
"x": 0,
"y": 1
},
"id": 4,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"title": "Panel Title",
"type": "timeseries"
}
],
"schemaVersion": 34,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"current": {
"selected": true,
"text": [
"All"
],
"value": [
"$__all"
]
},
"hide": 0,
"includeAll": true,
"multi": true,
"name": "vertical",
"options": [
{
"selected": true,
"text": "All",
"value": "$__all"
},
{
"selected": false,
"text": "1",
"value": "1"
},
{
"selected": false,
"text": "2",
"value": "2"
},
{
"selected": false,
"text": "3",
"value": "3"
}
],
"query": "1,2,3",
"queryValue": "",
"skipUrlSync": false,
"type": "custom"
},
{
"current": {
"selected": true,
"text": [
"All"
],
"value": [
"$__all"
]
},
"hide": 0,
"includeAll": true,
"multi": true,
"name": "horizontal",
"options": [
{
"selected": true,
"text": "All",
"value": "$__all"
},
{
"selected": false,
"text": "1",
"value": "1"
},
{
"selected": false,
"text": "2",
"value": "2"
},
{
"selected": false,
"text": "3",
"value": "3"
}
],
"query": "1,2,3",
"queryValue": "",
"skipUrlSync": false,
"type": "custom"
},
{
"current": {
"selected": true,
"text": [
"All"
],
"value": [
"$__all"
]
},
"hide": 0,
"includeAll": true,
"multi": true,
"name": "row",
"options": [
{
"selected": true,
"text": "All",
"value": "$__all"
},
{
"selected": false,
"text": "1",
"value": "1"
},
{
"selected": false,
"text": "2",
"value": "2"
},
{
"selected": false,
"text": "3",
"value": "3"
}
],
"query": "1,2,3",
"queryValue": "",
"skipUrlSync": false,
"type": "custom"
}
]
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {},
"timezone": "utc",
"title": "Repeating a row with a non-repeating panel",
"uid": "ZzyTojpnz",
"version": 3,
"weekStart": ""
}

View File

@ -0,0 +1,260 @@
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"iteration": 1640181211838,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 2,
"panels": [],
"repeat": "row",
"title": "Row title $row",
"type": "row"
},
{
"datasource": {
"type": "testdata"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
"x": 0,
"y": 1
},
"id": 4,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"repeat": "horizontal",
"repeatDirection": "h",
"title": "Panel Title $horizontal",
"type": "timeseries"
}
],
"schemaVersion": 34,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"current": {
"selected": false,
"text": [
"All"
],
"value": [
"$__all"
]
},
"hide": 0,
"includeAll": true,
"multi": true,
"name": "vertical",
"options": [
{
"selected": true,
"text": "All",
"value": "$__all"
},
{
"selected": false,
"text": "1",
"value": "1"
},
{
"selected": false,
"text": "2",
"value": "2"
},
{
"selected": false,
"text": "3",
"value": "3"
}
],
"query": "1,2,3",
"queryValue": "",
"skipUrlSync": false,
"type": "custom"
},
{
"current": {
"selected": false,
"text": [
"All"
],
"value": [
"$__all"
]
},
"hide": 0,
"includeAll": true,
"multi": true,
"name": "horizontal",
"options": [
{
"selected": true,
"text": "All",
"value": "$__all"
},
{
"selected": false,
"text": "1",
"value": "1"
},
{
"selected": false,
"text": "2",
"value": "2"
},
{
"selected": false,
"text": "3",
"value": "3"
}
],
"query": "1,2,3",
"queryValue": "",
"skipUrlSync": false,
"type": "custom"
},
{
"current": {
"selected": true,
"text": [
"All"
],
"value": [
"$__all"
]
},
"hide": 0,
"includeAll": true,
"multi": true,
"name": "row",
"options": [
{
"selected": true,
"text": "All",
"value": "$__all"
},
{
"selected": false,
"text": "1",
"value": "1"
},
{
"selected": false,
"text": "2",
"value": "2"
},
{
"selected": false,
"text": "3",
"value": "3"
}
],
"query": "1,2,3",
"queryValue": "",
"skipUrlSync": false,
"type": "custom"
}
]
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {},
"timezone": "utc",
"title": "Repeating a row with a repeating horizontal panel",
"uid": "0OmtTCtnk",
"version": 3,
"weekStart": ""
}

View File

@ -0,0 +1,259 @@
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"iteration": 1640181228045,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 2,
"panels": [],
"repeat": "row",
"title": "Row title $row",
"type": "row"
},
{
"datasource": {
"type": "testdata"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 1
},
"id": 4,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"repeat": "vertical",
"repeatDirection": "v",
"title": "Panel Title $vertical",
"type": "timeseries"
}
],
"schemaVersion": 34,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"current": {
"selected": false,
"text": [
"All"
],
"value": [
"$__all"
]
},
"hide": 0,
"includeAll": true,
"multi": true,
"name": "vertical",
"options": [
{
"selected": true,
"text": "All",
"value": "$__all"
},
{
"selected": false,
"text": "1",
"value": "1"
},
{
"selected": false,
"text": "2",
"value": "2"
},
{
"selected": false,
"text": "3",
"value": "3"
}
],
"query": "1,2,3",
"queryValue": "",
"skipUrlSync": false,
"type": "custom"
},
{
"current": {
"selected": false,
"text": [
"All"
],
"value": [
"$__all"
]
},
"hide": 0,
"includeAll": true,
"multi": true,
"name": "horizontal",
"options": [
{
"selected": true,
"text": "All",
"value": "$__all"
},
{
"selected": false,
"text": "1",
"value": "1"
},
{
"selected": false,
"text": "2",
"value": "2"
},
{
"selected": false,
"text": "3",
"value": "3"
}
],
"query": "1,2,3",
"queryValue": "",
"skipUrlSync": false,
"type": "custom"
},
{
"current": {
"selected": true,
"text": [
"All"
],
"value": [
"$__all"
]
},
"hide": 0,
"includeAll": true,
"multi": true,
"name": "row",
"options": [
{
"selected": true,
"text": "All",
"value": "$__all"
},
{
"selected": false,
"text": "1",
"value": "1"
},
{
"selected": false,
"text": "2",
"value": "2"
},
{
"selected": false,
"text": "3",
"value": "3"
}
],
"query": "1,2,3",
"queryValue": "",
"skipUrlSync": false,
"type": "custom"
}
]
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {},
"timezone": "utc",
"title": "Repeating a row with a repeating vertical panel",
"uid": "I0YIojp7z",
"version": 3,
"weekStart": ""
}

View File

@ -0,0 +1,183 @@
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"iteration": 1640181241284,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 2,
"panels": [],
"repeat": "row",
"title": "Row title $row",
"type": "row"
}
],
"schemaVersion": 34,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"current": {
"selected": false,
"text": [
"All"
],
"value": [
"$__all"
]
},
"hide": 0,
"includeAll": true,
"multi": true,
"name": "vertical",
"options": [
{
"selected": true,
"text": "All",
"value": "$__all"
},
{
"selected": false,
"text": "1",
"value": "1"
},
{
"selected": false,
"text": "2",
"value": "2"
},
{
"selected": false,
"text": "3",
"value": "3"
}
],
"query": "1,2,3",
"queryValue": "",
"skipUrlSync": false,
"type": "custom"
},
{
"current": {
"selected": true,
"text": [
"All"
],
"value": [
"$__all"
]
},
"hide": 0,
"includeAll": true,
"multi": true,
"name": "horizontal",
"options": [
{
"selected": true,
"text": "All",
"value": "$__all"
},
{
"selected": false,
"text": "1",
"value": "1"
},
{
"selected": false,
"text": "2",
"value": "2"
},
{
"selected": false,
"text": "3",
"value": "3"
}
],
"query": "1,2,3",
"queryValue": "",
"skipUrlSync": false,
"type": "custom"
},
{
"current": {
"selected": true,
"text": [
"All"
],
"value": [
"$__all"
]
},
"hide": 0,
"includeAll": true,
"multi": true,
"name": "row",
"options": [
{
"selected": true,
"text": "All",
"value": "$__all"
},
{
"selected": false,
"text": "1",
"value": "1"
},
{
"selected": false,
"text": "2",
"value": "2"
},
{
"selected": false,
"text": "3",
"value": "3"
}
],
"query": "1,2,3",
"queryValue": "",
"skipUrlSync": false,
"type": "custom"
}
]
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {},
"timezone": "utc",
"title": "Repeating an empty row",
"uid": "dtpl2Ctnk",
"version": 4,
"weekStart": ""
}

View File

@ -189,7 +189,7 @@
"type": "dashlist"
}
],
"schemaVersion": 30,
"schemaVersion": 33,
"style": "dark",
"tags": [],
"templating": {

View File

@ -309,7 +309,10 @@
"type": "barchart"
},
{
"datasource": "-- Dashboard --",
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"fieldConfig": {
"defaults": {
"color": {
@ -526,7 +529,7 @@
}
],
"refresh": "",
"schemaVersion": 30,
"schemaVersion": 33,
"style": "dark",
"tags": [
"gdev",

View File

@ -433,4 +433,4 @@
"uid": "2jFpEvp7z",
"version": 8,
"weekStart": ""
}
}

View File

@ -362,7 +362,7 @@
}
],
"refresh": "",
"schemaVersion": 30,
"schemaVersion": 33,
"style": "dark",
"tags": [
"gdev",

View File

@ -283,7 +283,10 @@
"type": "timeseries"
},
{
"datasource": "-- Dashboard --",
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"fieldConfig": {
"defaults": {
"color": {
@ -460,7 +463,10 @@
"type": "timeseries"
},
{
"datasource": "-- Dashboard --",
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"fieldConfig": {
"defaults": {
"color": {
@ -550,7 +556,10 @@
"type": "timeseries"
},
{
"datasource": "-- Dashboard --",
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"fieldConfig": {
"defaults": {
"color": {
@ -640,7 +649,10 @@
"type": "timeseries"
},
{
"datasource": "-- Dashboard --",
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"fieldConfig": {
"defaults": {
"color": {
@ -834,7 +846,7 @@
}
],
"refresh": false,
"schemaVersion": 30,
"schemaVersion": 33,
"style": "dark",
"tags": [
"gdev",

View File

@ -34,7 +34,9 @@
],
"panels": [
{
"datasource": "gdev-testdata",
"datasource": {
"type": "testdata"
},
"fieldConfig": {
"defaults": {
"color": {
@ -139,7 +141,9 @@
"type": "timeseries"
},
{
"datasource": "gdev-testdata",
"datasource": {
"type": "testdata"
},
"description": "Series A have no nulls and is not aligned with series B",
"fieldConfig": {
"defaults": {
@ -254,7 +258,9 @@
"type": "timeseries"
},
{
"datasource": "gdev-testdata",
"datasource": {
"type": "testdata"
},
"description": "",
"fieldConfig": {
"defaults": {
@ -389,7 +395,9 @@
"type": "timeseries"
},
{
"datasource": "gdev-testdata",
"datasource": {
"type": "testdata"
},
"fieldConfig": {
"defaults": {
"color": {
@ -494,7 +502,9 @@
"type": "timeseries"
},
{
"datasource": "gdev-testdata",
"datasource": {
"type": "testdata"
},
"description": "Series A have no nulls and is not aligned with series B",
"fieldConfig": {
"defaults": {
@ -609,7 +619,9 @@
"type": "timeseries"
},
{
"datasource": "gdev-testdata",
"datasource": {
"type": "testdata"
},
"description": "Should look the same as above\n",
"fieldConfig": {
"defaults": {
@ -744,7 +756,9 @@
"type": "timeseries"
},
{
"datasource": "gdev-testdata",
"datasource": {
"type": "testdata"
},
"fieldConfig": {
"defaults": {
"color": {
@ -885,7 +899,9 @@
"type": "timeseries"
},
{
"datasource": "gdev-testdata",
"datasource": {
"type": "testdata"
},
"fieldConfig": {
"defaults": {
"color": {
@ -1208,7 +1224,7 @@
"type": "timeseries"
}
],
"schemaVersion": 30,
"schemaVersion": 33,
"style": "dark",
"tags": [
"gdev",

View File

@ -76,7 +76,10 @@
"type": "histogram"
},
{
"datasource": "-- Dashboard --",
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"fieldConfig": {
"defaults": {
"color": {
@ -409,7 +412,7 @@
"type": "table"
}
],
"schemaVersion": 30,
"schemaVersion": 33,
"style": "dark",
"tags": [
"gdev",

View File

@ -414,7 +414,7 @@
}
],
"refresh": false,
"schemaVersion": 30,
"schemaVersion": 33,
"style": "dark",
"tags": [
"gdev",

View File

@ -361,7 +361,7 @@
}
],
"refresh": false,
"schemaVersion": 30,
"schemaVersion": 33,
"style": "dark",
"tags": [
"gdev",

View File

@ -532,7 +532,7 @@
}
],
"refresh": "",
"schemaVersion": 30,
"schemaVersion": 33,
"style": "dark",
"tags": [
"gdev",

View File

@ -23,7 +23,10 @@
"links": [],
"panels": [
{
"datasource": "-- Dashboard --",
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"fieldConfig": {
"defaults": {
"color": {
@ -70,7 +73,10 @@
"type": "table"
},
{
"datasource": "-- Dashboard --",
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"fieldConfig": {
"defaults": {
"color": {
@ -264,7 +270,10 @@
"type": "gauge"
},
{
"datasource": "-- Dashboard --",
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"fieldConfig": {
"defaults": {
"color": {
@ -311,7 +320,10 @@
"type": "table"
},
{
"datasource": "-- Dashboard --",
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"fieldConfig": {
"defaults": {
"color": {
@ -579,7 +591,7 @@
}
],
"refresh": "",
"schemaVersion": 30,
"schemaVersion": 33,
"style": "dark",
"tags": [
"gdev",

View File

@ -0,0 +1,29 @@
import { e2e } from '@grafana/e2e';
const PAGE_UNDER_TEST = 'WVpf2jp7z/repeating-a-panel-horizontally';
describe('Repeating a panel horizontally', () => {
it('should be able to repeat a panel horizontally', () => {
e2e.flows.login('admin', 'admin');
e2e.flows.openDashboard({ uid: PAGE_UNDER_TEST });
let prevLeft = Number.NEGATIVE_INFINITY;
let prevTop = null;
const panelTitles = ['Panel Title 1', 'Panel Title 2', 'Panel Title 3'];
panelTitles.forEach((title) => {
e2e.components.Panels.Panel.title(title)
.should('be.visible')
.then(($el) => {
const { left, top } = $el[0].getBoundingClientRect();
expect(left).to.be.greaterThan(prevLeft);
if (prevTop !== null) {
expect(top).to.be.equal(prevTop);
}
prevLeft = left;
prevTop = top;
});
});
});
// TODO: Add test for the case when we pass variables in the url
});

View File

@ -0,0 +1,28 @@
import { e2e } from '@grafana/e2e';
const PAGE_UNDER_TEST = 'OY8Ghjt7k/repeating-a-panel-vertically';
describe('Repeating a panel vertically', () => {
it('should be able to repeat a panel vertically', () => {
e2e.flows.login('admin', 'admin');
e2e.flows.openDashboard({ uid: PAGE_UNDER_TEST });
let prevTop = Number.NEGATIVE_INFINITY;
let prevLeft = null;
const panelTitles = ['Panel Title 1', 'Panel Title 2', 'Panel Title 3'];
panelTitles.forEach((title) => {
e2e.components.Panels.Panel.title(title)
.should('be.visible')
.then(($el) => {
const { left, top } = $el[0].getBoundingClientRect();
expect(top).to.be.greaterThan(prevTop);
if (prevLeft !== null) {
expect(left).to.be.equal(prevLeft);
}
prevLeft = left;
prevTop = top;
});
});
});
// TODO: Add test for the case when we pass variables in the url
});

View File

@ -0,0 +1,23 @@
import { e2e } from '@grafana/e2e';
const PAGE_UNDER_TEST = 'dtpl2Ctnk/repeating-an-empty-row';
describe('Repeating empty rows', () => {
it('should be able to repeat empty rows vertically', () => {
e2e.flows.login('admin', 'admin');
e2e.flows.openDashboard({ uid: PAGE_UNDER_TEST });
let prevTop = Number.NEGATIVE_INFINITY;
const rowTitles = ['Row title 1', 'Row title 2', 'Row title 3'];
rowTitles.forEach((title) => {
e2e.components.DashboardRow.title(title)
.should('be.visible')
.then(($el) => {
const { top } = $el[0].getBoundingClientRect();
expect(top).to.be.greaterThan(prevTop);
prevTop = top;
});
});
});
// TODO: Add test for the case when we pass variables in the url
});

View File

@ -319,4 +319,7 @@ export const Components = {
ColorSwatch: {
name: `data-testid-colorswatch`,
},
DashboardRow: {
title: (title: string) => `data-testid dashboard-row-title-${title}`,
},
};

View File

@ -137,7 +137,7 @@ Family: scuemata.#Family & {
// because they share a version timeline with the dashboard
// schema; they do not evolve independently.
#Panel: {
// The panel plugin type id.
// The panel plugin type id.
type: !=""
// TODO docs
@ -169,8 +169,11 @@ Family: scuemata.#Family & {
description?: string
// Whether to display the panel without a background.
transparent: bool | *false
// Name of default datasource.
datasource?: string
// The datasource used in all targets.
datasource?: {
type?: string
uid?: string
}
// Grid position.
gridPos?: {
// Panel
@ -347,6 +350,8 @@ Family: scuemata.#Family & {
}
id: number
panels: [...(#Panel | #GraphPanel)]
// Name of template variable to repeat for.
repeat?: string
}
// Support for legacy graph panels.
#GraphPanel: {
@ -426,4 +431,4 @@ Family: scuemata.#Family & {
}
}
}
}
}

View File

@ -60,9 +60,9 @@ var doTestAgainstDevenv = func(sch schema.VersionedCueSchema, validdir string, f
t.Logf("no schemaVersion in %s", path)
return nil
} else {
if !(oldschemav.(float64) > 29) {
if !(oldschemav.(float64) > 32) {
if testing.Verbose() {
t.Logf("schemaVersion is %v, older than 30, skipping %s", oldschemav, path)
t.Logf("schemaVersion is %v, older than 33, skipping %s", oldschemav, path)
}
return nil
}

View File

@ -1068,7 +1068,7 @@
}
],
"refresh": "",
"schemaVersion": 30,
"schemaVersion": 33,
"style": "dark",
"tags": [
"gdev",
@ -1181,4 +1181,4 @@
"title": "Panel tests - All panels",
"uid": "n1jR8vnnz",
"version": 24
}
}

View File

@ -346,7 +346,10 @@
"transformations": []
},
{
"datasource": "-- Dashboard --",
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"fieldConfig": {
"defaults": {
"color": {
@ -590,7 +593,7 @@
}
],
"refresh": "",
"schemaVersion": 30,
"schemaVersion": 33,
"style": "dark",
"tags": [
"gdev",
@ -625,4 +628,4 @@
"title": "BarChart - Panel Tests - Value sizing",
"uid": "WFlOM-jM1",
"version": 9
}
}

View File

@ -582,7 +582,7 @@
}
],
"refresh": "",
"schemaVersion": 30,
"schemaVersion": 33,
"style": "dark",
"tags": [
"gdev",
@ -616,4 +616,4 @@
"title": "Transforms - Config from query",
"uid": "Juj4_7ink",
"version": 1
}
}

View File

@ -46,7 +46,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -144,7 +146,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -242,7 +246,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -339,7 +345,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -436,7 +444,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -534,7 +544,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -646,7 +658,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -745,7 +759,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -844,7 +860,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -943,7 +961,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -1042,7 +1062,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"decimals": 3,
"fill": 1,
"fillGradient": 0,
@ -1143,7 +1165,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"decimals": 3,
"fill": 1,
"fillGradient": 0,
@ -1244,7 +1268,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"decimals": 3,
"fill": 1,
"fillGradient": 0,
@ -1345,7 +1371,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"decimals": 3,
"fill": 1,
"fillGradient": 0,
@ -1446,7 +1474,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"decimals": 3,
"fill": 1,
"fillGradient": 0,
@ -1559,7 +1589,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"decimals": 3,
"fill": 1,
"fillGradient": 0,
@ -1672,7 +1704,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"decimals": 3,
"fill": 1,
"fillGradient": 0,
@ -1782,7 +1816,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"decimals": 3,
"fill": 1,
"fillGradient": 0,
@ -1892,7 +1928,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"decimals": 3,
"fill": 1,
"fillGradient": 0,
@ -1994,7 +2032,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"decimals": 3,
"fill": 1,
"fillGradient": 0,
@ -2110,7 +2150,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fieldConfig": {
"defaults": {
"custom": {},
@ -2230,7 +2272,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fieldConfig": {
"defaults": {
"custom": {},
@ -2350,7 +2394,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fieldConfig": {
"defaults": {
"custom": {},
@ -2470,7 +2516,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fieldConfig": {
"defaults": {
"custom": {},
@ -2590,7 +2638,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fieldConfig": {
"defaults": {
"custom": {},
@ -2710,7 +2760,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fieldConfig": {
"defaults": {
"custom": {},
@ -2830,7 +2882,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fieldConfig": {
"defaults": {
"custom": {},
@ -2950,7 +3004,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fieldConfig": {
"defaults": {
"custom": {},
@ -3070,7 +3126,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fieldConfig": {
"defaults": {
"custom": {},
@ -3190,7 +3248,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fieldConfig": {
"defaults": {
"custom": {},
@ -3310,7 +3370,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fieldConfig": {
"defaults": {
"custom": {},
@ -3430,7 +3492,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fieldConfig": {
"defaults": {
"custom": {},
@ -3564,7 +3628,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fieldConfig": {
"defaults": {
"custom": {}
@ -3679,7 +3745,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fieldConfig": {
"defaults": {
"custom": {}
@ -3794,7 +3862,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fieldConfig": {
"defaults": {
"custom": {}
@ -3909,7 +3979,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fieldConfig": {
"defaults": {
"custom": {}
@ -4024,7 +4096,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fieldConfig": {
"defaults": {
"custom": {}
@ -4139,7 +4213,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fieldConfig": {
"defaults": {
"custom": {}
@ -4254,7 +4330,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fieldConfig": {
"defaults": {
"custom": {}
@ -4369,7 +4447,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fieldConfig": {
"defaults": {
"custom": {}
@ -4484,7 +4564,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fieldConfig": {
"defaults": {
"custom": {}
@ -4599,7 +4681,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fieldConfig": {
"defaults": {
"custom": {}
@ -4714,7 +4798,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fieldConfig": {
"defaults": {
"custom": {}
@ -4829,7 +4915,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fieldConfig": {
"defaults": {
"custom": {}
@ -4958,7 +5046,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fieldConfig": {
"defaults": {
"custom": {},
@ -5077,7 +5167,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fieldConfig": {
"defaults": {
"custom": {},
@ -5196,7 +5288,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fieldConfig": {
"defaults": {
"custom": {},
@ -5315,7 +5409,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fieldConfig": {
"defaults": {
"custom": {},
@ -5434,7 +5530,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fieldConfig": {
"defaults": {
"custom": {},
@ -5553,7 +5651,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fieldConfig": {
"defaults": {
"custom": {},
@ -5672,7 +5772,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fieldConfig": {
"defaults": {
"custom": {},
@ -5791,7 +5893,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fieldConfig": {
"defaults": {
"custom": {},
@ -5910,7 +6014,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fieldConfig": {
"defaults": {
"custom": {},
@ -6029,7 +6135,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fieldConfig": {
"defaults": {
"custom": {},
@ -6148,7 +6256,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fieldConfig": {
"defaults": {
"custom": {},
@ -6267,7 +6377,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fieldConfig": {
"defaults": {
"custom": {},
@ -6400,7 +6512,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fieldConfig": {
"defaults": {
"custom": {}
@ -6519,7 +6633,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fieldConfig": {
"defaults": {
"custom": {}
@ -6638,7 +6754,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"fieldConfig": {
"defaults": {
"custom": {}
@ -6769,7 +6887,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"fieldConfig": {
"defaults": {
"custom": {}
@ -6914,7 +7034,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_one",
"datasource": {
"uid": "$version_one"
},
"decimals": 3,
"fieldConfig": {
"defaults": {
@ -7067,7 +7189,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "$version_two",
"datasource": {
"uid": "$version_two"
},
"decimals": 3,
"fieldConfig": {
"defaults": {
@ -7234,7 +7358,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_one}",
"datasource": {
"uid": "${version_one}"
},
"fieldConfig": {
"defaults": {
"custom": {}
@ -7345,7 +7471,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_two}",
"datasource": {
"uid": "${version_two}"
},
"fieldConfig": {
"defaults": {
"custom": {}
@ -7456,7 +7584,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_one}",
"datasource": {
"uid": "${version_one}"
},
"fieldConfig": {
"defaults": {
"custom": {}
@ -7567,7 +7697,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_two}",
"datasource": {
"uid": "${version_two}"
},
"fieldConfig": {
"defaults": {
"custom": {}
@ -7678,7 +7810,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_one}",
"datasource": {
"uid": "${version_one}"
},
"fieldConfig": {
"defaults": {
"custom": {}
@ -7790,7 +7924,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_two}",
"datasource": {
"uid": "${version_two}"
},
"fieldConfig": {
"defaults": {
"custom": {}
@ -7902,7 +8038,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_one}",
"datasource": {
"uid": "${version_one}"
},
"fieldConfig": {
"defaults": {
"custom": {}
@ -8014,7 +8152,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_two}",
"datasource": {
"uid": "${version_two}"
},
"fieldConfig": {
"defaults": {
"custom": {}
@ -8140,7 +8280,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_one}",
"datasource": {
"uid": "${version_one}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -8256,7 +8398,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_two}",
"datasource": {
"uid": "${version_two}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -8372,7 +8516,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_one}",
"datasource": {
"uid": "${version_one}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -8488,7 +8634,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_two}",
"datasource": {
"uid": "${version_two}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -8604,7 +8752,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_one}",
"datasource": {
"uid": "${version_one}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -8720,7 +8870,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_two}",
"datasource": {
"uid": "${version_two}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -8836,7 +8988,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_one}",
"datasource": {
"uid": "${version_one}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -8952,7 +9106,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_two}",
"datasource": {
"uid": "${version_two}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -9068,7 +9224,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_one}",
"datasource": {
"uid": "${version_one}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -9184,7 +9342,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_two}",
"datasource": {
"uid": "${version_two}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -9300,7 +9460,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_one}",
"datasource": {
"uid": "${version_one}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -9416,7 +9578,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_two}",
"datasource": {
"uid": "${version_two}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -9532,7 +9696,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_one}",
"datasource": {
"uid": "${version_one}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -9648,7 +9814,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_two}",
"datasource": {
"uid": "${version_two}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -9764,7 +9932,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_one}",
"datasource": {
"uid": "${version_one}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -9880,7 +10050,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_two}",
"datasource": {
"uid": "${version_two}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -10010,7 +10182,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_one}",
"datasource": {
"uid": "${version_one}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -10121,7 +10295,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_two}",
"datasource": {
"uid": "${version_two}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -10232,7 +10408,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_one}",
"datasource": {
"uid": "${version_one}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -10343,7 +10521,9 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${version_two}",
"datasource": {
"uid": "${version_two}"
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
@ -10467,7 +10647,9 @@
"type": "row"
},
{
"datasource": "${version_one}",
"datasource": {
"uid": "${version_one}"
},
"fieldConfig": {
"defaults": {
"color": {
@ -10605,7 +10787,9 @@
"transformations": []
},
{
"datasource": "${version_two}",
"datasource": {
"uid": "${version_two}"
},
"fieldConfig": {
"defaults": {
"color": {
@ -10744,7 +10928,7 @@
}
],
"refresh": false,
"schemaVersion": 30,
"schemaVersion": 33,
"style": "dark",
"tags": [
"elasticsearch",
@ -10829,4 +11013,4 @@
"title": "Datasource tests - Elasticsearch comparison",
"uid": "fuFWehBmk",
"version": 4
}
}

View File

@ -311,7 +311,10 @@
"transformations": []
},
{
"datasource": "-- Dashboard --",
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"fieldConfig": {
"defaults": {
"color": {
@ -506,7 +509,10 @@
"transformations": []
},
{
"datasource": "-- Dashboard --",
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"fieldConfig": {
"defaults": {
"color": {
@ -605,7 +611,10 @@
"transformations": []
},
{
"datasource": "-- Dashboard --",
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"fieldConfig": {
"defaults": {
"color": {
@ -704,7 +713,10 @@
"transformations": []
},
{
"datasource": "-- Dashboard --",
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"fieldConfig": {
"defaults": {
"color": {
@ -916,7 +928,7 @@
}
],
"refresh": false,
"schemaVersion": 30,
"schemaVersion": 33,
"style": "dark",
"tags": [
"gdev",
@ -950,4 +962,4 @@
"title": "Panel Tests - Graph NG - By value color schemes",
"uid": "aBXrJ0R7z",
"version": 11
}
}

View File

@ -35,7 +35,9 @@
],
"panels": [
{
"datasource": "gdev-testdata",
"datasource": {
"type": "testdata"
},
"fieldConfig": {
"defaults": {
"color": {
@ -149,7 +151,9 @@
"transformations": []
},
{
"datasource": "gdev-testdata",
"datasource": {
"type": "testdata"
},
"description": "Series A have no nulls and is not aligned with series B",
"fieldConfig": {
"defaults": {
@ -273,7 +277,9 @@
"transformations": []
},
{
"datasource": "gdev-testdata",
"datasource": {
"type": "testdata"
},
"description": "",
"fieldConfig": {
"defaults": {
@ -417,7 +423,9 @@
"transformations": []
},
{
"datasource": "gdev-testdata",
"datasource": {
"type": "testdata"
},
"fieldConfig": {
"defaults": {
"color": {
@ -531,7 +539,9 @@
"transformations": []
},
{
"datasource": "gdev-testdata",
"datasource": {
"type": "testdata"
},
"description": "Series A have no nulls and is not aligned with series B",
"fieldConfig": {
"defaults": {
@ -655,7 +665,9 @@
"transformations": []
},
{
"datasource": "gdev-testdata",
"datasource": {
"type": "testdata"
},
"description": "Should look the same as above\n",
"fieldConfig": {
"defaults": {
@ -799,7 +811,9 @@
"transformations": []
},
{
"datasource": "gdev-testdata",
"datasource": {
"type": "testdata"
},
"fieldConfig": {
"defaults": {
"color": {
@ -946,7 +960,9 @@
"repeatDirection": "h"
},
{
"datasource": "gdev-testdata",
"datasource": {
"type": "testdata"
},
"fieldConfig": {
"defaults": {
"color": {
@ -1293,7 +1309,7 @@
"transformations": []
}
],
"schemaVersion": 30,
"schemaVersion": 33,
"style": "dark",
"tags": [
"gdev",
@ -1328,4 +1344,4 @@
"title": "Panel Tests - Graph NG - Gaps and Connected",
"uid": "8mmCAF1Mz",
"version": 2
}
}

View File

@ -86,7 +86,10 @@
"transformations": []
},
{
"datasource": "-- Dashboard --",
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"fieldConfig": {
"defaults": {
"color": {
@ -460,7 +463,7 @@
"repeatDirection": "h"
}
],
"schemaVersion": 30,
"schemaVersion": 33,
"style": "dark",
"tags": [
"gdev",
@ -494,4 +497,4 @@
"title": "Panel Tests - Histogram",
"uid": "UTv--wqMk",
"version": 4
}
}

View File

@ -268,7 +268,7 @@
}
}
],
"schemaVersion": 30,
"schemaVersion": 33,
"style": "dark",
"tags": [],
"templating": {
@ -310,4 +310,4 @@
"title": "Grafana Dev Overview & Home",
"uid": "j6T00KRZz",
"version": 2
}
}

View File

@ -53,7 +53,9 @@
}
},
{
"datasource": "gdev-testdata",
"datasource": {
"type": "testdata"
},
"gridPos": {
"h": 8,
"w": 6,
@ -91,7 +93,9 @@
}
},
{
"datasource": "gdev-testdata",
"datasource": {
"type": "testdata"
},
"fieldConfig": {
"defaults": {
"color": {
@ -195,7 +199,9 @@
"transformations": []
},
{
"datasource": "gdev-testdata",
"datasource": {
"type": "testdata"
},
"gridPos": {
"h": 15,
"w": 6,
@ -233,7 +239,9 @@
}
},
{
"datasource": "gdev-graphite-1.0",
"datasource": {
"type": "graphite"
},
"fieldConfig": {
"defaults": {
"color": {
@ -302,7 +310,9 @@
"transformations": []
},
{
"datasource": "gdev-graphite-1.0",
"datasource": {
"type": "graphite"
},
"fieldConfig": {
"defaults": {
"color": {
@ -401,7 +411,9 @@
"transformations": []
},
{
"datasource": "gdev-testdata",
"datasource": {
"type": "testdata"
},
"gridPos": {
"h": 13,
"w": 6,
@ -439,7 +451,9 @@
}
},
{
"datasource": "gdev-testdata",
"datasource": {
"type": "testdata"
},
"fieldConfig": {
"defaults": {
"color": {
@ -513,7 +527,9 @@
"transformations": []
},
{
"datasource": "gdev-testdata",
"datasource": {
"type": "testdata"
},
"fieldConfig": {
"defaults": {
"color": {
@ -612,7 +628,9 @@
"transformations": []
},
{
"datasource": "gdev-testdata",
"datasource": {
"type": "testdata"
},
"gridPos": {
"h": 3,
"w": 24,
@ -650,7 +668,9 @@
}
},
{
"datasource": "gdev-testdata",
"datasource": {
"type": "testdata"
},
"fieldConfig": {
"defaults": {
"color": {
@ -777,7 +797,9 @@
"repeatDirection": "h"
},
{
"datasource": "gdev-testdata",
"datasource": {
"type": "testdata"
},
"fieldConfig": {
"defaults": {
"color": {
@ -878,7 +900,9 @@
"transformations": []
},
{
"datasource": "gdev-testdata",
"datasource": {
"type": "testdata"
},
"gridPos": {
"h": 3,
"w": 24,
@ -916,7 +940,9 @@
}
},
{
"datasource": "gdev-testdata",
"datasource": {
"type": "testdata"
},
"gridPos": {
"h": 6,
"w": 6,
@ -954,7 +980,9 @@
}
},
{
"datasource": "gdev-testdata",
"datasource": {
"type": "testdata"
},
"fieldConfig": {
"defaults": {
"color": {
@ -1082,7 +1110,9 @@
"transformations": []
},
{
"datasource": "gdev-testdata",
"datasource": {
"type": "testdata"
},
"fieldConfig": {
"defaults": {
"color": {
@ -1210,7 +1240,9 @@
"transformations": []
},
{
"datasource": "gdev-testdata",
"datasource": {
"type": "testdata"
},
"fieldConfig": {
"defaults": {
"color": {
@ -1338,7 +1370,9 @@
"transformations": []
},
{
"datasource": "gdev-testdata",
"datasource": {
"type": "testdata"
},
"gridPos": {
"h": 8,
"w": 6,
@ -1376,7 +1410,9 @@
}
},
{
"datasource": "gdev-testdata",
"datasource": {
"type": "testdata"
},
"fieldConfig": {
"defaults": {
"color": {
@ -1487,7 +1523,9 @@
"transformations": []
},
{
"datasource": "gdev-testdata",
"datasource": {
"type": "testdata"
},
"description": "",
"fieldConfig": {
"defaults": {
@ -1601,7 +1639,9 @@
"transformations": []
},
{
"datasource": "gdev-testdata",
"datasource": {
"type": "testdata"
},
"description": "",
"fieldConfig": {
"defaults": {
@ -1715,7 +1755,9 @@
"transformations": []
},
{
"datasource": "gdev-testdata",
"datasource": {
"type": "testdata"
},
"gridPos": {
"h": 5,
"w": 6,
@ -1753,7 +1795,9 @@
}
},
{
"datasource": "gdev-testdata",
"datasource": {
"type": "testdata"
},
"fieldConfig": {
"defaults": {
"color": {
@ -1977,7 +2021,9 @@
"transformations": []
},
{
"datasource": "gdev-testdata",
"datasource": {
"type": "testdata"
},
"gridPos": {
"h": 5,
"w": 6,
@ -2015,7 +2061,9 @@
}
},
{
"datasource": "gdev-testdata",
"datasource": {
"type": "testdata"
},
"fieldConfig": {
"defaults": {
"color": {
@ -2347,7 +2395,9 @@
"transformations": []
},
{
"datasource": "gdev-testdata",
"datasource": {
"type": "testdata"
},
"fieldConfig": {
"defaults": {
"color": {
@ -2679,7 +2729,9 @@
"transformations": []
},
{
"datasource": "gdev-testdata",
"datasource": {
"type": "testdata"
},
"fieldConfig": {
"defaults": {
"color": {
@ -2814,7 +2866,9 @@
"transformations": []
},
{
"datasource": "gdev-testdata",
"datasource": {
"type": "testdata"
},
"gridPos": {
"h": 3,
"w": 24,
@ -2852,7 +2906,9 @@
}
},
{
"datasource": "gdev-testdata",
"datasource": {
"type": "testdata"
},
"fieldConfig": {
"defaults": {
"color": {
@ -2964,7 +3020,9 @@
"transformations": []
},
{
"datasource": "gdev-testdata",
"datasource": {
"type": "testdata"
},
"fieldConfig": {
"defaults": {
"color": {
@ -3074,7 +3132,7 @@
}
],
"refresh": false,
"schemaVersion": 30,
"schemaVersion": 33,
"style": "dark",
"tags": [
"gdev",
@ -3107,4 +3165,4 @@
"title": "New Features in v8.0",
"uid": "8mux8PqGz",
"version": 17
}
}

View File

@ -218,7 +218,7 @@
}
}
],
"schemaVersion": 30,
"schemaVersion": 33,
"style": "dark",
"tags": [],
"templating": {
@ -249,4 +249,4 @@
"title": "Datasource tests - OpenTSDB v2.3",
"uid": "rZRUGik7k",
"version": 3
}
}

View File

@ -378,7 +378,7 @@
}
],
"refresh": "",
"schemaVersion": 30,
"schemaVersion": 33,
"style": "dark",
"tags": [
"gdev",
@ -411,4 +411,4 @@
"title": "Panel Tests - Geomap",
"uid": "2xuwrgV7z",
"version": 5
}
}

View File

@ -24,7 +24,10 @@
"links": [],
"panels": [
{
"datasource": "-- Dashboard --",
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"fieldConfig": {
"defaults": {
"color": {
@ -80,7 +83,10 @@
"transformations": []
},
{
"datasource": "-- Dashboard --",
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"fieldConfig": {
"defaults": {
"color": {
@ -297,7 +303,10 @@
"repeatDirection": "h"
},
{
"datasource": "-- Dashboard --",
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"fieldConfig": {
"defaults": {
"color": {
@ -353,7 +362,10 @@
"transformations": []
},
{
"datasource": "-- Dashboard --",
"datasource": {
"type": "datasource",
"uid": "-- Dashboard --"
},
"fieldConfig": {
"defaults": {
"color": {
@ -651,7 +663,7 @@
}
],
"refresh": "",
"schemaVersion": 30,
"schemaVersion": 33,
"style": "dark",
"tags": [
"gdev",
@ -685,4 +697,4 @@
"title": "Transforms - Rows to fields",
"uid": "PMtIInink",
"version": 1
}
}

View File

@ -453,7 +453,7 @@
}
],
"refresh": false,
"schemaVersion": 30,
"schemaVersion": 33,
"style": "dark",
"tags": [
"gdev",
@ -487,4 +487,4 @@
"title": "Timeline Demo",
"uid": "mIJjFy8Kz",
"version": 3
}
}

View File

@ -390,7 +390,7 @@
}
],
"refresh": false,
"schemaVersion": 30,
"schemaVersion": 33,
"style": "dark",
"tags": [
"gdev",
@ -424,4 +424,4 @@
"title": "Timeline Modes",
"uid": "mIJjFy8Gz",
"version": 13
}
}

View File

@ -8,6 +8,7 @@ import { RowOptionsButton } from '../RowOptions/RowOptionsButton';
import { getTemplateSrv, RefreshEvent } from '@grafana/runtime';
import { ShowConfirmModalEvent } from '../../../../types/events';
import { Unsubscribable } from 'rxjs';
import { selectors } from '@grafana/e2e-selectors';
export interface DashboardRowProps {
panel: PanelModel;
@ -84,7 +85,11 @@ export class DashboardRow extends React.Component<DashboardRowProps, any> {
return (
<div className={classes}>
<a className="dashboard-row__title pointer" onClick={this.onToggle}>
<a
className="dashboard-row__title pointer"
data-testid={selectors.components.DashboardRow.title(title)}
onClick={this.onToggle}
>
<Icon name={this.state.collapsed ? 'angle-right' : 'angle-down'} />
{title}
<span className="dashboard-row__panel_count">

View File

@ -7,7 +7,7 @@
SED=$(command -v gsed)
SED=${SED:-"sed"}
FILES=$(grep -rl '"schemaVersion": 3[0123]' devenv)
FILES=$(grep -rl '"schemaVersion": 3[34]' devenv)
set -e
set -x
for DASH in ${FILES}; do echo "${DASH}"; grep -v 'null,$' "${DASH}" > "${DASH}-nulless"; mv "${DASH}-nulless" "${DASH}"; done