influxdb_v2

Exporter that sends metrics to InfluxDB v2 using the v2 write API.

The following common keys are supported:

The HTTP Export Runtime is used:

  • default port 8181

  • all config keys supported

emit_interval

optional, type: humanize duration

Emit interval for outgoing batches.

default: 10s

bucket

required, type: http header value

Bucket name.

token

optional, type: http header value

Authentication token.

If not set, the value in environment variable INFLUX_TOKEN will be used.

default: not set

precision

optional, type: string

Precision query parameter.

Allowed values are:

  • s

  • ms

  • us

  • ns

default: s

max_body_lines

optional, type: usize

Maximum number of line-protocol records sent in a single request.

default: 10000