Closed ghostinsoba closed 6 months ago
Additional validations is required:
Check if datasource uid specified correctly (legacy, before Grafana 8.3: "datasource": "$datasource_uid", after "datasource": {"uid": "$datasource_uid"})
"datasource": "$datasource_uid"
"datasource": {"uid": "$datasource_uid"}
Check if panel type is not deprecated (recommend to migrate from graph (old) to timeseries and from flant-statusmap-panel to state-timeline)
graph (old)
timeseries
flant-statusmap-panel
state-timeline
Changed existing flant-statusmap-panel deprecation recommendations from status-history to state-timeline
status-history
Closes #8038
CI must fail for new pull requests that contain dashboards with deprecated forms of datasource UIDs and panel types
section: testing type: chore summary: Dashboard linter improvements. impact_level: low
Description
Additional validations is required:
Check if datasource uid specified correctly (legacy, before Grafana 8.3:
"datasource": "$datasource_uid"
, after"datasource": {"uid": "$datasource_uid"}
)Check if panel type is not deprecated (recommend to migrate from
graph (old)
totimeseries
and fromflant-statusmap-panel
tostate-timeline
)Changed existing
flant-statusmap-panel
deprecation recommendations fromstatus-history
tostate-timeline
Why do we need it, and what problem does it solve?
Closes #8038
What is the expected result?
CI must fail for new pull requests that contain dashboards with deprecated forms of datasource UIDs and panel types
Checklist
Changelog entries