Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify definition of window for a job #572

Open
4 tasks
sbchaos opened this issue Sep 8, 2022 · 0 comments
Open
4 tasks

Simplify definition of window for a job #572

sbchaos opened this issue Sep 8, 2022 · 0 comments

Comments

@sbchaos
Copy link
Contributor

sbchaos commented Sep 8, 2022

Description
Current definition of a window uses time.Duration as base for all the calculations, which leads to optimus storing window configuration in nanosecond for both size and delay. Also the time.Duration does not provide way to deal with quantities greater than hour to not deal with timezones.

With this we will also expose presets for end user to define window in a simple manner.
eg @hourly, @daily etc so that people can reason about window properties.

Acceptance Criteria

  • Define simpler units for window e.g. 1d, 1w etc
  • Define presets for window definition

Depends on : 571

Tech Details
Post analysis Capture the details of the work needed to finish the task.

  • Create a new version of window configuration
  • Changes in optimus to store the presets in database
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant