Skip to main content

Influxdb Receiver

Status Available in: contrib Maintainers: @jacobmarble Source: opentelemetry-collector-contrib

Supported Telemetry

Metrics

Overview

Write endpoints exist at /write (InfluxDB 1.x compatibility) and /api/v2/write (InfluxDB 2.x compatibility). Write query parameters db/rp (InfluxDB 1.x) and org/bucket (InfluxDB 2.x) are ignored. Write query parameter precision is optional, defaults to ns. Write responses:
  • 204: success, no further response needed (no content)
  • 400: permanent failure; check response body for details
  • 500: retryable error; check response body for details

Configuration

The following configuration options are supported:
  • endpoint (default = localhost:8086) HTTP service endpoint for the line protocol receiver. See our security best practices doc to understand how to set the endpoint in different environments.
The full list of settings exposed for this receiver are documented in config.go. Example:

Definitions

InfluxDB is an open-source time series database. Telegraf is an open-source metrics agent, similar to the OpenTelemetry Collector. Telegraf has hundreds of plugins. Line protocol is a textual HTTP payload format used to move metrics between Telegraf agents and InfluxDB instances.

Schema

The InfluxDB->OpenTelemetry conversion schema and implementation are hosted at https://github.com/influxdata/influxdb-observability . This receiver automatically detects schema at parse time.

Example: Metrics - prometheus-v1

Example: Metrics - prometheus-v2


Last generated: 2026-08-24