tkurki / signalk-to-influxdb2

Apache License 2.0
6 stars 4 forks source link

refactor: rewrite queries with InfluxQL #24

Closed tkurki closed 1 year ago

tkurki commented 1 year ago

I first started to implement query by series, to support different aggregates (min, max) per paths, but switched to doing everything in InfluxQL instead because of way better performance. Flux performed abysmally.

InfluxQL queries now use InfluxV2's V1 api, with the v1 client library.