tkurki / signalk-to-influxdb2

Apache License 2.0
6 stars 3 forks source link

Delay of raw ingest to influxDB #57

Closed DrStS closed 6 months ago

DrStS commented 6 months ago

How can I configure the delay until a value is written to influxDB. For example, when I receive a temp. which upates every 2s in the signalK dataExplorer there seems to be a pretty long delay (~30sec) until these values are written to influxdb. Moreover, the delay seems to have a random behaviour.

I use the most recent version of singalK and the plugin.

Thanks a lot for your help.

Best

tkurki commented 6 months ago

Influxdb client writes the buffer to db every 60 seconds or max number of points. The params are the in the plugin config, batch something. On my phone so can’t provide the exact param name.

DrStS commented 6 months ago

Thanks a lot for the info: Screenshot 2024-03-28 085143 I have played with these settings. Yet it seems there is no change. I would like that the data is updated every 5 sec. Thanks a lot! Best Stefan

tkurki commented 6 months ago

Lol, looks like these are not passed to influx client! I’ll get back to you.

DrStS commented 6 months ago

Thanks!

tkurki commented 6 months ago

Should be fixed in 1.7.2.

DrStS commented 6 months ago

Thanks! I can confrim. It works now!