datasources.yaml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # purge data source not listed in configuration.
  2. # not recommended in HA setups if config can
  3. # can differ between instances.
  4. purge_other_datasources: false
  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. # # <string> json data
  35. # json_data: '{"graphiteVersion":"0.9"}'
  36. # # <string> json object of data that will be encrypted in UI.
  37. # secure_json_fields: ''
  38. # # <int> including this value garantees that instance with old configs cannot
  39. # # overwrite your last change.
  40. # version: 1
  41. # - name: Prometheus
  42. # type: prometheus
  43. # access: proxy
  44. # url: http://localhost:9090