Check out example codes for "what are appropriate timing of alerts of alertmangaer". It will help you in understanding the concepts better.

Code Example 1

group_by: [ 'a-label', 'another-label' ]
group_wait: 30s
group_interval: 5m

Learn ReactJs, React Native from akashmittal.com