sample.yaml 1.5 KB

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