influxdb_v2
Emit all metrics from collector to influxdb by 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
Set the time interval to emit internal metrics.
default: 10s
bucket
required, type: http header value
Set the bucket name.
token
optional, type: http header value
Set the auth token.
If not set, the value in environment variable INFLUX_TOKEN will be used.
default: not set
precision
optional, type: string
Set the precision query parameter.
Allowed values are:
s
ms
us
ns
default: s
max_body_lines
optional, type: usize
Set the max body lines in a single request.
default: 10000