Change Your prometheus data source uid with the uid of prometheus data source uid. you can find it this way:
- Reach out to Grafana then enter
Home > Administration > Data sourcesthen click on your Prometheus data source. - the characters after
datasources/edit/is your uid. (e.g datasources/edit/c8e586ac-4262-4aad5-a103-1240ss826424)