Dashboard Provisioners - Detect Removal?

Does the 5.0 dashboard provisioner detect removal of a dashboard json ? Right now I can see that synchronization and addition are suppoted - but removal of a dashboard.json is not supported.

One more question - how is a dashboard uniquely determined ? It does not appear that UID is required but is it a best practice to set the UID.

Grafana will never delete the dashboard json files on disk. But if you delete a dashboard json file Grafana will delete the dashboard in the database (5.0-beta1 does not remove dashboards in the database but its included in beta-2)

If the dashboard.json does not include a uid, Grafana will generate one for you. Providing the uid in the dashboard.json is preferred since the dashboard will always get the same url. You can use 8-40 chars to generate your uid.