* 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>
63 lines
1.3 KiB
JSON
63 lines
1.3 KiB
JSON
{
|
|
"title": "V13 Graph Thresholds Migration Test",
|
|
"schemaVersion": 12,
|
|
"panels": [
|
|
{
|
|
"type": "graph",
|
|
"id": 1,
|
|
"title": "Graph with Line Thresholds",
|
|
"grid": {
|
|
"threshold1": 200,
|
|
"threshold2": 400,
|
|
"threshold1Color": "yellow",
|
|
"threshold2Color": "red",
|
|
"thresholdLine": true
|
|
}
|
|
},
|
|
{
|
|
"type": "graph",
|
|
"id": 2,
|
|
"title": "Graph with Fill Thresholds",
|
|
"grid": {
|
|
"threshold1": 100,
|
|
"threshold2": 300,
|
|
"threshold1Color": "green",
|
|
"threshold2Color": "blue",
|
|
"thresholdLine": false
|
|
}
|
|
},
|
|
{
|
|
"type": "graph",
|
|
"id": 3,
|
|
"title": "Graph with Single Threshold",
|
|
"grid": {
|
|
"threshold1": 150,
|
|
"threshold1Color": "orange",
|
|
"thresholdLine": true
|
|
}
|
|
},
|
|
{
|
|
"type": "graph",
|
|
"id": 4,
|
|
"title": "Graph with Existing Thresholds",
|
|
"thresholds": [
|
|
{
|
|
"value": 50,
|
|
"color": "purple",
|
|
"colorMode": "custom"
|
|
}
|
|
],
|
|
"grid": {
|
|
"threshold1": 200,
|
|
"threshold1Color": "yellow",
|
|
"thresholdLine": false
|
|
}
|
|
},
|
|
{
|
|
"type": "singlestat",
|
|
"id": 5,
|
|
"title": "Non-Graph Panel"
|
|
}
|
|
]
|
|
}
|