influxdata/influxdb-observability

Write payloads too large

jacobmarble opened this issue · 0 comments

InfluxDB often responds to exporter write requests with 413 Request Entity Too Large because the line protocol payload is too large. (The otelcol batch processor can be used to limit batch size, but not in terms of bytes out put to InfluxDB.)

To fix this, the influxdbexporter should self-limit based on both bytes and lines of line protocol, defaulting to the documented suggested limits of 10,000 lines and 10MB. The service hard limit is 50MB as documented here.

Tasks

  1. cmd/configschema cmd/otelcontribcol exporter/influxdb ready to merge
    codeboten
  2. area/telemetry chore plugin/input ready for final review
    srebhan