custom.yaml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # list of datasources that should be deleted from the database
  2. delete_datasources:
  3. - name: Graphite
  4. org_id: 1
  5. # list of datasources to insert/update depending
  6. # whats available in the datbase
  7. datasources:
  8. # <string, required> name of the datasource. Required
  9. - name: Graphite
  10. # <string, required> datasource type. Required
  11. type: graphite
  12. # <string, required> access mode. direct or proxy. Required
  13. access: proxy
  14. # <int> org id. will default to org_id 1 if not specified
  15. org_id: 1
  16. # <string> url
  17. url: http://localhost:8080
  18. # <string> database password, if used
  19. password:
  20. # <string> database user, if used
  21. user:
  22. # <string> database name, if used
  23. database:
  24. # <bool> enable/disable basic auth
  25. basic_auth:
  26. # <string> basic auth username
  27. basic_auth_user:
  28. # <string> basic auth password
  29. basic_auth_password:
  30. # <bool> enable/disable with credentials headers
  31. with_credentials:
  32. # <bool> mark as default datasource. Max one per org
  33. is_default:
  34. # <map> fields that will be converted to json and stored in json_data
  35. json_data:
  36. graphiteVersion: "1.1"
  37. tlsAuth: true
  38. tlsAuthWithCACert: true
  39. # <string> json object of data that will be encrypted.
  40. secure_json_data:
  41. tlsCACert: "..."
  42. tlsClientCert: "..."
  43. tlsClientKey: "..."
  44. version: 1
  45. # <bool> allow users to edit datasources from the UI.
  46. editable: false