InfluxDB binding spec

Detailed documentation on the InfluxDB binding component

Component format

To setup InfluxDB binding create a component of type bindings.influx. See this guide on how to create and apply a binding configuration.

  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>

Warning

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

Spec metadata fields

FieldRequiredBinding supportDetailsExample
urlYOutputThe URL for the InfluxDB instancehttp://localhost:8086
tokenYOutputThe authorization token for InfluxDB“mytoken”
orgYOutputThe InfluxDB organization“myorg”
bucketYOutputBucket name to write to“mybucket”

Binding support

This component supports output binding with the following operations:

  • create

Last modified August 2, 2021 : Fix Java SDK link (#1695) (2c67fd1)