InfluxDB binding spec

Detailed documentation on the InfluxDB binding component

配置

To setup InfluxDB binding create a component of type bindings.influx. 请参阅本指南,了解如何创建和应用绑定配置。

apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
  name: <NAME>
  namespace: <NAMESPACE>
spec:
  type: bindings.influx
  version: v1
  metadata:
  - name: url # Required
    value: <INFLUX-DB-URL>
  - name: token # Required
    value: <TOKEN>
  - name: org # Required
    value: <ORG>
  - name: bucket # Required
    value: <BUCKET>

元数据字段规范

字段 必填 绑定支持 详情 示例
url 输出 The URL for the InfluxDB instance "http://localhost:8086"
token 输出 The authorization token for InfluxDB "mytoken"
org 输出 The InfluxDB organization "myorg"
bucket 输出 Bucket name to write to "mybucket"

绑定支持

该组件支持输出绑定,其操作如下:

  • create

相关链接

Last modified January 1, 0001