github.com/amazechain/amc@v0.1.3/deployments/prometheus/datasources/prometheus.yml (about) 1 # config file version 2 apiVersion: 1 3 4 # list of datasources that should be deleted from the database 5 deleteDatasources: 6 - name: Prometheus 7 orgId: 1 8 9 # list of datasources to insert/update depending 10 # whats available in the database 11 datasources: 12 # <string, required> name of the datasource. Required 13 - name: Prometheus 14 # <string, required> datasource type. Required 15 type: prometheus 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://prometheus:9090 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: false 30 # <string> basic auth username, if used 31 basicAuthUser: 32 # <string> basic auth password, if used 33 basicAuthPassword: 34 # <bool> enable/disable with credentials headers 35 withCredentials: 36 # <bool> mark as default datasource. Max one per org 37 isDefault: true 38 # <map> fields that will be converted to json and stored in json_data 39 jsonData: 40 graphiteVersion: "1.1" 41 tlsAuth: false 42 tlsAuthWithCACert: false 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: true