diff --git a/.gitignore b/.gitignore index da222a55b5b..6bba225ab2f 100644 --- a/.gitignore +++ b/.gitignore @@ -39,8 +39,8 @@ conf/custom.ini fig.yml docker-compose.yml docker-compose.yaml -/conf/dashboards/custom.yaml -/conf/datasources/custom.yaml +/conf/provisioning/dashboards/custom.yaml +/conf/provisioning/datasources/custom.yaml profile.cov /grafana .notouch diff --git a/conf/provisioning/dashboards/custom.yaml b/conf/provisioning/dashboards/custom.yaml deleted file mode 100644 index 909a621ca18..00000000000 --- a/conf/provisioning/dashboards/custom.yaml +++ /dev/null @@ -1,6 +0,0 @@ -- name: 'default' - org_id: 1 - folder: '' - type: file - options: - folder: /var/lib/grafana/dashboards \ No newline at end of file diff --git a/conf/provisioning/datasources/custom.yaml b/conf/provisioning/datasources/custom.yaml index 3d3e36ff108..2a02707a2ee 100644 --- a/conf/provisioning/datasources/custom.yaml +++ b/conf/provisioning/datasources/custom.yaml @@ -1,48 +1,48 @@ -# list of datasources that should be deleted from the database -delete_datasources: - - name: Graphite - org_id: 1 +# # list of datasources that should be deleted from the database +# delete_datasources: +# - name: Graphite +# org_id: 1 -# 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 - # 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: - # fields that will be converted to json and stored in json_data - json_data: - graphiteVersion: "1.1" - tlsAuth: true - tlsAuthWithCACert: true - # json object of data that will be encrypted. - secure_json_data: - tlsCACert: "..." - tlsClientCert: "..." - tlsClientKey: "..." - version: 1 - # allow users to edit datasources from the UI. - editable: 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 +# # 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: +# # fields that will be converted to json and stored in json_data +# json_data: +# graphiteVersion: "1.1" +# tlsAuth: true +# tlsAuthWithCACert: true +# # json object of data that will be encrypted. +# secure_json_data: +# tlsCACert: "..." +# tlsClientCert: "..." +# tlsClientKey: "..." +# version: 1 +# # allow users to edit datasources from the UI. +# editable: false diff --git a/conf/provisioning/datasources/sample.yaml b/conf/provisioning/datasources/sample.yaml deleted file mode 100644 index d8ddc9c6bed..00000000000 --- a/conf/provisioning/datasources/sample.yaml +++ /dev/null @@ -1,48 +0,0 @@ -# list of datasources that should be deleted from the database -delete_datasources: - # - name: Graphite - # org_id: 1 - -# 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 -# # 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: -# # fields that will be converted to json and stored in json_data -# json_data: -# graphiteVersion: "1.1" -# tlsAuth: true -# tlsAuthWithCACert: true -# # json object of data that will be encrypted. -# secure_json_data: -# tlsCACert: "..." -# tlsClientCert: "..." -# tlsClientKey: "..." -# version: 1 -# # allow users to edit datasources from the UI. -# editable: false -