.. _configuration_exporter_influxdb_v2: influxdb_v2 =========== Exporter that sends metrics to InfluxDB v2 using the `v2 write API`_. .. _v2 write API: https://docs.influxdata.com/influxdb/v2/write-data/developer-tools/api/ The following common keys are supported: * :ref:`prefix ` * :ref:`global_tags ` The :ref:`HTTP Export Runtime ` is used: - default port 8181 - all config keys supported emit_interval ------------- **optional**, **type**: :external+values:ref:`humanize duration ` Emit interval for outgoing batches. **default**: 10s bucket ------ **required**, **type**: :external+values:ref:`http header value ` Bucket name. token ----- **optional**, **type**: :external+values:ref:`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