# config file version apiVersion: 1 # list of datasources to insert/update depending # whats available in the database datasources: # name of the datasource. Required - name: InfluxDB # datasource type. Required type: influxdb # access mode. direct or proxy. Required access: proxy # org id. will default to orgId 1 if not specified orgId: 1 # url url: http://{{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}:8086 # database password, if used password: # database user, if used user: # database name, if used database: telegraf # enable/disable basic auth basicAuth: # basic auth username basicAuthUser: # basic auth password basicAuthPassword: # enable/disable with credentials headers withCredentials: # mark as default datasource. Max one per org isDefault: true # fields that will be converted to json and stored in json_data jsonData: timeInterval: "15s" # json object of data that will be encrypted. secureJsonData: tlsCACert: "..." tlsClientCert: "..." tlsClientKey: "..." version: 1 # allow users to edit datasources from the UI. editable: false