nileshsimaria / jtimon

Junos Telemetry Interface client
MIT License
81 stars 29 forks source link

add influxdb2 support #121

Open weijiage opened 2 years ago

weijiage commented 2 years ago

Add support for InfluxDB 2.x using client library influxdb-client-go.

Please find the following sample inputs expected from user. "influx2": { "token": "my-token", "orgname": "my-org", "writeinrecords": true },

  1. token: authentication token
  2. orgname: organization name
  3. writeinrecords: writes line protocol record(s) into bucket if true, otherwise writes data point(s) into bucket.
nileshsimaria commented 2 years ago

make test is failing, please fix it.

weijiage commented 2 years ago

make test is failing, please fix it.

Thanks for pitching it, please find the fix in commit e32b9bb