Dashboard Migrations: V13 no-op, remove 28 and v24 as they are autoMigrations; and remove dead code from DashboardMigrator (#110008)

* migrate to v19

* migrate to v18

* Migration to be verified: v17 Convert minSpan to maxPerRow in panels

* Migration to be verified: 16 Grid layout migration

* Refactor v17 and v19 migrations to use shared helper functions

* Migration to be verified: 15 No-op migration for schema consistency

* Migration to be verified: 14 Shared crosshair to graph tooltip migration

* cleanup

* wip

* complete migration

* fix lint issues

* refactor and test with minimal graph config

* update tests

* extract defaults outside the func

* lint

* lint

* add missing showValues prop

* add context and fix latest version

* generate snapshots

* v13 should be no-op

* clean up

* remove v28

* remove singlestat migraiton from frontend migrator because this is an automigration

* remove unused function

* Remove v24 table plugin logic

* cleanup

* remove plugin version for automigrate as it was used only in v24 and v28 that have been removed

* cleanup

---------

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
This commit is contained in:
Haris Rozajac
2025-10-09 11:14:02 -06:00
committed by GitHub
co-authored by Dominik Prokop
parent 5eb295d850
commit 4d3c5d1550
45 changed files with 3555 additions and 6766 deletions
@@ -327,60 +327,12 @@
}
},
{
"autoMigrateFrom": "table-old",
"columns": [],
"datasource": {
"uid": "gdev-mssql"
},
"fieldConfig": {
"defaults": {
"custom": {
"cellOptions": {
"type": "auto"
},
"footer": {
"reducers": []
},
"inspect": false
},
"decimals": 2,
"displayName": "",
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Time"
},
"properties": [
{
"id": "displayName",
"value": "Time"
},
{
"id": "unit",
"value": "time: YYYY-MM-DD HH:mm:ss"
},
{
"id": "custom.align"
}
]
}
]
},
"fontSize": "100%",
"gridPos": {
"h": 10,
"w": 24,
@@ -388,11 +340,35 @@
"y": 18
},
"id": 4,
"options": {
"cellHeight": "sm",
"showHeader": true
"scroll": true,
"showHeader": true,
"sort": {
"col": 0,
"desc": true
},
"pluginVersion": "12.1.0",
"styles": [
{
"alias": "Time",
"align": "auto",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "Time",
"type": "date"
},
{
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "/.*/",
"thresholds": [],
"type": "number",
"unit": "short"
}
],
"targets": [
{
"alias": "",
@@ -405,14 +381,7 @@
}
],
"title": "Values",
"transformations": [
{
"id": "merge",
"options": {
"reducers": []
}
}
],
"transform": "table",
"type": "table"
}
],
@@ -77,40 +77,12 @@
"links": [],
"panels": [
{
"autoMigrateFrom": "table-old",
"columns": [],
"datasource": {
"uid": "gdev-mssql-ds-tests"
},
"fieldConfig": {
"defaults": {
"custom": {
"cellOptions": {
"type": "auto"
},
"footer": {
"reducers": []
},
"inspect": false
},
"decimals": 2,
"displayName": "",
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"fontSize": "100%",
"gridPos": {
"h": 4,
"w": 24,
@@ -118,11 +90,28 @@
"y": 0
},
"id": 2,
"options": {
"cellHeight": "sm",
"showHeader": true
"scroll": true,
"showHeader": true,
"sort": {
"col": 0,
"desc": true
},
"pluginVersion": "12.1.0",
"styles": [
{
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "/.*/",
"thresholds": [],
"type": "string",
"unit": "short"
}
],
"targets": [
{
"alias": "",
@@ -135,71 +124,16 @@
}
],
"title": "Data types",
"transformations": [
{
"id": "merge",
"options": {
"reducers": []
}
}
],
"transform": "table",
"type": "table"
},
{
"autoMigrateFrom": "table-old",
"columns": [],
"datasource": {
"uid": "gdev-mssql-ds-tests"
},
"fieldConfig": {
"defaults": {
"custom": {
"cellOptions": {
"type": "auto"
},
"footer": {
"reducers": []
},
"inspect": false
},
"decimals": 2,
"displayName": "",
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "time"
},
"properties": [
{
"id": "displayName",
"value": "Time"
},
{
"id": "unit",
"value": "time: YYYY-MM-DD HH:mm:ss"
},
{
"id": "custom.align"
}
]
}
]
},
"fontSize": "100%",
"gridPos": {
"h": 3,
"w": 6,
@@ -207,11 +141,35 @@
"y": 4
},
"id": 32,
"options": {
"cellHeight": "sm",
"showHeader": true
"scroll": true,
"showHeader": true,
"sort": {
"col": 0,
"desc": true
},
"pluginVersion": "12.1.0",
"styles": [
{
"alias": "Time",
"align": "auto",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "time",
"type": "date"
},
{
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "/.*/",
"thresholds": [],
"type": "number",
"unit": "short"
}
],
"targets": [
{
"alias": "",
@@ -225,71 +183,16 @@
}
],
"title": "cast(null as bigint) as time",
"transformations": [
{
"id": "merge",
"options": {
"reducers": []
}
}
],
"transform": "table",
"type": "table"
},
{
"autoMigrateFrom": "table-old",
"columns": [],
"datasource": {
"uid": "gdev-mssql-ds-tests"
},
"fieldConfig": {
"defaults": {
"custom": {
"cellOptions": {
"type": "auto"
},
"footer": {
"reducers": []
},
"inspect": false
},
"decimals": 2,
"displayName": "",
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "time"
},
"properties": [
{
"id": "displayName",
"value": "Time"
},
{
"id": "unit",
"value": "time: YYYY-MM-DD HH:mm:ss"
},
{
"id": "custom.align"
}
]
}
]
},
"fontSize": "100%",
"gridPos": {
"h": 3,
"w": 6,
@@ -297,11 +200,35 @@
"y": 4
},
"id": 33,
"options": {
"cellHeight": "sm",
"showHeader": true
"scroll": true,
"showHeader": true,
"sort": {
"col": 0,
"desc": true
},
"pluginVersion": "12.1.0",
"styles": [
{
"alias": "Time",
"align": "auto",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "time",
"type": "date"
},
{
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "/.*/",
"thresholds": [],
"type": "number",
"unit": "short"
}
],
"targets": [
{
"alias": "",
@@ -315,71 +242,16 @@
}
],
"title": "cast(null as datetime) as time",
"transformations": [
{
"id": "merge",
"options": {
"reducers": []
}
}
],
"transform": "table",
"type": "table"
},
{
"autoMigrateFrom": "table-old",
"columns": [],
"datasource": {
"uid": "gdev-mssql-ds-tests"
},
"fieldConfig": {
"defaults": {
"custom": {
"cellOptions": {
"type": "auto"
},
"footer": {
"reducers": []
},
"inspect": false
},
"decimals": 2,
"displayName": "",
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "time"
},
"properties": [
{
"id": "displayName",
"value": "Time"
},
{
"id": "unit",
"value": "time: YYYY-MM-DD HH:mm:ss"
},
{
"id": "custom.align"
}
]
}
]
},
"fontSize": "100%",
"gridPos": {
"h": 3,
"w": 6,
@@ -387,11 +259,35 @@
"y": 4
},
"id": 34,
"options": {
"cellHeight": "sm",
"showHeader": true
"scroll": true,
"showHeader": true,
"sort": {
"col": 0,
"desc": true
},
"pluginVersion": "12.1.0",
"styles": [
{
"alias": "Time",
"align": "auto",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "time",
"type": "date"
},
{
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "/.*/",
"thresholds": [],
"type": "number",
"unit": "short"
}
],
"targets": [
{
"alias": "",
@@ -405,71 +301,16 @@
}
],
"title": "GETDATE() as time",
"transformations": [
{
"id": "merge",
"options": {
"reducers": []
}
}
],
"transform": "table",
"type": "table"
},
{
"autoMigrateFrom": "table-old",
"columns": [],
"datasource": {
"uid": "gdev-mssql-ds-tests"
},
"fieldConfig": {
"defaults": {
"custom": {
"cellOptions": {
"type": "auto"
},
"footer": {
"reducers": []
},
"inspect": false
},
"decimals": 2,
"displayName": "",
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "time"
},
"properties": [
{
"id": "displayName",
"value": "Time"
},
{
"id": "unit",
"value": "time: YYYY-MM-DD HH:mm:ss"
},
{
"id": "custom.align"
}
]
}
]
},
"fontSize": "100%",
"gridPos": {
"h": 3,
"w": 6,
@@ -477,11 +318,35 @@
"y": 4
},
"id": 35,
"options": {
"cellHeight": "sm",
"showHeader": true
"scroll": true,
"showHeader": true,
"sort": {
"col": 0,
"desc": true
},
"pluginVersion": "12.1.0",
"styles": [
{
"alias": "Time",
"align": "auto",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "time",
"type": "date"
},
{
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "/.*/",
"thresholds": [],
"type": "number",
"unit": "short"
}
],
"targets": [
{
"alias": "",
@@ -495,14 +360,7 @@
}
],
"title": "GETUTCDATE() as time",
"transformations": [
{
"id": "merge",
"options": {
"reducers": []
}
}
],
"transform": "table",
"type": "table"
},
{
@@ -329,60 +329,12 @@
}
},
{
"autoMigrateFrom": "table-old",
"columns": [],
"datasource": {
"uid": "gdev-mysql"
},
"fieldConfig": {
"defaults": {
"custom": {
"cellOptions": {
"type": "auto"
},
"footer": {
"reducers": []
},
"inspect": false
},
"decimals": 2,
"displayName": "",
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Time"
},
"properties": [
{
"id": "displayName",
"value": "Time"
},
{
"id": "unit",
"value": "time: YYYY-MM-DD HH:mm:ss"
},
{
"id": "custom.align"
}
]
}
]
},
"fontSize": "100%",
"gridPos": {
"h": 9,
"w": 24,
@@ -390,11 +342,36 @@
"y": 18
},
"id": 6,
"options": {
"cellHeight": "sm",
"showHeader": true
"scroll": true,
"showHeader": true,
"sort": {
"col": 0,
"desc": true
},
"pluginVersion": "12.1.0",
"styles": [
{
"alias": "Time",
"align": "auto",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"link": false,
"pattern": "Time",
"type": "date"
},
{
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "/.*/",
"thresholds": [],
"type": "number",
"unit": "short"
}
],
"targets": [
{
"alias": "",
@@ -408,14 +385,7 @@
}
],
"title": "Values",
"transformations": [
{
"id": "merge",
"options": {
"reducers": []
}
}
],
"transform": "table",
"type": "table"
}
],
@@ -77,40 +77,12 @@
"links": [],
"panels": [
{
"autoMigrateFrom": "table-old",
"columns": [],
"datasource": {
"uid": "gdev-mysql-ds-tests"
},
"fieldConfig": {
"defaults": {
"custom": {
"cellOptions": {
"type": "auto"
},
"footer": {
"reducers": []
},
"inspect": false
},
"decimals": 2,
"displayName": "",
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"fontSize": "100%",
"gridPos": {
"h": 4,
"w": 24,
@@ -118,11 +90,28 @@
"y": 0
},
"id": 2,
"options": {
"cellHeight": "sm",
"showHeader": true
"scroll": true,
"showHeader": true,
"sort": {
"col": 0,
"desc": true
},
"pluginVersion": "12.1.0",
"styles": [
{
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "/.*/",
"thresholds": [],
"type": "string",
"unit": "short"
}
],
"targets": [
{
"alias": "",
@@ -135,71 +124,16 @@
}
],
"title": "Data types",
"transformations": [
{
"id": "merge",
"options": {
"reducers": []
}
}
],
"transform": "table",
"type": "table"
},
{
"autoMigrateFrom": "table-old",
"columns": [],
"datasource": {
"uid": "gdev-mysql-ds-tests"
},
"fieldConfig": {
"defaults": {
"custom": {
"cellOptions": {
"type": "auto"
},
"footer": {
"reducers": []
},
"inspect": false
},
"decimals": 2,
"displayName": "",
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "time_sec"
},
"properties": [
{
"id": "displayName",
"value": "Time"
},
{
"id": "unit",
"value": "time: YYYY-MM-DD HH:mm:ss"
},
{
"id": "custom.align"
}
]
}
]
},
"fontSize": "100%",
"gridPos": {
"h": 3,
"w": 6,
@@ -207,11 +141,35 @@
"y": 4
},
"id": 32,
"options": {
"cellHeight": "sm",
"showHeader": true
"scroll": true,
"showHeader": true,
"sort": {
"col": 0,
"desc": true
},
"pluginVersion": "12.1.0",
"styles": [
{
"alias": "Time",
"align": "auto",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "time_sec",
"type": "date"
},
{
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "/.*/",
"thresholds": [],
"type": "number",
"unit": "short"
}
],
"targets": [
{
"alias": "",
@@ -225,71 +183,16 @@
}
],
"title": "cast(null as unsigned integer) as time",
"transformations": [
{
"id": "merge",
"options": {
"reducers": []
}
}
],
"transform": "table",
"type": "table"
},
{
"autoMigrateFrom": "table-old",
"columns": [],
"datasource": {
"uid": "gdev-mysql-ds-tests"
},
"fieldConfig": {
"defaults": {
"custom": {
"cellOptions": {
"type": "auto"
},
"footer": {
"reducers": []
},
"inspect": false
},
"decimals": 2,
"displayName": "",
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "time_sec"
},
"properties": [
{
"id": "displayName",
"value": "Time"
},
{
"id": "unit",
"value": "time: YYYY-MM-DD HH:mm:ss"
},
{
"id": "custom.align"
}
]
}
]
},
"fontSize": "100%",
"gridPos": {
"h": 3,
"w": 6,
@@ -297,11 +200,35 @@
"y": 4
},
"id": 33,
"options": {
"cellHeight": "sm",
"showHeader": true
"scroll": true,
"showHeader": true,
"sort": {
"col": 0,
"desc": true
},
"pluginVersion": "12.1.0",
"styles": [
{
"alias": "Time",
"align": "auto",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "time_sec",
"type": "date"
},
{
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "/.*/",
"thresholds": [],
"type": "number",
"unit": "short"
}
],
"targets": [
{
"alias": "",
@@ -315,71 +242,16 @@
}
],
"title": "cast(null as datetime) as time",
"transformations": [
{
"id": "merge",
"options": {
"reducers": []
}
}
],
"transform": "table",
"type": "table"
},
{
"autoMigrateFrom": "table-old",
"columns": [],
"datasource": {
"uid": "gdev-mysql-ds-tests"
},
"fieldConfig": {
"defaults": {
"custom": {
"cellOptions": {
"type": "auto"
},
"footer": {
"reducers": []
},
"inspect": false
},
"decimals": 2,
"displayName": "",
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "time_sec"
},
"properties": [
{
"id": "displayName",
"value": "Time"
},
{
"id": "unit",
"value": "time: YYYY-MM-DD HH:mm:ss"
},
{
"id": "custom.align"
}
]
}
]
},
"fontSize": "100%",
"gridPos": {
"h": 3,
"w": 6,
@@ -387,11 +259,35 @@
"y": 4
},
"id": 34,
"options": {
"cellHeight": "sm",
"showHeader": true
"scroll": true,
"showHeader": true,
"sort": {
"col": 0,
"desc": true
},
"pluginVersion": "12.1.0",
"styles": [
{
"alias": "Time",
"align": "auto",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "time_sec",
"type": "date"
},
{
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "/.*/",
"thresholds": [],
"type": "number",
"unit": "short"
}
],
"targets": [
{
"alias": "",
@@ -405,71 +301,16 @@
}
],
"title": "cast()NOW() as datetime) as time",
"transformations": [
{
"id": "merge",
"options": {
"reducers": []
}
}
],
"transform": "table",
"type": "table"
},
{
"autoMigrateFrom": "table-old",
"columns": [],
"datasource": {
"uid": "gdev-mysql-ds-tests"
},
"fieldConfig": {
"defaults": {
"custom": {
"cellOptions": {
"type": "auto"
},
"footer": {
"reducers": []
},
"inspect": false
},
"decimals": 2,
"displayName": "",
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "time"
},
"properties": [
{
"id": "displayName",
"value": "Time"
},
{
"id": "unit",
"value": "time: YYYY-MM-DD HH:mm:ss"
},
{
"id": "custom.align"
}
]
}
]
},
"fontSize": "100%",
"gridPos": {
"h": 3,
"w": 6,
@@ -477,11 +318,35 @@
"y": 4
},
"id": 35,
"options": {
"cellHeight": "sm",
"showHeader": true
"scroll": true,
"showHeader": true,
"sort": {
"col": 0,
"desc": true
},
"pluginVersion": "12.1.0",
"styles": [
{
"alias": "Time",
"align": "auto",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "time",
"type": "date"
},
{
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "/.*/",
"thresholds": [],
"type": "number",
"unit": "short"
}
],
"targets": [
{
"alias": "",
@@ -495,14 +360,7 @@
}
],
"title": "NOW() as time",
"transformations": [
{
"id": "merge",
"options": {
"reducers": []
}
}
],
"transform": "table",
"type": "table"
},
{
@@ -371,60 +371,12 @@
}
},
{
"autoMigrateFrom": "table-old",
"columns": [],
"datasource": {
"uid": "gdev-postgres"
},
"fieldConfig": {
"defaults": {
"custom": {
"cellOptions": {
"type": "auto"
},
"footer": {
"reducers": []
},
"inspect": false
},
"decimals": 2,
"displayName": "",
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Time"
},
"properties": [
{
"id": "displayName",
"value": "Time"
},
{
"id": "unit",
"value": "time: YYYY-MM-DD HH:mm:ss"
},
{
"id": "custom.align"
}
]
}
]
},
"fontSize": "100%",
"gridPos": {
"h": 9,
"w": 24,
@@ -432,11 +384,36 @@
"y": 18
},
"id": 6,
"options": {
"cellHeight": "sm",
"showHeader": true
"scroll": true,
"showHeader": true,
"sort": {
"col": 0,
"desc": true
},
"pluginVersion": "12.1.0",
"styles": [
{
"alias": "Time",
"align": "auto",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"link": false,
"pattern": "Time",
"type": "date"
},
{
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "/.*/",
"thresholds": [],
"type": "number",
"unit": "short"
}
],
"targets": [
{
"alias": "",
@@ -450,14 +427,7 @@
}
],
"title": "Values",
"transformations": [
{
"id": "merge",
"options": {
"reducers": []
}
}
],
"transform": "table",
"type": "table"
}
],
@@ -77,40 +77,12 @@
"links": [],
"panels": [
{
"autoMigrateFrom": "table-old",
"columns": [],
"datasource": {
"uid": "gdev-postgres-ds-tests"
},
"fieldConfig": {
"defaults": {
"custom": {
"cellOptions": {
"type": "auto"
},
"footer": {
"reducers": []
},
"inspect": false
},
"decimals": 2,
"displayName": "",
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": []
},
"fontSize": "100%",
"gridPos": {
"h": 4,
"w": 24,
@@ -118,11 +90,28 @@
"y": 0
},
"id": 2,
"options": {
"cellHeight": "sm",
"showHeader": true
"scroll": true,
"showHeader": true,
"sort": {
"col": 1,
"desc": false
},
"pluginVersion": "12.1.0",
"styles": [
{
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "/.*/",
"thresholds": [],
"type": "string",
"unit": "short"
}
],
"targets": [
{
"alias": "",
@@ -135,71 +124,16 @@
}
],
"title": "Data types",
"transformations": [
{
"id": "merge",
"options": {
"reducers": []
}
}
],
"transform": "table",
"type": "table"
},
{
"autoMigrateFrom": "table-old",
"columns": [],
"datasource": {
"uid": "gdev-postgres-ds-tests"
},
"fieldConfig": {
"defaults": {
"custom": {
"cellOptions": {
"type": "auto"
},
"footer": {
"reducers": []
},
"inspect": false
},
"decimals": 2,
"displayName": "",
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "time"
},
"properties": [
{
"id": "displayName",
"value": "Time"
},
{
"id": "unit",
"value": "time: YYYY-MM-DD HH:mm:ss"
},
{
"id": "custom.align"
}
]
}
]
},
"fontSize": "100%",
"gridPos": {
"h": 3,
"w": 6,
@@ -207,11 +141,35 @@
"y": 4
},
"id": 32,
"options": {
"cellHeight": "sm",
"showHeader": true
"scroll": true,
"showHeader": true,
"sort": {
"col": 0,
"desc": true
},
"pluginVersion": "12.1.0",
"styles": [
{
"alias": "Time",
"align": "auto",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "time",
"type": "date"
},
{
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "/.*/",
"thresholds": [],
"type": "number",
"unit": "short"
}
],
"targets": [
{
"alias": "",
@@ -225,71 +183,16 @@
}
],
"title": "cast(null as bigint) as time",
"transformations": [
{
"id": "merge",
"options": {
"reducers": []
}
}
],
"transform": "table",
"type": "table"
},
{
"autoMigrateFrom": "table-old",
"columns": [],
"datasource": {
"uid": "gdev-postgres-ds-tests"
},
"fieldConfig": {
"defaults": {
"custom": {
"cellOptions": {
"type": "auto"
},
"footer": {
"reducers": []
},
"inspect": false
},
"decimals": 2,
"displayName": "",
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "time"
},
"properties": [
{
"id": "displayName",
"value": "Time"
},
{
"id": "unit",
"value": "time: YYYY-MM-DD HH:mm:ss"
},
{
"id": "custom.align"
}
]
}
]
},
"fontSize": "100%",
"gridPos": {
"h": 3,
"w": 6,
@@ -297,11 +200,35 @@
"y": 4
},
"id": 33,
"options": {
"cellHeight": "sm",
"showHeader": true
"scroll": true,
"showHeader": true,
"sort": {
"col": 0,
"desc": true
},
"pluginVersion": "12.1.0",
"styles": [
{
"alias": "Time",
"align": "auto",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "time",
"type": "date"
},
{
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "/.*/",
"thresholds": [],
"type": "number",
"unit": "short"
}
],
"targets": [
{
"alias": "",
@@ -315,71 +242,16 @@
}
],
"title": "cast(null as datetime) as time",
"transformations": [
{
"id": "merge",
"options": {
"reducers": []
}
}
],
"transform": "table",
"type": "table"
},
{
"autoMigrateFrom": "table-old",
"columns": [],
"datasource": {
"uid": "gdev-postgres-ds-tests"
},
"fieldConfig": {
"defaults": {
"custom": {
"cellOptions": {
"type": "auto"
},
"footer": {
"reducers": []
},
"inspect": false
},
"decimals": 2,
"displayName": "",
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "time"
},
"properties": [
{
"id": "displayName",
"value": "Time"
},
{
"id": "unit",
"value": "time: YYYY-MM-DD HH:mm:ss"
},
{
"id": "custom.align"
}
]
}
]
},
"fontSize": "100%",
"gridPos": {
"h": 3,
"w": 6,
@@ -387,11 +259,35 @@
"y": 4
},
"id": 34,
"options": {
"cellHeight": "sm",
"showHeader": true
"scroll": true,
"showHeader": true,
"sort": {
"col": 0,
"desc": true
},
"pluginVersion": "12.1.0",
"styles": [
{
"alias": "Time",
"align": "auto",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "time",
"type": "date"
},
{
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "/.*/",
"thresholds": [],
"type": "number",
"unit": "short"
}
],
"targets": [
{
"alias": "",
@@ -405,71 +301,16 @@
}
],
"title": "localtimestamp as time",
"transformations": [
{
"id": "merge",
"options": {
"reducers": []
}
}
],
"transform": "table",
"type": "table"
},
{
"autoMigrateFrom": "table-old",
"columns": [],
"datasource": {
"uid": "gdev-postgres-ds-tests"
},
"fieldConfig": {
"defaults": {
"custom": {
"cellOptions": {
"type": "auto"
},
"footer": {
"reducers": []
},
"inspect": false
},
"decimals": 2,
"displayName": "",
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "short"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "time"
},
"properties": [
{
"id": "displayName",
"value": "Time"
},
{
"id": "unit",
"value": "time: YYYY-MM-DD HH:mm:ss"
},
{
"id": "custom.align"
}
]
}
]
},
"fontSize": "100%",
"gridPos": {
"h": 3,
"w": 6,
@@ -477,11 +318,35 @@
"y": 4
},
"id": 35,
"options": {
"cellHeight": "sm",
"showHeader": true
"scroll": true,
"showHeader": true,
"sort": {
"col": 0,
"desc": true
},
"pluginVersion": "12.1.0",
"styles": [
{
"alias": "Time",
"align": "auto",
"dateFormat": "YYYY-MM-DD HH:mm:ss",
"pattern": "time",
"type": "date"
},
{
"alias": "",
"align": "auto",
"colors": [
"rgba(245, 54, 54, 0.9)",
"rgba(237, 129, 40, 0.89)",
"rgba(50, 172, 45, 0.97)"
],
"decimals": 2,
"pattern": "/.*/",
"thresholds": [],
"type": "number",
"unit": "short"
}
],
"targets": [
{
"alias": "",
@@ -495,14 +360,7 @@
}
],
"title": "NOW() as time",
"transformations": [
{
"id": "merge",
"options": {
"reducers": []
}
}
],
"transform": "table",
"type": "table"
},
{
@@ -49,44 +49,26 @@
"type": "text"
},
{
"autoMigrateFrom": "singlestat",
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": {
"apiVersion": "v1",
"type": "grafana-testdata-datasource",
"uid": "testdata-type-uid"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "rgb(31, 120, 193)",
"mode": "fixed"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 6,
@@ -102,25 +84,37 @@
"url": "d/-Y-tnEDWk/dashboard-tests-nested-template-variables?orgId=1\u0026${__all_variables}\u0026${__url_time_range}"
}
],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": true
},
"pluginVersion": "12.1.0",
"tableColumn": "",
"targets": [
{
"datasource": {
@@ -132,8 +126,18 @@
"scenarioId": "random_walk"
}
],
"thresholds": "",
"title": "Panel drilldown link test",
"type": "stat"
"type": "stat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "avg"
},
{
"aliasColors": {},
@@ -55,43 +55,31 @@
"type": "text"
},
{
"autoMigrateFrom": "singlestat",
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": {
"type": "grafana-testdata-datasource"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "rgb(31, 120, 193)",
"mode": "fixed"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
"custom": {}
},
"overrides": []
},
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 9,
"w": 4,
@@ -106,25 +94,28 @@
"url": "d/O6GmNPvWk/dashboard-tests-nested-template-variables-drilldown?orgId=1\u0026${__all_variables}\u0026${__url_time_range}"
}
],
"mappingType": 1,
"mappingTypes": [],
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
"nullPointMode": "connected",
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": true
},
"pluginVersion": "12.1.0",
"tableColumn": "",
"targets": [
{
"datasource": {
@@ -134,8 +125,18 @@
"scenarioId": "random_walk"
}
],
"thresholds": "",
"title": "Panel drilldown link test",
"type": "stat"
"type": "stat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "avg"
},
{
"datasource": {
@@ -191,38 +191,24 @@
"type": "bargauge"
},
{
"autoMigrateFrom": "singlestat",
"colorBackground": false,
"colorValue": true,
"colors": [
"#299c46",
"#73BF69",
"#d44a3a"
],
"datasource": {
"type": "grafana-testdata-datasource"
},
"fieldConfig": {
"defaults": {
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "ms"
},
"overrides": []
"format": "ms",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 4,
@@ -231,25 +217,38 @@
"y": 7
},
"id": 20,
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"pluginVersion": "6.2.0-pre",
"postfix": "",
"postfixFontSize": "50%",
"prefix": "p99",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": true
},
"pluginVersion": "12.1.0",
"tableColumn": "",
"targets": [
{
"datasource": {
@@ -259,41 +258,37 @@
"scenarioId": "random_walk"
}
],
"type": "stat"
"thresholds": "",
"type": "stat",
"valueFontSize": "120%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "avg"
},
{
"autoMigrateFrom": "singlestat",
"colorBackground": false,
"colorValue": true,
"colors": [
"#299c46",
"#73BF69",
"#d44a3a"
],
"datasource": {
"type": "grafana-testdata-datasource"
},
"fieldConfig": {
"defaults": {
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "ms"
},
"overrides": []
"format": "ms",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 4,
@@ -302,25 +297,38 @@
"y": 7
},
"id": 23,
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"pluginVersion": "6.2.0-pre",
"postfix": "",
"postfixFontSize": "50%",
"prefix": "p95",
"prefixFontSize": "80%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": true
},
"pluginVersion": "12.1.0",
"tableColumn": "",
"targets": [
{
"datasource": {
@@ -330,41 +338,37 @@
"scenarioId": "random_walk"
}
],
"type": "stat"
"thresholds": "",
"type": "stat",
"valueFontSize": "120%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "avg"
},
{
"autoMigrateFrom": "singlestat",
"colorBackground": false,
"colorValue": true,
"colors": [
"#299c46",
"#73BF69",
"#d44a3a"
],
"datasource": {
"type": "grafana-testdata-datasource"
},
"fieldConfig": {
"defaults": {
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "ms"
},
"overrides": []
"format": "ms",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 4,
@@ -373,25 +377,38 @@
"y": 7
},
"id": 24,
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"pluginVersion": "6.2.0-pre",
"postfix": "",
"postfixFontSize": "50%",
"prefix": "p90",
"prefixFontSize": "80%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": true
},
"pluginVersion": "12.1.0",
"tableColumn": "",
"targets": [
{
"datasource": {
@@ -401,41 +418,37 @@
"scenarioId": "random_walk"
}
],
"type": "stat"
"thresholds": "",
"type": "stat",
"valueFontSize": "120%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "avg"
},
{
"autoMigrateFrom": "singlestat",
"colorBackground": false,
"colorValue": true,
"colors": [
"#299c46",
"#73BF69",
"#d44a3a"
],
"datasource": {
"type": "grafana-testdata-datasource"
},
"fieldConfig": {
"defaults": {
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "ms"
},
"overrides": []
"format": "ms",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 4,
@@ -444,25 +457,38 @@
"y": 7
},
"id": 45,
"maxDataPoints": 100,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"pluginVersion": "6.2.0-pre",
"postfix": "",
"postfixFontSize": "50%",
"prefix": "p90",
"prefixFontSize": "80%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": true
},
"pluginVersion": "12.1.0",
"tableColumn": "",
"targets": [
{
"datasource": {
@@ -472,7 +498,17 @@
"scenarioId": "random_walk"
}
],
"type": "stat"
"thresholds": "",
"type": "stat",
"valueFontSize": "120%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "avg"
},
{
"aliasColors": {
@@ -20,45 +20,27 @@
"links": [],
"panels": [
{
"autoMigrateFrom": "singlestat",
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"#5794F2",
"#d44a3a"
],
"datasource": {
"apiVersion": "v1",
"type": "grafana-testdata-datasource",
"uid": "testdata-type-uid"
},
"description": "asdasdas",
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "rgb(31, 120, 193)",
"mode": "fixed"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "ms"
},
"overrides": []
"format": "ms",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 4,
@@ -67,25 +49,37 @@
"y": 0
},
"id": 8,
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "100%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": true,
"lineColor": "rgb(31, 120, 193)",
"show": true
},
"pluginVersion": "12.1.0",
"tableColumn": "",
"targets": [
{
"datasource": {
@@ -97,50 +91,42 @@
"scenarioId": "random_walk"
}
],
"thresholds": "",
"timeShift": "2h",
"title": "Title",
"type": "stat"
"type": "stat",
"valueFontSize": "120%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "avg"
},
{
"autoMigrateFrom": "singlestat",
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"#5794F2",
"#d44a3a"
],
"datasource": {
"apiVersion": "v1",
"type": "grafana-testdata-datasource",
"uid": "testdata-type-uid"
},
"description": "asdasdas",
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "rgb(31, 120, 193)",
"mode": "fixed"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "ms"
},
"overrides": []
"format": "ms",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 4,
@@ -149,25 +135,37 @@
"y": 0
},
"id": 2,
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "100%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": true,
"lineColor": "rgb(31, 120, 193)",
"show": true
},
"pluginVersion": "12.1.0",
"tableColumn": "",
"targets": [
{
"datasource": {
@@ -179,49 +177,41 @@
"scenarioId": "random_walk"
}
],
"thresholds": "",
"timeShift": "2h",
"type": "stat"
"type": "stat",
"valueFontSize": "120%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "avg"
},
{
"autoMigrateFrom": "singlestat",
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"#5794F2",
"#d44a3a"
],
"datasource": {
"apiVersion": "v1",
"type": "grafana-testdata-datasource",
"uid": "testdata-type-uid"
},
"description": "asdasdas",
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "rgb(31, 120, 193)",
"mode": "fixed"
},
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "ms"
},
"overrides": []
"format": "ms",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 4,
@@ -230,25 +220,37 @@
"y": 4
},
"id": 4,
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "100%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": true,
"lineColor": "rgb(31, 120, 193)",
"show": true
},
"pluginVersion": "12.1.0",
"tableColumn": "",
"targets": [
{
"datasource": {
@@ -260,9 +262,19 @@
"scenarioId": "random_walk"
}
],
"thresholds": "",
"timeShift": "2h",
"title": "Panel Title",
"type": "stat"
"type": "stat",
"valueFontSize": "120%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "avg"
},
{
"datasource": {
@@ -404,43 +416,27 @@
"type": "text"
},
{
"autoMigrateFrom": "singlestat",
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": {
"apiVersion": "v1",
"type": "grafana-testdata-datasource",
"uid": "testdata-type-uid"
},
"description": "asdasdas",
"fieldConfig": {
"defaults": {
"mappings": [
{
"options": {
"match": "null",
"result": {
"text": "N/A"
}
},
"type": "special"
}
],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
"format": "none",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": true,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 4,
@@ -449,25 +445,38 @@
"y": 8
},
"id": 10,
"maxDataPoints": 100,
"options": {
"colorMode": "none",
"graphMode": "none",
"justifyMode": "auto",
"orientation": "horizontal",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"pluginVersion": "6.2.0-pre",
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"pluginVersion": "12.1.0",
"tableColumn": "",
"targets": [
{
"datasource": {
@@ -479,8 +488,18 @@
"scenarioId": "random_walk"
}
],
"thresholds": "",
"timeShift": "2h",
"type": "stat"
"type": "stat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "avg"
},
{
"datasource": {
File diff suppressed because it is too large Load Diff