Changes for page Topic Alerting
Last modified by Erik Bakker on 2025/11/19 20:30
From version 65.1
edited by Erik Bakker
on 2025/09/15 11:38
on 2025/09/15 11:38
Change comment:
There is no comment for this version
To version 40.5
edited by dfirdausy
on 2024/07/18 13:39
on 2024/07/18 13:39
Change comment:
There is no comment for this version
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 - TopicAlerting1 +Customize Queue Alerting - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. ebakker1 +XWiki.dfirdausy - Content
-
... ... @@ -1,93 +1,164 @@ 1 1 {{container}}{{container layoutStyle="columns"}}((( 2 -In this microlearning, we ’llexplorehowtoviewandcustomizetopic alerts withinyour eMagiz environment. Customizing thesealertsallowsyoutotailor the trigger conditions and thresholdsto better fityourspecific needs,enhancinghow you monitor andrespond totopic activity.We’ll cover the two typesof topic triggers availableand guide you through configuringthem tosuit your requirements.This will helpyou ensure your alerts are aseffective and relevant aspossible. Should you want to learn more about the standard alerting that eMagiz offers, please check out this [[microlearning>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.Crash Course Platform.crashcourse-platform-manage-alerting-gen3||target="blank"]].2 +In this microlearning, we will focus on how you can customize your queue alerts by configuring the trigger conditions and thresholds, which raise an alert and notify people when those points are passed. Should you want to learn more about the standard alerting that eMagiz offers, please check out this [[microlearning>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.Crash Course Platform.crashcourse-platform-manage-alerting-gen3||target="blank"]]. 3 3 4 4 Should you have any questions, please contact [[academy@emagiz.com>>mailto:academy@emagiz.com]]. 5 5 6 -{{info}}Note that this documentation explains the latest design of eMagiz Topic Alerting that is introduced in [[Release 253>>Main.Release Information.Release Blogs.253 - Changing Chameleon||target="blank"]] and the Topic Alerting explained in this page is only applicable for eMagiz models that are running on DSH.{{/info}} 7 - 8 8 == 1. Prerequisites == 9 9 10 10 * Basic knowledge of the eMagiz platform 11 -* Basic knowledge of alerting in the eMagiz platform 12 12 13 13 == 2. Key concepts == 14 14 15 -This microlearning focuses on customizing the topicalertsthat areexisting in eachof theenvironmentofyour model(i.e.,Testing-Acceptance-Production).By customizing we mean further configuring the trigger conditions and thresholds of yourtopics,so theybettersuityour needsandrequirements.12 +This microlearning focuses on customizing the queue alerts for each environment in your model. By customizing: we mean further configuring the trigger conditions and thresholds of your queues beyond the general default settings provided by eMagiz. 16 16 17 -* eMagiz applies the same set of triggers to all topic. 18 -* There are two topic trigger options that eMagiz currently provides: 19 -** Minimum throughput check 20 -** Messages behind check 21 -* Recipients are defined on the topic level. 14 +* There are five trigger options 15 +** Error message 16 +** Log message 17 +** Queue consumers 18 +** Messages in queue 19 +** Queue throughput 20 +* On the trigger level, the recipients are defined 21 +* On the trigger level, the congestion control is defined 22 22 23 -== 3. Topic Alerting ==23 +== 3. Dynamic Alerting == 24 24 25 - Asallour alerting now works is that we havedividedthemup invarious segments that are accessibleviaManage.25 +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 - [[image:Main.Images.Microlearning.WebHome@crashcourse-platform-manage-alerting-in-emagiz-topic-alerts-overview.png]]27 +We offer alerting on seven types. 28 28 29 -Here, when you navigate to Manage->Alerting->Triggers, you will find all the topics that are generated by eMagiz currently existing within your model, along with the trigger conditions and thresholds that are applied to each of these topics. In the following sections, we will discuss how you can tune these topics triggers to your needs. 29 +* Error message 30 +* Log message 31 +* Queue consumers 32 +* Messages in queue 33 +* Queue throughput 34 +* Messages added to topic 35 +* Topic consumer messages behind 30 30 31 - {{info}}Contrary to the queue alertingwedo not offerany default configurationas eMagiz given the widespreadimplementation of event streaminginthecommunity which prevents us from defining relevant default triggersthat wouldapplyinalmost allcases. As a result, thedefault configurationontopiclevel is that the alertis **disabled** and **no**thresholdsare defined{{/info}}37 +[[image:Main.Images.Microlearning.WebHome@novice-alerting-dynamic-alerting--dynamic-alert-trigger-options.png]] 32 32 33 - ===3.1CustomizeDefaultValues===39 +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). 34 34 35 - Changestothe default values will only apply to topic triggers that are set touse the default values, and not to those you have alreadycustomized. To modify the default valuesconfigured by eMagiz, you can click the "Configure defaults" buttonat the top of the topic triggerlist.41 +=== 3.1 Error message === 36 36 37 - {{info}}Note that ifyour accountdoesnothaveeditrights inManage for a specific environment,youwillsee a"Viewdefaults"buttoninstead.{{/info}}43 +On top of the "static" alert that is autogenerated by eMagiz on Error messages, you can add additional "dynamic" alerts that only trigger when an error message is raised for which a specific header contains a particular value. This is most likely relevant when a specific error message with certain characteristics (i.e., a particular header value) needs to be sent to a different set of recipients. 38 38 39 - [[image:Main.Images.Microlearning.WebHome@novice-alerting-customize-topic-alerting--customize-default-triggers.png]]45 +To define the trigger, fill in the header's name and the expected value. On top of that, you can fill in a description that will be added to the alert received via email. Once this is filled in, the configuration could look as follows. 40 40 41 - Here, you will getapop-up pagewhere you can configure the default values of your topic triggers.The details of each of the triggers will bediscussed in the next section. But, what is important to note hereis that, here, you have the "Reset to eMagiz defaults"buttontoreset the defaultvalues to the values provided byeMagizas defaults (i.e. disablingthem). Next to that, at the bottom of the pop-up,you will find the "Update defaults" button, which willapply thedefaultvalues that you have configured toall topic triggersthat areset to use the default values. Byclicking this button, the new default values will be putintoeffect immediately.47 +[[image:Main.Images.Microlearning.WebHome@novice-alerting-dynamic-alerting--dynamic-alert-error-message-configuration.png]] 42 42 43 - Additionally,on this page, you can also find the "Notifications" tab that allows you to configure which recipients that you want to receive the notifications from the alerting.If you want to learn more about this notifications and how to configureit, please refer to this [[microlearning>>Main.eMagiz Academy.Microlearnings.Intermediate Level.Alerting.intermediate-alerting-setting-up-notifications-gen3||target="blank"]].49 +=== 3.2 Log message === 44 44 45 - ===3.2CustomizeTopicAlerting===51 +On top of the "static" alert that is autogenerated by eMagiz on Log messages, you can add additional "dynamic" alerts that only trigger when a log message contains a specific phrase. This is likely when you log something on which you want to alert when it happens. 46 46 47 - Next tocustomizingthedefaultvalues forall topic triggers,you can alsomodifythetrigger configurationsfor individualtopics.To customizethesetopictriggers tobetter suit your needs, you canclicktheeditbuttons(green paperand pencil buttons)locatedat the endofeach topic trigger. Bydoingso, you willgetapop-up page thatallowsyou tofurthercustomizethe conditionsand thresholdsof yourtopic triggers,which will be discussed in thefollowing.53 +To define the trigger, fill in the phrase you want to check. On top of that, you can fill in a description that will be added to the alert received via email. Once this is filled in, the configuration could look as follows. 48 48 49 -==== 3.2.1 Minimum throughput check ==== 50 -[[image:Main.Images.Microlearning.WebHome@novice-alerting-customize-queue-alerting-consumers-check-queue.png]] 55 +[[image:Main.Images.Microlearning.WebHome@novice-alerting-dynamic-alerting--dynamic-alert-log-message-configuration.png]] 51 51 52 - {{info}}Thistrigger checks how many processes (consumers) are subscribing to and retrieving messages from a particular queue over the last ten minutes.It evaluates whether the numberofconsumersmeets the specified threshold. If the number of consumers falls consistently **below** the "Expected consumers" value for a period of ten minutes, an alert is generated. You can customize this threshold as needed. Additionally, you can specify the instructions to be included in email notifications sent to recipients and in the alert message displayed in the Manage->Alerting->Alerts.{{/info}}57 +=== 3.3 Queue consumers === 53 53 54 -* **Queue load check** 55 -[[image:Main.Images.Microlearning.WebHome@novice-alerting-customize-queue-alerting-queue-load-check.png]] 59 +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. 56 56 57 - {{info}}This trigger checks howmany messages are produced on a particular queueand notyetretrieved by any consumersoverthelast tenminutes.Itmeasuresthe numberof messages on the queue. If the numberof messages is consistently**greater** thanthethresholdvalue (i.e.,"Maxmessagesqueued") for a period of tenminutes,an alertisgenerated. Otherwise,noalertwill be generated. Youcancustomizethis thresholdas needed. Additionally,youcan specify theinstructionstobe includedin emailnotificationssenttorecipientsand inthe alert message displayedinthe Manage->Alerting->Alerts. Itis importanttonote that ifhigh bursts of messages occurregularly (e.g., duringnightly batch processing,1000 messages areexpectedtobe producedtoacertainqueue),thensettingahigherthreshold (e.g., 1000 Max messages queued) canprevent false-positive alertscaused by the default configuration.{{/info}}61 +To define the trigger, determine the threshold you want to check (i.e., 2). Subsequently, specify 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. 58 58 59 -* **Inactivity check** 60 -[[image:Main.Images.Microlearning.WebHome@novice-alerting-customize-queue-alerting-inactivity-check.png]] 63 +[[image:Main.Images.Microlearning.WebHome@novice-alerting-dynamic-alerting--dynamic-alert-queue-consumers-all-queues.png]] 61 61 62 -{{info}}This trigger checks whether a particular queue receives at least one message regularly or within the specified time frame. With this trigger, you specify whether you want to 'always' have the check running everyday or only during a specified time range. If the queue receives a message within a specified time frame (i.e., time frame specified in the 'Expect a message every'), then the timer will reset and the next evaluation interval will start. Therefore, this trigger can produce two or more alerts a day if that setting is set to less than half a day. Similar to the other triggers, you can specify the instructions to be included in email notifications sent to recipients and in the alert message displayed in the Manage->Alerting->Alerts. 63 -* If you select the "Always" option, the next step is to configure the "Expect a message every" period. This is useful if you want to run the check every day and be notified when your queue has not received at least one message within a specified time frame, such as within an hour, a day or more. 64 -* If you select the "During time range" option, you can specify the days of the week and the starting time for the trigger to evaluate the queue. You will also need to specify the duration for which the trigger will evaluate and how frequently within that duration the queue should expect at least one message. Note that for this option, the "Expect a message every" setting must allow for at least two occurrences within the specified duration. 65 -* In the example above, the trigger is set to evaluate from Monday to Friday, 9:00 to 17:00, and expects a message every four hours, an alert will be sent if no message is received by 13:00. However, if a message is received at 11:00, then the timer resets, and the next check will be at 15:00. If no message is received by then, an alert will be sent. Consequently, due to the configuration of expects a message every four hours, and considering that there are only two hours left until the configured 17:00, the trigger for the remaining two hours will not be executed.{{/info}} 65 +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. 66 66 67 -* **Periodic activity check** 68 - [[image:Main.Images.Microlearning.WebHome@novice-alerting-customize-queue-alerting-periodic-activity-check.png]] 67 +[[image:Main.Images.Microlearning.WebHome@novice-alerting-dynamic-alerting--dynamic-alert-queue-consumers-specific-queues.png]] 69 69 70 -{{info}}This trigger checks whether at least the specified number of messages is received during the specified interval. Similar to the others, you can also specify the instructions to be included in email notifications sent to recipients and in the alert message displayed in Manage->Alerting->Alerts. 71 -* If you enable this trigger, you must also specify the days of the week, the starting time, and the duration for the trigger to evaluate the queue. Additionally, you need to specify the minimum number of messages the queue is expected to receive. If this number is **not** reached, an alert will be generated. 72 -* Unlike the Inactivity check, this Periodic Activity check evaluates only at **the end of each interval** and does **not** reset the timer when the minimum number of messages is reached during the interval. This means that this trigger will not produce more than one alert per day. 73 -* In the example above, the trigger is set to evaluate from Monday to Friday, from 9:00 to 8:45 in the following morning, and expects a minimum of 100 messages within each interval. If the 100 messages are not received by that 8:45 in the next morning, an alert will be sent. Alternatively, if the 100 messages are reached, no alert will be generated for that interval, and the next check will start again at 9:00. For intervals starting on Friday, the next check will begin at 9:00 AM on Monday, as Saturday and Sunday are not included.{{/info}} 69 +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. 74 74 75 - Upon saving, these customvalues willapplyimmediately, putting the new check into effect.Additionally, you will notice that the "Settings" status of thequeue trigger you just customized haschanged from "Default" to "Custom". Similarly, onthis page, you can also find the "Notifications" tabthat allows you to configurewhich recipients that you want to receive the notifications from thealertingof a specific queue. Ifyou want to learnmore about this notifications and how to configure it, pleasereferto this [[microlearning>>Main.eMagiz Academy.Microlearnings.Intermediate Level.Alerting.intermediate-alerting-setting-up-notifications-gen3||target="blank"]].71 +[[image:Main.Images.Microlearning.WebHome@novice-alerting-dynamic-alerting--dynamic-alert-queue-consumers-queue-selection.png]] 76 76 73 +{{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}} 74 + 75 +Once you have selected the queue(s) and pressed "Select," eMagiz will close the pop-up and add the queues to the trigger. 76 + 77 +[[image:Main.Images.Microlearning.WebHome@novice-alerting-dynamic-alerting--dynamic-alert-queue-consumers-queue-selection-result.png]] 78 + 79 +=== 3.4 Messages in queue === 80 + 81 +On top of the "static" alert that is autogenerated by eMagiz on Messages in a queue, you can add additional "dynamic" alerts that only trigger when a queue holds more than X messages. Logically, the X can be determined by the user. 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. 82 + 83 +[[image:Main.Images.Microlearning.WebHome@novice-alerting-dynamic-alerting--dynamic-alert-messages-in-queue-all-queues.png]] 84 + 85 +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. 86 + 87 +{{info}}This process of adding and removing specific queues works identically, as explained in the section on Queue consumers.[[Queue consumers.>>||anchor="H3.3Queueconsumers"]]{{/info}} 88 + 89 +Once you have selected the queue(s) and pressed "Select," eMagiz will close the pop-up and add the queues to the trigger. 90 + 91 +[[image:Main.Images.Microlearning.WebHome@novice-alerting-dynamic-alerting--dynamic-alert-messages-in-queue-queue-selection-result.png]] 92 + 93 +=== 3.5 Queue througput === 94 + 95 +For this category 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. 96 + 97 +[[image:Main.Images.Microlearning.WebHome@novice-alerting-dynamic-alerting--dynamic-alert-queue-throughput-all-queues.png]] 98 + 99 +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. 100 + 101 +{{info}}This process of adding and removing specific queues works identically, as explained in the section on Queue consumers.[[Queue consumers.>>||anchor="H3.3Queueconsumers"]]{{/info}} 102 + 103 +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. 104 + 105 +[[image:Main.Images.Microlearning.WebHome@novice-alerting-dynamic-alerting--dynamic-alert-queue-throughput-occurence-config.png]] 106 + 107 +=== 3.6 Messages added to topic === 108 + 109 +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. 110 + 111 +[[image:Main.Images.Microlearning.WebHome@novice-alerting-dynamic-alerting--dynamic-alert-messages-added-to-topic-all-topics.png]] 112 + 113 +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. 114 + 115 +{{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}} 116 + 117 +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. 118 + 119 +=== 3.7 Topic consumer lag === 120 + 121 +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. 122 + 123 +{{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}} 124 + 125 +Once filled in, the solution should look similar as follows. 126 + 127 +[[image:Main.Images.Microlearning.WebHome@novice-alerting-dynamic-alerting--dynamic-alert-topic-consumer-lag-selected-topics.png]] 128 + 129 +=== 3.8 Recipient(s) configuration === 130 + 131 +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. 132 + 133 +[[image:Main.Images.Microlearning.WebHome@novice-alerting-dynamic-alerting--dynamic-alert-recipient-config.png]] 134 + 135 +{{info}}Note that when you define multiple external recipients, you need to separate each email address with a comma to make it work.{{/info}} 136 + 137 +=== 3.9 Congestion control configuration === 138 + 139 +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. 140 + 141 +[[image:Main.Images.Microlearning.WebHome@novice-alerting-dynamic-alerting--dynamic-alert-congestion-control-config.png]] 142 + 143 +{{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}} 144 + 77 77 == 4. Key takeaways == 78 78 79 -* As a user with the edit rights in Manage of a particular environment, you can modify the default values for all of your queue triggers or customize the trigger configurations of individual queues. 80 -* eMagiz provides four queue trigger options: Consumers Check (monitoring the number of processes consuming messages), Queue Load Check (monitoring the number of queued messages), Inactivity Check (ensuring regular received message), and Periodic Activity Check (ensuring a minimum number of messages within a specified interval). 81 -* Once you save your trigger configurations, they will take effect immediately. 147 +* There are seven trigger options 148 +** Error message 149 +** Log message 150 +** Queue consumers 151 +** Messages in queue 152 +** Queue throughput 153 +** Messages added to topic 154 +** Topic consumer messages behind 155 +* On the trigger level, the recipients are defined 156 +* On the trigger level, the congestion control is defined 157 +* Default configuration of the congestion control is sufficient in most cases 158 +* When entering multiple external recipients, ensure each email address is separated with a comma 82 82 83 83 == 5. Suggested Additional Readings == 84 84 85 -If you are interested in this topic and want more information, please read the help text provided by eMagiz and read the following microlearning. 86 -* [[Crash Courses (Menu)>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.WebHome||target="blank"]] 87 -** [[Crash Course Platform (Navigation)>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.Crash Course Platform.WebHome||target="blank"]] 88 -*** [[Standard Alerting eMagiz (Explanation)>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.Crash Course Platform.crashcourse-platform-manage-alerting-gen3||target="blank"]] 89 -* [[Intermediate (Menu)>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.WebHome||target="blank"]] 90 -** [[Alerting (Navigation)>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Alerting.WebHome||target="blank"]] 91 -*** [[Setting up notifications (Explanation)>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Alerting.intermediate-alerting-setting-up-notifications-gen3||target="blank"]] 92 -* [[Queue Alerting (Search Result)>>url:https://docs.emagiz.com/bin/view/Main/Search?sort=score&sortOrder=desc&highlight=true&facet=true&r=1&f_space_facet=0%2FMain.&f_type=DOCUMENT&f_locale=en&f_locale=&f_locale=en&text=%22queue+alerting%22||target="blank"]] 162 +If you are interested in this topic and want more information, please read the help text provided by eMagiz. 163 + 93 93 )))((({{toc/}}))){{/container}}{{/container}}