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 32.1
edited by Erik Bakker
on 2023/02/06 09:05
on 2023/02/06 09:05
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. dfirdausy1 +XWiki.ebakker - Content
-
... ... @@ -9,34 +9,32 @@ 9 9 10 10 == 2. Key concepts == 11 11 12 -This microlearning centers onconfiguring dynamic alerting based on triggers you can define as a user.12 +This microlearning centers 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 -* There are f ourtrigger options15 +* There are five trigger options 16 16 ** Error message 17 17 ** Log message 18 -** Messages added to topic 19 -** Topic consumer messages behind 18 +** Queue consumers 19 +** Messages in queue 20 +** Queue throughput 20 20 * On the trigger level, the recipients are defined 21 21 * On the trigger level, the congestion control is defined 22 22 23 23 == 3. Dynamic Alerting == 24 24 25 -To enhance the observability of your integration landscape while running in the currentgeneration runtime architecture, weprovide afunctionalityin the Manage phase called "Dynamic Alerts." You can access this functionality via the "Alerting" menu in Manage. Then, with the help of the "Trigger" overview, you can view all triggers in your environment.Fromthereon, you can navigateto the "Other"tab.26 +To enhance the observability of your integration landscape while running in the 3rd generation runtime architecture, we have added a new feature to our Manage phase called "Dynamic Alerts." You can access this functionality via the "Alerting" menu in Manage. Then, with the help of the "Trigger" overview, you can view all triggers in your environment. 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"]] as defined by eMagiz below that you will see all "dynamic" alerts that you and your fellow team members (with sufficient rights) can view, edit and delete. 26 26 27 - Here,on the top ofthelist, you will see all [["static" alerts>>doc:Main.eMagizAcademy.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 yourfellow team members (with sufficient rights) canview,editand delete.28 +We offer alerting on five types. 28 28 29 -In this page, we offer dynamic alerting on four different types. 30 - 31 31 * Error message 32 32 * Log message 33 -* Messages added to topic 34 -* Topic consumer messages behind 32 +* Queue consumers 33 +* Messages in queue 34 +* Queue throughput 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"]] microlearning to learn more on how to customize the triggers or the default values for these queues.{{/info}} 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 42 42 === 3.1 Error message === ... ... @@ -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. ... ... @@ -117,8 +117,14 @@ 117 117 118 118 You can uncheck the checkbox if you want to check on a specific (set of) queue(s). As a result, the "Add" and "Remove" buttons are displayed by eMagiz, through which you can add and remove queues to the trigger. 119 119 120 - {{info}}Thisprocess ofaddingand removing specific queues worksidentically, asexplainedinhectionon Queueconsumers.[[Queueconsumers.>>||anchor="H3.3Queueconsumers"]]{{/info}}86 +[[image:Main.Images.Microlearning.WebHome@novice-alerting-dynamic-alerting--dynamic-alert-messages-in-queue-specific-queues.png]] 121 121 88 +When you press the "Add" button, a new pop-up will appear through which you can select the queues for which you want the trigger to be activated. In this pop-up, you can choose one (or more) queues and press the "Select" button to add them to the trigger. 89 + 90 +[[image:Main.Images.Microlearning.WebHome@novice-alerting-dynamic-alerting--dynamic-alert-queue-consumers-queue-selection.png]] 91 + 92 +{{info}}Note that when you want to select multiple queues at once, you cannot press "Enter" to Save your selection. In this case, you need to press the "Select" button to save your choice.{{/info}} 93 + 122 122 Once you have selected the queue(s) and pressed "Select," eMagiz will close the pop-up and add the queues to the trigger. 123 123 124 124 [[image:Main.Images.Microlearning.WebHome@novice-alerting-dynamic-alerting--dynamic-alert-messages-in-queue-queue-selection-result.png]] ... ... @@ -125,20 +125,38 @@ 125 125 126 126 === 3.5 Queue througput === 127 127 128 - For thiscategoryyou can add additional "dynamic" alerts that only trigger when the throughput on one or more queues is more or less than X messages per Y minutes. Subsequently, define whether on which queues (or all queues) you want eMagiz to check for this condition. No further action is needed if you want to check on all queues.100 +On top of the "static" alert that is autogenerated by eMagiz on Error messages, you can add additional "dynamic" alerts that only trigger when the throughput on one or more queues is more or less than X messages per Y minutes. Subsequently, define whether on which queues (or all queues) you want eMagiz to check for this condition. No further action is needed if you want to check on all queues. 129 129 130 130 [[image:Main.Images.Microlearning.WebHome@novice-alerting-dynamic-alerting--dynamic-alert-queue-throughput-all-queues.png]] 131 131 132 132 You can uncheck the checkbox if you want to check on a specific (set of) queue(s). As a result, the "Add" and "Remove" buttons are displayed by eMagiz, through which you can add and remove queues to the trigger. 133 133 134 - {{info}}Thisprocess ofaddingand removing specific queues worksidentically, asexplainedinthe section on Queueconsumers.[[Queueconsumers.>>||anchor="H3.3Queueconsumers"]]{{/info}}106 +[[image:Main.Images.Microlearning.WebHome@novice-alerting-dynamic-alerting--dynamic-alert-queue-throughput-specific-queues.png]] 135 135 108 +When you press the "Add" button, a new pop-up will appear through which you can select the queues for which you want the trigger to be activated. In this pop-up, you can choose one (or more) queues and press the "Select" button to add them to the trigger. 109 + 110 +[[image:Main.Images.Microlearning.WebHome@novice-alerting-dynamic-alerting--dynamic-alert-queue-consumers-queue-selection.png]] 111 + 112 +{{info}}Note that when you want to select multiple queues at once, you cannot press "Enter" to Save your selection. In this case, you need to press the "Select" button to save your choice.{{/info}} 113 + 114 +Once you have selected the queue(s) and pressed "Select," eMagiz will close the pop-up and add the queues to the trigger. 115 + 116 +[[image:Main.Images.Microlearning.WebHome@novice-alerting-dynamic-alerting--dynamic-alert-queue-throughput-queue-selection-result.png]] 117 + 136 136 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. 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 ===122 +=== 3.6 Recipient(s) configuration === 141 141 124 +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. 125 + 126 +[[image:Main.Images.Microlearning.WebHome@novice-alerting-dynamic-alerting--dynamic-alert-recipient-config.png]] 127 + 128 +{{info}}Note that when you define multiple external recipients, you need to separate each email address with a comma to make it work.{{/info}} 129 + 130 +=== 3.7 Congestion control configuration === 131 + 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,16 +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 f ourtrigger optionsthat eMagiz provides for dynamic alerting:140 +* There are five trigger options 154 154 ** Error message 155 155 ** Log message 156 -** Messages added to topic 157 -** Topic consumer messages behind 143 +** Queue consumers 144 +** Messages in queue 145 +** Queue throughput 158 158 * On the trigger level, the recipients are defined 159 159 * On the trigger level, the congestion control is defined 160 160 * Default configuration of the congestion control is sufficient in most cases