I am provisioning a Prometheus data source to grafana. When adding the data source via the UI, I can set a "Scrape interval", which seems to determine the granularity at which data is fetched from prometheus.

However, I could not find out how to set that value in the yaml file when provisioning the data source from a yaml file. I tried "scrapeInterval", but it did not seem to work.

The documentation just has a small example, but it does not have the value.