influxdata / influxdb-relay

Service to replicate InfluxDB data for high availability

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support of InfluxDB 2

bartlomiejwulff opened this issue · comments

Hi guys,

I have installed the influxdb-relay with InfluxDB2 and I was just wondering if this is the supported constellation. Based on few code lines, the relay supports InfluxDB 1 only.

However, it does not work for me with InfluxDB 2 as the relay use /write endpoint and InfluxDB2 use /api/v2/write:

influxdb_client.rest.ApiException: (404)
Reason: Not Found
HTTP response headers: HTTPHeaderDict({'Content-Length': '35', 'Content-Type': 'application/json', 'Date': 'Tue, 29 Jun 2021 07:06:08 GMT', 'Connection': 'close'})
HTTP response body: {"error":"invalid write endpoint"}

Can you please confirm?

Is there a plan to support InfluxDB 2?

Thanks in advance!