datasources.yaml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. # <string, required> url
  15. url: http://localhost:8080
  16. # <string> database password, if used
  17. password:
  18. # <string> database user, if used
  19. user:
  20. # <string> database name, if used
  21. database:
  22. # <bool> enable/disable basic auth
  23. basic_auth:
  24. # <string> basic auth username
  25. basic_authUser:
  26. # <string> basic auth password
  27. basic_auth_password:
  28. # <bool> enable/disable with credentials headers
  29. with_credentials:
  30. # <bool> mark as default datasource. Max one per org
  31. is_default:
  32. # <string> json data
  33. json_data: '{"graphiteVersion":"0.9"}'
  34. # <string> json object of data that will be encrypted in UI.
  35. secure_json_fields: ''
  36. - name: Prometheus
  37. type: prometheus
  38. access: proxy
  39. url: http://localhost:9090