Skip to content

FEATURE BRANCH: Add v2beta1 api version: Consolidate schema breaking changes #108172

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 33 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
131db99
Revert "Revert: Future-proofing query and data source model in Dashbo…
dprokop Jul 16, 2025
1f5c38d
Revert "Revert "Schema V2: Simplify annotations v1<->v2 conversions" …
dprokop Jul 16, 2025
66edc91
make gen apps
dprokop Jul 16, 2025
2911267
Merge remote-tracking branch 'origin/main' into schemav2-bring-back-r…
ivanortegaalba Jul 16, 2025
ca75da2
Merge branch 'main' into schemav2-bring-back-reverts
dprokop Jul 17, 2025
57a7cb0
e2e update
dprokop Jul 17, 2025
2f0ec81
Use v2alpha2 by default (#108177)
ivanortegaalba Jul 17, 2025
4d4b053
Update imports to v2 status
ivanortegaalba Jul 17, 2025
022d439
Fix failing openapi test
dprokop Jul 17, 2025
b38d62d
Merge remote-tracking branch 'origin/main' into schemav2-bring-back-r…
dprokop Jul 17, 2025
5aa647e
Merge branch 'main' into schemav2-bring-back-reverts
dprokop Jul 18, 2025
2307a6a
Schemav2 breaking changes: conversion implementation (#108224)
dprokop Jul 18, 2025
2e9641d
Merge remote-tracking branch 'origin/main' into schemav2-bring-back-r…
dprokop Jul 22, 2025
002ef8a
Schema v2: Introduce group/datasource convention to GroupBy and AdHoc…
dprokop Jul 22, 2025
d43121f
Dashboard Schema V2: Refactor VizConfigKind to follow DataQueryKind c…
harisrozajac Jul 22, 2025
ab54567
fix k8s codegen
harisrozajac Jul 22, 2025
035cff6
Merge branch 'main' into schemav2-bring-back-reverts
harisrozajac Jul 23, 2025
a1c31c4
Update e2e-playwright/dashboards/TestV2Dashboard.json
harisrozajac Jul 24, 2025
1924c7f
Update e2e/dashboards/TestV2Dashboard.json
harisrozajac Jul 24, 2025
3bcd7c8
revert app generation for non-related apps
harisrozajac Jul 24, 2025
ac4d5da
try again
harisrozajac Jul 24, 2025
77a559c
another try
harisrozajac Jul 24, 2025
d164b93
also revert folder and secret app generation
harisrozajac Jul 24, 2025
585363b
Merge branch 'main' into schemav2-bring-back-reverts
harisrozajac Jul 24, 2025
90e72fa
v2alpha1 provisioned dashboard
dprokop Jul 25, 2025
2d941da
Fix kind
dprokop Jul 25, 2025
be8b999
Fix conversion snapshots
dprokop Jul 25, 2025
037e084
Merge branch 'main' into schemav2-bring-back-reverts
harisrozajac Jul 25, 2025
04dd7f9
Merge remote-tracking branch 'origin/main' into schemav2-bring-back-r…
ivanortegaalba Jul 28, 2025
eff4a96
Update API discovery registry
ivanortegaalba Jul 28, 2025
d7ef9f0
Rename to v2beta1
ivanortegaalba Jul 28, 2025
778122d
Rename migrations
ivanortegaalba Jul 28, 2025
82a2142
Update apps/dashboard/pkg/apis/dashboard/v2beta1/doc.go
harisrozajac Jul 28, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix conversion snapshots
  • Loading branch information
dprokop committed Jul 25, 2025
commit be8b9993fa3968425f901228dfa9a7f0a5c7077e
Original file line number Diff line number Diff line change
Expand Up @@ -944,7 +944,7 @@
"uid": "gdev-prometheus"
},
"enable": true,
"hide": false,
"hide": "dontHide",
"name": "variable-ds-prometheus",
"query": {
"kind": "prometheus",
Expand All @@ -954,11 +954,11 @@
}
}
},
{
{
"kind": "QueryVariable",
"spec": {
"enable": true,
"hide": false,
"hide": "dontHide",
"name": "variable-no-ds",
"query": {
"kind": "grafana-testdata-datasource",
Expand All @@ -973,7 +973,7 @@
"kind": "QueryVariable",
"spec": {
"enable": true,
"hide": false,
"hide": "dontHide",
"name": "variable-no-ds-empty-query",
"query": {
"kind": "grafana-testdata-datasource",
Expand All @@ -985,7 +985,7 @@
"kind": "QueryVariable",
"spec": {
"enable": true,
"hide": false,
"hide": "dontHide",
"name": "variable-no-default-ds",
"query": {
"kind": "prometheus",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -972,10 +972,116 @@
},
"title": "Test: V2alpha1 dashboard with annotations",
"variables": [
null,
null,
null,
null
{
"kind": "QueryVariable",
"spec": {
"name": "variable-ds-prometheus",
"current": {
"text": null,
"value": null
},
"hide": "dontHide",
"refresh": "",
"skipUrlSync": false,
"query": {
"kind": "DataQuery",
"group": "prometheus",
"version": "v0",
"datasource": {
"name": "gdev-prometheus"
},
"spec": {
"expr": "up"
}
},
"regex": "",
"sort": "",
"options": null,
"multi": false,
"includeAll": false,
"allowCustomValue": false
}
},
{
"kind": "QueryVariable",
"spec": {
"name": "variable-no-ds",
"current": {
"text": null,
"value": null
},
"hide": "dontHide",
"refresh": "",
"skipUrlSync": false,
"query": {
"kind": "DataQuery",
"group": "grafana-testdata-datasource",
"version": "v0",
"spec": {
"csv": "1,2,3,4",
"scenarioId": "csv_metric_values"
}
},
"regex": "",
"sort": "",
"options": null,
"multi": false,
"includeAll": false,
"allowCustomValue": false
}
},
{
"kind": "QueryVariable",
"spec": {
"name": "variable-no-ds-empty-query",
"current": {
"text": null,
"value": null
},
"hide": "dontHide",
"refresh": "",
"skipUrlSync": false,
"query": {
"kind": "DataQuery",
"group": "grafana-testdata-datasource",
"version": "v0",
"spec": {}
},
"regex": "",
"sort": "",
"options": null,
"multi": false,
"includeAll": false,
"allowCustomValue": false
}
},
{
"kind": "QueryVariable",
"spec": {
"name": "variable-no-default-ds",
"current": {
"text": null,
"value": null
},
"hide": "dontHide",
"refresh": "",
"skipUrlSync": false,
"query": {
"kind": "DataQuery",
"group": "prometheus",
"version": "v0",
"spec": {
"expr": "up"
}
},
"regex": "",
"sort": "",
"options": null,
"multi": false,
"includeAll": false,
"allowCustomValue": false
}
}
]
},
"status": {
Expand Down