diff --git a/Makefile b/Makefile index f88facaa5..ddd4be366 100644 --- a/Makefile +++ b/Makefile @@ -57,6 +57,8 @@ $(OUT_DIR)/.lint: $(OUT_DIR) dashboards-lint: $(GRAFANA_DASHBOARD_LINTER_BIN) $(OUT_DIR)/.lint # Replace $$interval:$$resolution var with $$__rate_interval to make dashboard-linter happy. @sed -i -e 's/$$interval:$$resolution/$$__rate_interval/g' $(OUT_DIR)/*.json + # Replace 'Data source' label with 'Data Source' to make dashboard-linter happy. + @sed -i -e 's/Data source/Data Source/g' $(OUT_DIR)/*.json @find $(OUT_DIR) -name '*.json' -print0 | xargs -n 1 -0 $(GRAFANA_DASHBOARD_LINTER_BIN) lint --strict