Grafana Cloud Enterprise Open source

Provisioning

Grafana supports managing data sources by adding one or more YAML config files in the provisioning/datasources folder.

Example

The following example shows how to provision the Business News data source.

YAML
datasources:
  - name: Bitcoin
    type: volkovlabs-rss-datasource
    access: proxy
    orgId: 1
    uid: rZAdZdf7k
    version: 1
    editable: true
    jsonData:
      feed: https://news.bitcoin.com/feed/

Data sources

When provisioned, the Business News data source appears in the data sources list.

Business News Data source requires to input Feed URL.

Feed URL

The URL must contain all necessary characters (such as / at the end) to avoid redirects.

During testing, you might see the following error.

Failed to fetch the provided URL.

If the URL is correct and returns data but also returns an error, add / to the end of the URL to avoid a redirect blocked by CORS policy.

For example, use https://sitename/feed/ instead of https://sitename/feed.

Provided URL should be exactly as it returned from the RSS and Atom resource to avoid CORS policy restrictions.

Note

If you already tried a data source with https://sitename/feed and added / but still see an error, clear your cache and perform a hard reload.