# Configuration file version apiVersion: 1 # Mark provisioned data sources for deletion if they are no longer in a provisioning file. # It takes no effect if data sources are already listed in the deleteDatasources section. prune: true # List of data sources to insert/update depending on what's # available in the database. datasources: # Sets the name you use to refer to # the data source in panels and queries. - name: Loki # Sets the data source type. type: loki # Sets the access mode, either # proxy or direct (Server or Browser in the UI). # Some data sources are incompatible with any setting # but proxy (Server). access: direct # Sets the organization id. Defaults to orgId 1. orgId: 1 # Sets the data source's URL, including the # port. url: http://loki:3100 # Sets the version. Used to compare versions when # updating. Ignored when creating a new data source. version: 1 # Allows users to edit data sources from the # Grafana UI. editable: false