yabeda-rb / yabeda-schked

Built-in metrics for monitoring Schked recurring jobs out of the box.
MIT License
4 stars 2 forks source link

Reset job failed flag #2

Closed bibendi closed 7 months ago

bibendi commented 1 year ago

Hi there!

We should reset a job.opts[:failed] flag here https://github.com/yabeda-rb/yabeda-schked/blob/197e5f1e552258b8eb10af2b92e4dd8f45d277b2/lib/yabeda/schked.rb#L41C17-L41C17

The reason is when an error was fired for the first time, we are constantly getting errors on our dashboard. It resets only after a pod restarting.

image
Envek commented 7 months ago

Sorry, totally missed this issue! The fix has been released in 0.2.1

bibendi commented 7 months ago

Thank you!