Skip to content

Fix metrics dashboard YAML validation

What does this MR do?

Fixes validation added in !33202 (merged) which do not cover situation when file with dashboard definition does not contain hash as a root element.

Screenshots

from https://gitlab.com/gitlab-org/monitor/monitor-sandbox/-/blob/master/.gitlab/dashboards/empty_dashboard.yml Screenshot_2020-06-05_at_11.23.22

Does this MR meet the acceptance criteria?

Conformity

Edited by 🤖 GitLab Bot 🤖

Merge request reports

Loading