# config file version apiVersion: 1 # list of datasources to insert/update depending # what's available in the database datasources: # name of the datasource. Required - name: Prometheus # datasource type. Required type: prometheus # access mode. proxy or direct (Server or Browser in the UI). Required access: proxy # org id. will default to orgId 1 if not specified orgId: 1 # custom UID which can be used to reference this datasource in other parts of the configuration, if not specified will be generated automatically uid: my_unique_uid # url url: http://prometheus:9090 # Deprecated, use secureJsonData.password password: # database user, if used user: # database name, if used database: # enable/disable basic auth basicAuth: # basic auth username basicAuthUser: # Deprecated, use secureJsonData.basicAuthPassword basicAuthPassword: # enable/disable with credentials headers withCredentials: # mark as default datasource. Max one per org isDefault: version: 1 # allow users to edit datasources from the UI. editable: true