You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a lot of repeated logic where we want to run certain tasks in the background on a predefined interval. We might also want to skip certain runs (e.g., app.IsOutboundObservationEnabled()). Additionally, the interval can be changed dynamically.
For these use cases, we have bg and ticker packages, but we lack a combined component that also supports metric reporting per run (e.g., last run, latency, outcome, ...). Thus, it's very handy to have something like this:
We have a lot of repeated logic where we want to run certain tasks in the background on a predefined interval. We might also want to skip certain runs (e.g.,
app.IsOutboundObservationEnabled()
). Additionally, the interval can be changed dynamically.For these use cases, we have
bg
andticker
packages, but we lack a combined component that also supports metric reporting per run (e.g., last run, latency, outcome, ...). Thus, it's very handy to have something like this:Each ObserverSigner would receive Scheduler in
Start(ctx context.context, s Scheduler) error
and register its jobs thereTasks
The text was updated successfully, but these errors were encountered: