-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
Description
grafana 5.0.0 supports backward compatibility, It creates alert_dashboard with json which we are passing. And it gives the same json when we send dashboard API request to grafana. problem with the new version is when someone does save operation in grafana directly in grafana then dashboard json is converted to a new version of json. So the alert dashboard logic in monitoring-integration is affected.
in older json all panels are stored under rows, so the json is like
"rows": [
{
"panels": [
{
// panel json
},
]
},
]
so now the new json is changed like,
"panels": [
{
type: "row"
"panels": [
{
"type": "graph"
// panel json
},
]
},
]
"panels": [
{
type: "row',
"panel": []
.
.
},
{
// panel json
"type": "graph"
.
.
},
]

