diff --git a/conf/datasources.yaml b/conf/datasources.yaml index f38f009437c..f39972a9dd6 100644 --- a/conf/datasources.yaml +++ b/conf/datasources.yaml @@ -6,36 +6,41 @@ purge_other_datasources: false # list of datasources to insert/update depending # whats available in the datbase datasources: -# # name of the datasource. Required -# - name: Graphite -# # datasource type. Required -# type: graphite -# # access mode. direct or proxy. Required -# access: proxy -# # url -# url: http://localhost:8080 -# # database password, if used -# password: -# # database user, if used -# user: -# # database name, if used -# database: -# # enable/disable basic auth -# basic_auth: -# # basic auth username -# basic_auth_user: -# # basic auth password -# basic_auth_password: -# # enable/disable with credentials headers -# with_credentials: -# # mark as default datasource. Max one per org -# is_default: -# # json data -# json_data: '{"graphiteVersion":"0.9"}' -# # json object of data that will be encrypted in UI. -# secure_json_fields: '' -# - name: Prometheus -# type: prometheus -# access: proxy -# url: http://localhost:9090 +# # name of the datasource. Required +# - name: Graphite +# # datasource type. Required +# type: graphite +# # access mode. direct or proxy. Required +# access: proxy +# # org id. will default to org_id 1 if not specified +# org_id: 1 +# # url +# url: http://localhost:8080 +# # database password, if used +# password: +# # database user, if used +# user: +# # database name, if used +# database: +# # enable/disable basic auth +# basic_auth: +# # basic auth username +# basic_auth_user: +# # basic auth password +# basic_auth_password: +# # enable/disable with credentials headers +# with_credentials: +# # mark as default datasource. Max one per org +# is_default: +# # json data +# json_data: '{"graphiteVersion":"0.9"}' +# # json object of data that will be encrypted in UI. +# secure_json_fields: '' +# # including this value garantees that instance with old configs cannot +# # overwrite your last change. +# version: 1 +# - name: Prometheus +# type: prometheus +# access: proxy +# url: http://localhost:9090