Changes for page Dynamic Alerting
Last modified by Danniar Firdausy on 2024/11/19 11:08
From version 39.38
edited by Danniar Firdausy
on 2024/07/29 16:04
on 2024/07/29 16:04
Change comment:
There is no comment for this version
To version 39.19
edited by Danniar Firdausy
on 2024/07/29 15:17
on 2024/07/29 15:17
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -12,6 +12,16 @@ 12 12 This microlearning centers on configuring dynamic alerting based on triggers you can define as a user. 13 13 By defining, we mean: Specifying based on what triggers an alert needs to be raised. 14 14 15 +{{html}} 16 +<!-- 17 +* There are five trigger options 18 +** Error message 19 +** Log message 20 +** Queue consumers 21 +** Messages in queue 22 +** Queue throughput 23 +--> 24 +{{/html}} 15 15 * There are four trigger options 16 16 ** Error message 17 17 ** Log message ... ... @@ -26,7 +26,7 @@ 26 26 27 27 Here, on the top of the list, you will see all [["static" alerts>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.Crash Course Platform.crashcourse-platform-manage-alerting-gen3||target="blank"]] that are defined by eMagiz (alerts that are non-editable) and below that (alerts that are editable), you will see all "dynamic" alerts that you and your fellow team members (with sufficient rights) can view, edit and delete. 28 28 29 -In this page, we offer dynamic alerting on fourdifferenttypes.39 +In this page, we offer alerting on four types. 30 30 31 31 * Error message 32 32 * Log message ... ... @@ -35,7 +35,7 @@ 35 35 36 36 [[image:Main.Images.Microlearning.WebHome@novice-alerting-dynamic-alerting--dynamic-alert-trigger-options.png]] 37 37 38 -{{info}}As of the recent eMagiz release, we have moved the configurations for queue triggers (i.e., Queue consumers, Messages in queue, Queue throughput) to the "Queues" tab. Please refer to the [[Customize Queue alerting>>doc:Main.eMagiz Academy.Microlearnings.Novice.Alerting.novice-alerting-customize-queue-alerting.WebHome||target="blank"]] microlearningto learn more on how to customize the triggers or the default valuesforthese queues.{{/info}}48 +{{info}}As of the recent eMagiz release, we have moved the configurations for queue triggers (i.e., Queue consumers, Messages in queue, Queue throughput) to the "Queues" tab. Please refer to the [[Customize Queue alerting>>doc:Main.eMagiz Academy.Microlearnings.Novice.Alerting.novice-alerting-customize-queue-alerting.WebHome||target="blank"]] page if you want to learn more on how to customize the triggers for these queues or the default values of these queue triggers.{{/info}} 39 39 40 40 First, we will discuss the configuration of each trigger type. Subsequently, we will discuss defining which recipients will be notified and how to alter the default congestion control settings (as this is the same for each trigger type). 41 41 ... ... @@ -55,38 +55,6 @@ 55 55 56 56 [[image:Main.Images.Microlearning.WebHome@novice-alerting-dynamic-alerting--dynamic-alert-log-message-configuration.png]] 57 57 58 -=== 3.3 Messages added to topic === 59 - 60 -For this category, you can add additional "dynamic" alerts. These alerts only trigger when the messages added to one or more topic is less than X messages per Y minutes. On top of the number of messages (X) and the timeframe (Y), you can define whether to validate this on a specific topic or all topics. Note that the default configuration is that the alert applies to all topics. You can uncheck the checkbox to check on a specific (set of) topic(s). As a result, the "Add" and "Remove" buttons are displayed by eMagiz, through which you can add and remove topics to the trigger. 61 - 62 -[[image:Main.Images.Microlearning.WebHome@novice-alerting-dynamic-alerting--dynamic-alert-messages-added-to-topic-all-topics.png]] 63 - 64 -When you press the "Add" button, a new pop-up will appear through which you can select the topics for which you want the trigger to be activated. In this pop-up, you can choose one (or more) topics and press the "Select" button to add them to the trigger. Once you have selected the topic(s) and pressed "Select," eMagiz will close the pop-up and add the topics to the trigger. 65 - 66 -[[image:Main.Images.Microlearning.WebHome@novice-alerting-dynamic-alerting--dynamic-alert-messages-added-to-topic-topic-selection.png]] 67 - 68 -For this trigger, additional criteria can be configured that allow you to define when eMagiz needs to validate this configuration (i.e., Occurence). With the help of this configuration option, you can specify when the trigger needs to be evaluated. An example could be only on Monday between 04:00 AM and 05:00 AM. 69 - 70 -=== 3.4 Topic consumer lag === 71 - 72 -For this category, you can add additional "dynamic" alerts. These alerts only trigger when one (or more) consumer groups lag by X messages on one (or more) topic(s). Note that the default configuration is that you, as a user, need to specify for which topic(s) the alert applies, as consumers' behavior can vary widely. 73 - 74 -{{info}}This process of adding and removing specific topics works identically as explained in the section on [[Messages added to topic.>>||anchor="H3.3Messagesaddedtotopic"]]{{/info}} 75 - 76 -Once filled in, the solution should look similar as follows. 77 - 78 -[[image:Main.Images.Microlearning.WebHome@novice-alerting-dynamic-alerting--dynamic-alert-topic-consumer-lag-selected-topics.png]] 79 - 80 -=== 3.5 Recipient(s) configuration === 81 - 82 -You can select your recipients when you switch from the "Trigger" to the "Output" tab. In this overview, you can choose both internal recipients (i.e., eMagiz users with access into this model) and external recipients. 83 - 84 -[[image:Main.Images.Microlearning.WebHome@novice-alerting-dynamic-alerting--dynamic-alert-recipient-config.png]] 85 - 86 -{{info}}Note that to add the external recipients to these four alertings discussed in this microlearning, you first need to list them via the Manage->Alerting->Triggers->Notifications settings tab. To do that, please refer to this [[page>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Alerting.intermediate-alerting-setting-up-notifications-gen3||target="blank"]]{{/info}} 87 - 88 -{{html}} 89 -<!-- 90 90 === 3.3 Queue consumers === 91 91 92 92 On top of the "static" alert that is autogenerated by eMagiz on Queue consumers, you can add additional "dynamic" alerts that only trigger when the number of consumers on a (specific) set of queues is below a certain threshold. ... ... @@ -137,8 +137,38 @@ 137 137 138 138 [[image:Main.Images.Microlearning.WebHome@novice-alerting-dynamic-alerting--dynamic-alert-queue-throughput-occurence-config.png]] 139 139 140 -=== 3.6 Congestioncontrolconfiguration===118 +=== 3.6 Messages added to topic === 141 141 120 +For this category, you can add additional "dynamic" alerts. These alerts only trigger when the messages added to one or more topic is less than X messages per Y minutes. On top of the number of messages (X) and the timeframe (Y), you can define whether to validate this on a specific topic or all topics. Note that the default configuration is that the alert applies to all topics. 121 + 122 +[[image:Main.Images.Microlearning.WebHome@novice-alerting-dynamic-alerting--dynamic-alert-messages-added-to-topic-all-topics.png]] 123 + 124 +You can uncheck the checkbox to check on a specific (set of) topic(s). As a result, the "Add" and "Remove" buttons are displayed by eMagiz, through which you can add and remove topics to the trigger. 125 + 126 +{{info}}This process of adding and removing specific topics works identically, as explained in the section on Queue consumers.[[Queue consumers.>>||anchor="H3.3Queueconsumers"]]{{/info}} 127 + 128 +For this trigger, additional criteria can be configured that allow you to define when eMagiz needs to validate this configuration (i.e., Occurence). With the help of this configuration option, you can specify when the trigger needs to be evaluated. An example could be only on Monday between 04:00 AM and 05:00 AM. 129 + 130 +=== 3.7 Topic consumer lag === 131 + 132 +For this category, you can add additional "dynamic" alerts. These alerts only trigger when one (or more) consumer groups lag by X messages on one (or more) topic(s). Note that the default configuration is that you, as a user, need to specify for which topic(s) the alert applies, as consumers' behavior can vary widely. 133 + 134 +{{info}}This process of adding and removing specific topics works identically, as explained in the section on Queue consumers.[[Queue consumers.>>||anchor="H3.3Queueconsumers"]]{{/info}} 135 + 136 +Once filled in, the solution should look similar as follows. 137 + 138 +[[image:Main.Images.Microlearning.WebHome@novice-alerting-dynamic-alerting--dynamic-alert-topic-consumer-lag-selected-topics.png]] 139 + 140 +=== 3.8 Recipient(s) configuration === 141 + 142 +You can select your recipients when you switch from the "Trigger" to the "Output" tab. In this overview, you can choose both eMagiz users and external recipients. 143 + 144 +[[image:Main.Images.Microlearning.WebHome@novice-alerting-dynamic-alerting--dynamic-alert-recipient-config.png]] 145 + 146 +{{info}}Note that when you define multiple external recipients, you need to separate each email address with a comma to make it work.{{/info}} 147 + 148 +=== 3.9 Congestion control configuration === 149 + 142 142 In the same "Output" tab, you can also define the congestion control configuration. The default configuration is that congestion control will be activated once more than ten alerts are triggered in the last ten minutes. So should you want to reduce this number, you can do so here. 143 143 144 144 [[image:Main.Images.Microlearning.WebHome@novice-alerting-dynamic-alerting--dynamic-alert-congestion-control-config.png]] ... ... @@ -145,14 +145,14 @@ 145 145 146 146 {{warning}}Note that we advise only reducing the number under the congestion control if the ten default is too high. We do **not** advise deactivating the congestion control as this can cause an explosion in the number of received notifications.{{/warning}} 147 147 148 ---> 149 -{{/html}} 150 - 151 151 == 4. Key takeaways == 152 152 153 -* There are fourtrigger optionsthat eMagiz provides for dynamic alerting:158 +* There are seven trigger options 154 154 ** Error message 155 155 ** Log message 161 +** Queue consumers 162 +** Messages in queue 163 +** Queue throughput 156 156 ** Messages added to topic 157 157 ** Topic consumer messages behind 158 158 * On the trigger level, the recipients are defined