Production InfluxDB client implementation using Finch.
Communicates with real InfluxDB v3 (and v2) instances over HTTP. Uses Finch connection pools for efficient HTTP/1.1 and HTTP/2.
Connection
The connection parameter is a keyword list containing at minimum
:host, :token, :scheme, :port, and a :name atom used to
resolve the Finch pool. These are typically produced by
InfluxElixir.Config.validate!/1.
InfluxDB v3 API Endpoints
- Write:
POST /api/v2/write?db=DATABASE&precision=PRECISION - SQL Query:
POST /api/v3/query_sql(JSON body) - InfluxQL:
POST /api/v3/query_influxql(JSON body) - Databases:
GET/POST/DELETE /api/v3/configure/database - Tokens:
POST/DELETE /api/v3/configure/token - Health:
GET /health
InfluxDB v2 Compatibility
- Flux:
POST /api/v2/query(JSON body) - Buckets:
GET/POST/DELETE /api/v2/buckets