Skip to content

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

Open
@wk9874

Description

@wk9874

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions