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

Period Types #30

Open
wurstbrot opened this issue Dec 15, 2023 · 0 comments
Open

Period Types #30

wurstbrot opened this issue Dec 15, 2023 · 0 comments

Comments

@wurstbrot
Copy link
Contributor

wurstbrot commented Dec 15, 2023

Proposal for Thresholds

Threshold have the following types:

  • dateperiod
  • int

dateperiod defines the period in which the metric should be fulfilled. It can have a period type of calendar or sliding. calendar defines a calendar month/year. sliding defines a period that starts with a given action.
Samples:

  period type: calendar # start always the first of January, e.g. 10 hours of security training within a calendar year
  period: 1y
  period type: sliding # start whenever a datapoint is collected, e.g. read confirmation valid for 1y after last read
  period: 1y

int defines the value that should be reached with min value and max value.

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