I notice that Burn Rate Alert has the same structure of Simple Alert but with a custom multiplier. Therefore, I only included a multiplier factor in AlertOptions. If the multiplier is not given, a default multiplier equals to one is used in place.
What do you think about it? A separated alert is better or this is a good option? I tried to avoid code duplication.
I notice that Burn Rate Alert has the same structure of Simple Alert but with a custom multiplier. Therefore, I only included a multiplier factor in AlertOptions. If the multiplier is not given, a default multiplier equals to one is used in place.
What do you think about it? A separated alert is better or this is a good option? I tried to avoid code duplication.
Ref https://github.com/globocom/slo-generator/issues/3