sample.yaml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. # # config file version
  2. apiVersion: 1
  3. # # list of datasources that should be deleted from the database
  4. #deleteDatasources:
  5. # - name: Graphite
  6. # orgId: 1
  7. # # list of datasources to insert/update depending
  8. # # on what's available in the database
  9. datasources:
  10. # <string, required> name of the datasource. Required
  11. - name: Prometheus
  12. # <string, required> datasource type. Required
  13. type: prometheus
  14. # <string, required> access mode. direct or proxy. Required
  15. access: proxy
  16. # <int> org id. will default to orgId 1 if not specified
  17. orgId: 1
  18. # <string> url
  19. url: http://localhost:9990
  20. isDefault: true
  21. # # <string> database user, if used
  22. # user:
  23. # # <string> database name, if used
  24. # database:
  25. # # <bool> enable/disable basic auth
  26. # basicAuth:
  27. # # <string> basic auth username
  28. # basicAuthUser:
  29. # # <bool> enable/disable with credentials headers
  30. # withCredentials:
  31. # # <bool> mark as default datasource. Max one per org
  32. # isDefault:
  33. # # <map> fields that will be converted to json and stored in json_data
  34. # jsonData:
  35. # graphiteVersion: "1.1"
  36. # tlsAuth: true
  37. # tlsAuthWithCACert: true
  38. # httpHeaderName1: "Authorization"
  39. # # <string> json object of data that will be encrypted.
  40. # secureJsonData:
  41. # tlsCACert: "..."
  42. # tlsClientCert: "..."
  43. # tlsClientKey: "..."
  44. # # <openshift\kubernetes token example>
  45. # httpHeaderValue1: "Bearer xf5yhfkpsnmgo"
  46. # version: 1
  47. # # <bool> allow users to edit datasources from the UI.
  48. # editable: false