InfluxDB binding spec

Detailed documentation on the InfluxDB binding component

Setup Dapr component

  1. apiVersion: dapr.io/v1alpha1
  2. kind: Component
  3. metadata:
  4. name: <NAME>
  5. namespace: <NAMESPACE>
  6. spec:
  7. type: bindings.influx
  8. version: v1
  9. metadata:
  10. - name: url # Required
  11. value: <INFLUX-DB-URL>
  12. - name: token # Required
  13. value: <TOKEN>
  14. - name: org # Required
  15. value: <ORG>
  16. - name: bucket # Required
  17. value: <BUCKET>
  • url is the URL for the InfluxDB instance. eg. http://localhost:8086
  • token is the authorization token for InfluxDB.
  • org is the InfluxDB organization.
  • bucket bucket name to write to.

Warning

The above example uses secrets as plain strings. It is recommended to use a secret store for the secrets as described here.

Output Binding Supported Operations

  • create

Related links

Last modified February 16, 2021: Merge pull request #1235 from dapr/update-v0.11 (b4e9fbb)