Migration v42: HideFrom tooltip consistency migration (#110517)
* Migration to be verified: v42 HideFrom tooltip migration * snap update * make gen cue * Add comments of 42 being the final version
This commit is contained in:
@@ -125,7 +125,7 @@
|
||||
}
|
||||
],
|
||||
"refresh": "1m",
|
||||
"schemaVersion": 41,
|
||||
"schemaVersion": 42,
|
||||
"style": "dark",
|
||||
"tags": [
|
||||
"example-service",
|
||||
|
||||
@@ -3886,7 +3886,7 @@
|
||||
}
|
||||
],
|
||||
"refresh": "1m",
|
||||
"schemaVersion": 41,
|
||||
"schemaVersion": 42,
|
||||
"style": "dark",
|
||||
"tags": [
|
||||
"example-service",
|
||||
|
||||
@@ -3888,7 +3888,7 @@
|
||||
}
|
||||
],
|
||||
"refresh": "1m",
|
||||
"schemaVersion": 41,
|
||||
"schemaVersion": 42,
|
||||
"style": "dark",
|
||||
"tags": [
|
||||
"example-service",
|
||||
|
||||
@@ -2262,7 +2262,7 @@
|
||||
}
|
||||
],
|
||||
"refresh": "5m",
|
||||
"schemaVersion": 41,
|
||||
"schemaVersion": 42,
|
||||
"style": "dark",
|
||||
"tags": [
|
||||
"metrics",
|
||||
|
||||
+1
-1
@@ -62,7 +62,7 @@
|
||||
}
|
||||
],
|
||||
"refresh": "",
|
||||
"schemaVersion": 41,
|
||||
"schemaVersion": 42,
|
||||
"templating": {
|
||||
"list": [
|
||||
{
|
||||
|
||||
@@ -108,7 +108,7 @@
|
||||
}
|
||||
],
|
||||
"refresh": "",
|
||||
"schemaVersion": 41,
|
||||
"schemaVersion": 42,
|
||||
"templating": {
|
||||
"list": [
|
||||
{
|
||||
|
||||
+1
-1
@@ -938,7 +938,7 @@
|
||||
}
|
||||
],
|
||||
"refresh": "30s",
|
||||
"schemaVersion": 41,
|
||||
"schemaVersion": 42,
|
||||
"style": "dark",
|
||||
"tags": [
|
||||
"sample-monitoring"
|
||||
|
||||
@@ -482,6 +482,6 @@
|
||||
}
|
||||
],
|
||||
"refresh": "",
|
||||
"schemaVersion": 41,
|
||||
"schemaVersion": 42,
|
||||
"title": "V16 Grid Layout Migration Test Dashboard"
|
||||
}
|
||||
@@ -312,6 +312,6 @@
|
||||
}
|
||||
],
|
||||
"refresh": "",
|
||||
"schemaVersion": 41,
|
||||
"schemaVersion": 42,
|
||||
"title": "V17 MinSpan to MaxPerRow Migration Test Dashboard"
|
||||
}
|
||||
@@ -157,6 +157,6 @@
|
||||
}
|
||||
],
|
||||
"refresh": "",
|
||||
"schemaVersion": 41,
|
||||
"schemaVersion": 42,
|
||||
"title": "V18 Gauge Options Migration Test Dashboard"
|
||||
}
|
||||
@@ -201,6 +201,6 @@
|
||||
}
|
||||
],
|
||||
"refresh": "",
|
||||
"schemaVersion": 41,
|
||||
"schemaVersion": 42,
|
||||
"title": "V19 Panel Links Migration Test Dashboard"
|
||||
}
|
||||
+1
-1
@@ -215,7 +215,7 @@
|
||||
}
|
||||
],
|
||||
"refresh": "5s",
|
||||
"schemaVersion": 41,
|
||||
"schemaVersion": 42,
|
||||
"style": "dark",
|
||||
"tags": [
|
||||
"migration-test"
|
||||
|
||||
+1
-1
@@ -161,6 +161,6 @@
|
||||
}
|
||||
],
|
||||
"refresh": "",
|
||||
"schemaVersion": 41,
|
||||
"schemaVersion": 42,
|
||||
"title": "V21 Data Links Series to Field Migration Test Dashboard"
|
||||
}
|
||||
@@ -88,6 +88,6 @@
|
||||
}
|
||||
],
|
||||
"refresh": "",
|
||||
"schemaVersion": 41,
|
||||
"schemaVersion": 42,
|
||||
"title": "V22 Table Panel Styles Test"
|
||||
}
|
||||
+1
-1
@@ -30,7 +30,7 @@
|
||||
}
|
||||
],
|
||||
"refresh": "",
|
||||
"schemaVersion": 41,
|
||||
"schemaVersion": 42,
|
||||
"templating": {
|
||||
"list": [
|
||||
{
|
||||
|
||||
@@ -1369,5 +1369,5 @@
|
||||
}
|
||||
],
|
||||
"refresh": "",
|
||||
"schemaVersion": 41
|
||||
}
|
||||
"schemaVersion": 42
|
||||
}
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
}
|
||||
],
|
||||
"refresh": "",
|
||||
"schemaVersion": 41,
|
||||
"schemaVersion": 42,
|
||||
"templating": {
|
||||
"list": [
|
||||
{
|
||||
|
||||
@@ -68,5 +68,5 @@
|
||||
}
|
||||
],
|
||||
"refresh": "",
|
||||
"schemaVersion": 41
|
||||
"schemaVersion": 42
|
||||
}
|
||||
Vendored
+1
-1
@@ -64,7 +64,7 @@
|
||||
}
|
||||
],
|
||||
"refresh": "",
|
||||
"schemaVersion": 41,
|
||||
"schemaVersion": 42,
|
||||
"templating": {
|
||||
"list": [
|
||||
{
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"panels": [],
|
||||
"refresh": "",
|
||||
"schemaVersion": 41,
|
||||
"schemaVersion": 42,
|
||||
"templating": {
|
||||
"list": [
|
||||
{
|
||||
|
||||
+1
-1
@@ -262,7 +262,7 @@
|
||||
}
|
||||
],
|
||||
"refresh": "",
|
||||
"schemaVersion": 41,
|
||||
"schemaVersion": 42,
|
||||
"templating": {
|
||||
"list": [
|
||||
{
|
||||
|
||||
@@ -535,7 +535,7 @@
|
||||
}
|
||||
],
|
||||
"refresh": "",
|
||||
"schemaVersion": 41,
|
||||
"schemaVersion": 42,
|
||||
"templating": {
|
||||
"list": []
|
||||
},
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@
|
||||
}
|
||||
],
|
||||
"refresh": "",
|
||||
"schemaVersion": 41,
|
||||
"schemaVersion": 42,
|
||||
"templating": {
|
||||
"list": [
|
||||
{
|
||||
|
||||
+1
-1
@@ -368,6 +368,6 @@
|
||||
}
|
||||
],
|
||||
"refresh": "",
|
||||
"schemaVersion": 41,
|
||||
"schemaVersion": 42,
|
||||
"title": "V30 Value Mappings and Tooltip Options Migration Test Dashboard"
|
||||
}
|
||||
+1
-1
@@ -285,6 +285,6 @@
|
||||
}
|
||||
],
|
||||
"refresh": "",
|
||||
"schemaVersion": 41,
|
||||
"schemaVersion": 42,
|
||||
"title": "V31 LabelsToFields Merge Migration Test Dashboard"
|
||||
}
|
||||
@@ -124,7 +124,7 @@
|
||||
}
|
||||
],
|
||||
"refresh": "",
|
||||
"schemaVersion": 41,
|
||||
"schemaVersion": 42,
|
||||
"templating": {
|
||||
"list": [
|
||||
{
|
||||
|
||||
@@ -265,6 +265,6 @@
|
||||
}
|
||||
],
|
||||
"refresh": "",
|
||||
"schemaVersion": 41,
|
||||
"schemaVersion": 42,
|
||||
"title": "V33 Panel Datasource Name to Ref Test"
|
||||
}
|
||||
+1
-1
@@ -634,6 +634,6 @@
|
||||
}
|
||||
],
|
||||
"refresh": "",
|
||||
"schemaVersion": 41,
|
||||
"schemaVersion": 42,
|
||||
"title": "CloudWatch Multiple Statistics Test Dashboard"
|
||||
}
|
||||
+1
-1
@@ -255,6 +255,6 @@
|
||||
}
|
||||
],
|
||||
"refresh": "",
|
||||
"schemaVersion": 41,
|
||||
"schemaVersion": 42,
|
||||
"title": "X-Axis Visibility Test Dashboard"
|
||||
}
|
||||
@@ -322,7 +322,7 @@
|
||||
}
|
||||
],
|
||||
"refresh": "",
|
||||
"schemaVersion": 41,
|
||||
"schemaVersion": 42,
|
||||
"templating": {
|
||||
"list": [
|
||||
{
|
||||
|
||||
@@ -125,6 +125,6 @@
|
||||
}
|
||||
],
|
||||
"refresh": "",
|
||||
"schemaVersion": 41,
|
||||
"schemaVersion": 42,
|
||||
"title": "V37 Legend Normalization Test Dashboard"
|
||||
}
|
||||
+1
-1
@@ -218,6 +218,6 @@
|
||||
}
|
||||
],
|
||||
"refresh": "",
|
||||
"schemaVersion": 41,
|
||||
"schemaVersion": 42,
|
||||
"title": "V38 Table Migration Comprehensive Test Dashboard"
|
||||
}
|
||||
+1
-1
@@ -218,6 +218,6 @@
|
||||
}
|
||||
],
|
||||
"refresh": "",
|
||||
"schemaVersion": 41,
|
||||
"schemaVersion": 42,
|
||||
"title": "V38 Table Migration Test Dashboard"
|
||||
}
|
||||
+1
-1
@@ -154,6 +154,6 @@
|
||||
}
|
||||
],
|
||||
"refresh": "",
|
||||
"schemaVersion": 41,
|
||||
"schemaVersion": 42,
|
||||
"title": "V39 TimeSeriesTable Transformation Migration Test Dashboard"
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"panels": [],
|
||||
"refresh": "",
|
||||
"schemaVersion": 41,
|
||||
"schemaVersion": 42,
|
||||
"time": {
|
||||
"from": "now-6h",
|
||||
"to": "now"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"panels": [],
|
||||
"refresh": "",
|
||||
"schemaVersion": 41,
|
||||
"schemaVersion": 42,
|
||||
"time": {
|
||||
"from": "now-6h",
|
||||
"to": "now"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"panels": [],
|
||||
"refresh": "",
|
||||
"schemaVersion": 41,
|
||||
"schemaVersion": 42,
|
||||
"time": {
|
||||
"from": "now-6h",
|
||||
"to": "now"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"panels": [],
|
||||
"refresh": "",
|
||||
"schemaVersion": 41,
|
||||
"schemaVersion": 42,
|
||||
"time": {
|
||||
"from": "now-6h",
|
||||
"to": "now"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"panels": [],
|
||||
"refresh": "1m",
|
||||
"schemaVersion": 41,
|
||||
"schemaVersion": 42,
|
||||
"time": {
|
||||
"from": "now-6h",
|
||||
"to": "now"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"panels": [],
|
||||
"refresh": "",
|
||||
"schemaVersion": 41,
|
||||
"schemaVersion": 42,
|
||||
"time": {
|
||||
"from": "now-6h",
|
||||
"to": "now"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"panels": [],
|
||||
"refresh": "",
|
||||
"schemaVersion": 41,
|
||||
"schemaVersion": 42,
|
||||
"time": {
|
||||
"from": "now-6h",
|
||||
"to": "now"
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"schemaVersion": 41,
|
||||
"schemaVersion": 42,
|
||||
"timepicker": {
|
||||
"refresh_intervals": [
|
||||
"5s",
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"panels": [],
|
||||
"refresh": "",
|
||||
"schemaVersion": 41,
|
||||
"schemaVersion": 42,
|
||||
"time": {
|
||||
"from": "now-6h",
|
||||
"to": "now"
|
||||
|
||||
@@ -0,0 +1,165 @@
|
||||
{
|
||||
"panels": [
|
||||
{
|
||||
"fieldConfig": {
|
||||
"defaults": {},
|
||||
"overrides": [
|
||||
{
|
||||
"matcher": {
|
||||
"id": "byName",
|
||||
"options": "Field1"
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"id": "custom.hideFrom",
|
||||
"value": {
|
||||
"tooltip": true,
|
||||
"viz": true
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"id": 1,
|
||||
"title": "Panel with hideFrom.viz = true",
|
||||
"type": "timeseries"
|
||||
},
|
||||
{
|
||||
"fieldConfig": {
|
||||
"defaults": {},
|
||||
"overrides": [
|
||||
{
|
||||
"matcher": {
|
||||
"id": "byName",
|
||||
"options": "Field2"
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"id": "custom.hideFrom",
|
||||
"value": {
|
||||
"legend": false,
|
||||
"tooltip": true,
|
||||
"viz": true
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"matcher": {
|
||||
"id": "__systemRef",
|
||||
"options": "hiddenSeries"
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"id": "custom.hideFrom",
|
||||
"value": {
|
||||
"tooltip": true,
|
||||
"viz": true
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"id": 2,
|
||||
"title": "Panel with multiple overrides",
|
||||
"type": "graph"
|
||||
},
|
||||
{
|
||||
"collapsed": true,
|
||||
"id": 3,
|
||||
"panels": [
|
||||
{
|
||||
"fieldConfig": {
|
||||
"defaults": {},
|
||||
"overrides": [
|
||||
{
|
||||
"matcher": {
|
||||
"id": "byRegexp",
|
||||
"options": "/.*/"
|
||||
},
|
||||
"properties": [
|
||||
{
|
||||
"id": "custom.hideFrom",
|
||||
"value": {
|
||||
"tooltip": true,
|
||||
"viz": true
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"id": 4,
|
||||
"title": "Nested panel with hideFrom",
|
||||
"type": "stat"
|
||||
},
|
||||
{
|
||||
"fieldConfig": {
|
||||
"defaults": {},
|
||||
"overrides": [
|
||||
{
|
||||
"properties": [
|
||||
{
|
||||
"id": "unit",
|
||||
"value": "short"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"id": 5,
|
||||
"title": "Panel without hideFrom",
|
||||
"type": "table"
|
||||
}
|
||||
],
|
||||
"title": "Row with nested panels",
|
||||
"type": "row"
|
||||
},
|
||||
{
|
||||
"fieldConfig": {
|
||||
"defaults": {},
|
||||
"overrides": [
|
||||
{
|
||||
"properties": [
|
||||
{
|
||||
"id": "custom.hideFrom",
|
||||
"value": {
|
||||
"tooltip": false,
|
||||
"viz": false
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"id": 6,
|
||||
"title": "Panel with viz false (should not be modified)",
|
||||
"type": "gauge"
|
||||
},
|
||||
{
|
||||
"fieldConfig": {
|
||||
"defaults": {},
|
||||
"overrides": [
|
||||
{
|
||||
"properties": [
|
||||
{
|
||||
"id": "custom.hideFrom",
|
||||
"value": {
|
||||
"tooltip": true,
|
||||
"viz": true
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"id": 7,
|
||||
"title": "Panel with already set tooltip (should not be modified)",
|
||||
"type": "barchart"
|
||||
}
|
||||
],
|
||||
"schemaVersion": 42,
|
||||
"title": "v42 Migration Test - HideFrom Tooltip"
|
||||
}
|
||||
Reference in New Issue
Block a user