-
Notifications
You must be signed in to change notification settings - Fork 87
Closed
Description
As far as I can tell setting the environment variables for configuring reporting metrics to an InfluxDB instance are only working with the older v1 API.
It would probably the easiest to support the newer v2 API by adding some new env vars:
INFLUXDB2_URL
INFLUXDB2_BUCKET
INFLUXDB2_ORG
and/orINFLUXDB2_ORGID
I'm not sure if the data can still be written with the curl parameter --data-binary
. In a quick test --data-raw
did seam to to work, though.
Documentation:
https://docs.influxdata.com/influxdb/v1.8/guides/write_data/#write-data-using-the-influxdb-api
https://docs.influxdata.com/influxdb/v2.6/api/#operation/PostWrite
FWeinb and davidski
Metadata
Metadata
Assignees
Labels
No labels