Revert "v1 to v2 conversion: Fix issue when Grafana datasource wouldn't be resolved correctly (#114555) (#114725)

Revert "v1 to v2 conversion: Fix issue when Grafana datasource wouldn't be resolved correctly (#114555)"

This reverts commit ac62070ac7.
This commit is contained in:
Dominik Prokop
2025-12-02 20:07:11 +01:00
committed by GitHub
parent f4b8f2d038
commit 2ef211fe96
7 changed files with 20 additions and 1695 deletions
@@ -1,234 +0,0 @@
{
"kind": "DashboardWithAccessInfo",
"apiVersion": "dashboard.grafana.app/v1beta1",
"metadata": {
"name": "ad6phhg",
"namespace": "default",
"uid": "spsmxIXYXdgxtY972XX7j3dj3ijM3IZXDmsCfjygSP8X",
"resourceVersion": "2",
"generation": 2,
"creationTimestamp": "2025-11-27T12:31:46Z",
"labels": {
"grafana.app/deprecatedInternalID": "283"
},
"annotations": {
"grafana.app/createdBy": "user:eex2ofwuj0agwd",
"grafana.app/updatedBy": "user:eex2ofwuj0agwd",
"grafana.app/updatedTimestamp": "2025-11-27T12:32:09Z"
}
},
"spec": {
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations \u0026 Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"links": [],
"panels": [
{
"datasource": {
"type": "datasource"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "red",
"value": 0
},
{
"color": "yellow",
"value": 50
}
]
},
"unit": "percent"
},
"overrides": []
},
"gridPos": {
"h": 15,
"w": 24,
"x": 0,
"y": 0
},
"id": 4,
"options": {
"displayMode": "gradient",
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"maxVizHeight": 300,
"minVizHeight": 16,
"minVizWidth": 8,
"namePlacement": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"showUnfilled": true,
"sizing": "auto",
"valueMode": "color"
},
"pluginVersion": "12.4.0-pre",
"targets": [
{
"datasource": {},
"refId": "A",
"scenarioId": "random_walk"
},
{
"datasource": {},
"refId": "B",
"scenarioId": "random_walk"
},
{
"datasource": {},
"refId": "C",
"scenarioId": "random_walk"
},
{
"datasource": {},
"refId": "D",
"scenarioId": "random_walk"
},
{
"datasource": {},
"refId": "E",
"scenarioId": "random_walk"
},
{
"datasource": {},
"refId": "F",
"scenarioId": "random_walk"
},
{
"datasource": {},
"refId": "G",
"scenarioId": "random_walk"
},
{
"datasource": {},
"labels": "",
"refId": "H",
"scenarioId": "random_walk"
},
{
"datasource": {},
"refId": "I",
"scenarioId": "random_walk"
},
{
"datasource": {},
"refId": "J",
"scenarioId": "random_walk"
},
{
"datasource": {},
"refId": "K",
"scenarioId": "random_walk"
},
{
"datasource": {},
"refId": "L",
"scenarioId": "random_walk"
},
{
"datasource": {},
"refId": "M",
"scenarioId": "random_walk"
},
{
"datasource": {},
"refId": "N",
"scenarioId": "random_walk"
},
{
"datasource": {},
"labels": "",
"refId": "O",
"scenarioId": "random_walk"
},
{
"datasource": {},
"refId": "P",
"scenarioId": "random_walk"
},
{
"datasource": {},
"refId": "Q",
"scenarioId": "random_walk"
}
],
"title": "Panel Title",
"type": "bargauge"
}
],
"preload": false,
"refresh": "",
"schemaVersion": 42,
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Bar Gauge Demo Unfilled Copy v1",
"weekStart": ""
},
"status": {},
"access": {
"slug": "bar-gauge-demo-unfilled-copy-v1",
"url": "/d/ad6phhg/bar-gauge-demo-unfilled-copy-v1",
"isPublic": false,
"canSave": true,
"canEdit": true,
"canAdmin": true,
"canStar": true,
"canDelete": true,
"annotationsPermissions": {
"dashboard": {
"canAdd": true,
"canEdit": true,
"canDelete": true
},
"organization": {
"canAdd": true,
"canEdit": true,
"canDelete": true
}
}
}
}