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

New term optimisation #26

Merged
merged 12 commits into from
Sep 4, 2023
Merged

New term optimisation #26

merged 12 commits into from
Sep 4, 2023

Conversation

ajaywk7
Copy link
Collaborator

@ajaywk7 ajaywk7 commented Aug 22, 2023

-> Removed Refresh Interval - as it could interfere with the threshold feature
-> Threshold : Whenever a new term occurs, a event window is created for the same and when the count for the window reaches threshold, an alert is triggered. Once an alert is triggered for a term, it is considered as an existing or old term.
-> Threshold_duration: window duration to store the count of new terms for, when ever new count is appended to the window, the counts added before this duration is decremented.

Threshold_duration names :
-> threshold_window_size
-> threshold_buffer_time
-> buffer_time
-> threshold_waiting_time

@ajaywk7 ajaywk7 requested a review from RashmiRam August 22, 2023 06:41
Copy link
Collaborator

@RashmiRam RashmiRam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Few renames to be done. Once done, merge.

elastalert/ruletypes.py Outdated Show resolved Hide resolved
elastalert/elastalert.py Outdated Show resolved Hide resolved
elastalert/ruletypes.py Outdated Show resolved Hide resolved
elastalert/ruletypes.py Outdated Show resolved Hide resolved
elastalert/ruletypes.py Outdated Show resolved Hide resolved
elastalert/ruletypes.py Outdated Show resolved Hide resolved
elastalert/ruletypes.py Outdated Show resolved Hide resolved
@ajaywk7 ajaywk7 merged commit a8b62c7 into fw_2.9.0_migration Sep 4, 2023
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

Successfully merging this pull request may close these issues.

2 participants