simvue-io / client

Simvue Python client
https://docs.simvue.io
Apache License 2.0
4 stars 0 forks source link

Crontab spams metrics to server even once run is completed in Offline mode #422

Open wk9874 opened 3 weeks ago

wk9874 commented 3 weeks ago

When using Offline mode, with a cronjob using simvue_sender to upload metrics every minute, it appears that metrics are spammed to the server whenever there is something in the Simvue cache, even when the simulation / run is closed.

It also looks like it repeatedly sends the same metrics/events to the run. For example, in this run (https://dev01.simvue.io/dashboard/runs/run/G9rcfVMCiZcjPSZXQwHL6P), the last minute in which it sent events before it crashed, it sent 340 events at once (should send a maximum of ~5 at any time for this simulation). It also sends the same event over and over again (eg each 'Starting Epoch X' message should only ever appear once, yet every minute it is sent multiple times.