Re: Retain metrics counters across task restarts

2019-04-16 Thread Peter Zende
Hi Zhijiang Thanks for the clarification we were thinking about the very same solution, we'll then go in this direction. Best Peter zhijiang ezt írta (időpont: 2019. ápr. 15., H, 4:28): > Hi Peter, > > The lifecycle of these metrics are coupled with lifecycle of task, So the > metrics would be

Re: Retain metrics counters across task restarts

2019-04-14 Thread zhijiang
Hi Peter, The lifecycle of these metrics are coupled with lifecycle of task, So the metrics would be initialized after task is restarted. I think of one possible option is that you could store your required metrics into state, then the metric states would be restored from backend after task is