Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

QUESTION: Are alert definition changes used immediately? #709

Open
sgarg7 opened this issue Jan 22, 2018 · 2 comments
Open

QUESTION: Are alert definition changes used immediately? #709

sgarg7 opened this issue Jan 22, 2018 · 2 comments

Comments

@sgarg7
Copy link

sgarg7 commented Jan 22, 2018

Since the alerts are scheduled onto the Kafka queue and read by the alert client, what happens to the queued instances when an alert definition is updated? Does the alert client execute the old alert definitions? Are new instances also scheduled immediately and given preference over the old ones?
If there is a delay between updating the alert definition and the alert client picking it up, what is this delay dependent on?

@sgarg7
Copy link
Author

sgarg7 commented Jan 31, 2018

Can this question be answered? My experience has been that the alerts that have already been scheduled using the old definition run as scheduled. Only newly scheduled alerts contain changes.

@bsura
Copy link
Contributor

bsura commented Feb 8, 2018

Apologies for the late reply. There is a refreshInterval, which determines how frequently the alert definitions must be updated in the scheduler. So depending on when the alert is updated, there could be a maximum delay of up to "refreshInterval" before the updated alert definition can be evaluated.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants