Changes for page Topic Alerting
Last modified by Erik Bakker on 2025/11/19 20:30
From version 64.1
edited by Erik Bakker
on 2025/09/15 11:35
on 2025/09/15 11:35
Change comment:
There is no comment for this version
To version 26.1
edited by Erik Bakker
on 2022/08/22 10:21
on 2022/08/22 10:21
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 -To picAlerting1 +Linking Tag(s) to Trigger(s) - Parent
-
... ... @@ -1,1 +1,1 @@ 1 - Main.eMagiz Academy.Microlearnings.Novice.Alerting.WebHome1 +WebHome - Content
-
... ... @@ -1,93 +1,68 @@ 1 1 {{container}}{{container layoutStyle="columns"}}((( 2 -In this microlearning, we’ll explore how to view and customize topic alerts within your eMagiz environment. Customizing these alerts allows you to tailor the trigger conditions and thresholds to better fit your specific needs, enhancing how you monitor and respond to topic activity. We’ll cover the two types of topic triggers available and guide you through configuring them to suit your requirements. This will help you ensure your alerts are as effective and relevant as possible. 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 link your alerting tag(s) to alerting trigger(s). 3 +In a previous microlearning we already discussed parts of this. In this microlearning we will zoom in on the Trigger section of Alerting. 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 topic alerts that are existing in each of the environment of your model (i.e., Testing-Acceptance-Production). By customizing we mean further configuring the trigger conditions and thresholds of your topics, so they better suit your needs and requirements. 13 +This microlearning centers around linking tag(s) to trigger(s). 14 +With linking, we mean: Categorize a certain trigger with the help of tag functionality 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. 16 +* Make tags descriptive in nature 17 +* Re-use tags over multiple triggers that have the same aim 18 +* In case of a start, daily and end alert use the same tag for all of them 22 22 23 -== 3. To picAlerting ==20 +== 3. Linking Tag(s) to Trigger(s) == 24 24 25 - As allouralertingnow works is that wehavedividedthemup invarious segments that areaccessibleviaManage.22 +In our previous dalliance with this subject we already discussed parts of what we will discuss in this microlearning. This microlearning is mainly meant to reiterate the importance of using proper tags when setting up your alerting. Linking the correct tag(s) to your trigger(s) will help you to clarify how the alerting structure for your project is set up. This is not only nice when you want to revisit the alerting section but it is also very usefull in communication with the business and with a support desk. This way you can create a common truth surrounding a common language. Key parts in achieving this are: 26 26 27 -[[image:Main.Images.Microlearning.WebHome@crashcourse-platform-manage-alerting-in-emagiz-topic-alerts-overview.png]] 24 +* Make tags descriptive in nature 25 +* Re-use tags over multiple triggers that have the same aim 26 +* In case of a start, daily and end alert use the same tag for all of them 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. 30 - 31 -{{info}}Contrary to the queue alerting we do not offer any default configuration as eMagiz given the widespread implementation of event streaming in the community which prevents us from defining relevant default triggers that would apply in almost all cases. As a result, the default configuration on topic level is that the alert is **disabled** and **no** thresholds are defined{{/info}} 28 +To link tag(s) to trigger(s) you navigate to Manage -> Alerting -> Triggers 32 32 33 - ===3.1Customize DefaultValues===30 +In this overview you can simply select a specific trigger to see the detailed configuration of the trigger. Depending on the type of trigger that you open the avaiable tabs within the pop-up and the information shown in the pop-up can differ. Below we show two distinct examples: 34 34 35 - Changes to the default values will onlyapply to topic triggersthat are set touse the default values,andnot to thoseyou have already customized. Tomodify thedefault values configured by eMagiz, you canclick the "Configure defaults" button atthetopof thetopic triggerlist.32 +[[image:Main.Images.Microlearning.WebHome@novice-alerting-linking-tags-to-triggers--example-trigger-detail-data-measurements.png]] 36 36 37 - {{info}}Notethatif youraccount doesnot haveeditrightsinManage fora specificenvironment, you will see a "Viewdefaults" buttoninstead.{{/info}}34 +[[image:Main.Images.Microlearning.WebHome@novice-alerting-linking-tags-to-triggers--example-trigger-detail-log-entry.png]] 38 38 39 - [[image:Main.Images.Microlearning.WebHome@novice-alerting-customize-queue-alerting-consumers-check-queue-load-check.png]]36 +As you can see from these examples is that the number of tabs within the pop-up differ. The first tab is were the configuration of the trigger happens. In all the other tabs you need to link the tag(s) to the trigger. To do so simply press Add in one of these tabs, search for the Tag you want to link to this trigger, select it and press Select. 40 40 41 - Here, you will getapop-up pagewhere you can configure the default values of your queue 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 by eMagiz as defaults. Next to that, at the end of the page, you will find the "Update defaults" button, which will applythe default valuesthat you have configuredto all queue triggersthat areset to use the default values. By clickingthis button, thenewdefaultvalues will be put intoeffectimmediately.38 +[[image:Main.Images.Microlearning.WebHome@novice-alerting-linking-tags-to-triggers--example-trigger-detail-no-tag.png]] 42 42 43 - Additionally, on this page, you can also find the "Notifications" tab that allows you to configurewhichrecipients that you want toreceivethenotifications from thealerting. If you want tolearn more about thisnotifications and how to configure it, please refertothis [[microlearning>>Main.eMagiz Academy.Microlearnings.Intermediate Level.Alerting.intermediate-alerting-setting-up-notifications-gen3||target="blank"]].40 +[[image:Main.Images.Microlearning.WebHome@novice-alerting-linking-tags-to-triggers--example-trigger-detail-select-tag.png]] 44 44 45 - === 3.2 CustomizeQueueAlerting===42 +[[image:Main.Images.Microlearning.WebHome@novice-alerting-linking-tags-to-triggers--example-trigger-detail-one-tag.png]] 46 46 47 - Nexttocustomizingthe default values foreachqueue triggers, you can also modify thetrigger configurationsfor individualqueues. Tocustomize these queue triggers tobetter suit yourneeds,you canclick the editbuttons(green paperand pencilbuttons) located at theendofeach queue trigger. By doingso, youwillget a pop-up page that allowsyouto furthercustomizethe conditionsandthresholdsof your queuetriggers, which will be discussed in the following.44 +When you are happy with your selection you can press Save on trigger level and eMagiz will link the tag to the trigger. 48 48 49 -* **Consumers check** 50 -[[image:Main.Images.Microlearning.WebHome@novice-alerting-customize-queue-alerting-consumers-check-queue.png]] 46 +== 4. Assignment == 51 51 52 -{{info}}This trigger checks how many processes (consumers) are subscribing to and retrieving messages from a particular queue over the last ten minutes. It evaluates whether the number of consumers meets 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}} 48 +Link an (extra) tag to a trigger. 49 +This assignment can be completed with the help of the (Academy) project that you have created/used in the previous assignment. 53 53 54 -* **Queue load check** 55 -[[image:Main.Images.Microlearning.WebHome@novice-alerting-customize-queue-alerting-queue-load-check.png]] 51 +== 5. Key takeaways == 56 56 57 -{{info}}This trigger checks how many messages are produced on a particular queue and not yet retrieved by any consumers over the last ten minutes. It measures the number of messages on the queue. If the number of messages is consistently **greater** than the threshold value (i.e., "Max messages queued") for a period of ten minutes, an alert is generated. Otherwise, no alert will be 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. It is important to note that if high bursts of messages occur regularly (e.g., during nightly batch processing, 1000 messages are expected to be produced to a certain queue), then setting a higher threshold (e.g., 1000 Max messages queued) can prevent false-positive alerts caused by the default configuration.{{/info}} 53 +* Assist in creating a common language 54 +* Make tags descriptive in nature 55 +* Re-use tags over multiple triggers that have the same aim 56 +* In case of a start, daily and end alert use the same tag for all of them 58 58 59 -* **Inactivity check** 60 -[[image:Main.Images.Microlearning.WebHome@novice-alerting-customize-queue-alerting-inactivity-check.png]] 58 +== 6. Suggested Additional Readings == 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}} 60 +If you are interested in this topic and want more information on it please read the help text provided by eMagiz. 66 66 67 -* **Periodic activity check** 68 - [[image:Main.Images.Microlearning.WebHome@novice-alerting-customize-queue-alerting-periodic-activity-check.png]] 62 +== 7. Silent demonstration video == 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}} 64 +This video demonstrates how you could have handled the assignment and gives you some context on what you have just learned. 74 74 75 - Upon saving, these customvalues will apply immediately, putting the newcheck into effect. Additionally, you will notice that the"Settings" statusof the queue trigger you justcustomized has changed from "Default" to "Custom". Similarly, onthis page, you can also find the "Notifications"tab that allows you to configure which recipientsthat you wanttoreceivethe notifications from the alerting of aspecific queue.If you 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"]].66 +{{video attachment="novice-alerting-linking-tags-to-triggers.mp4" reference="Main.Videos.Microlearning.WebHome"/}} 76 76 77 -== 4. Key takeaways == 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. 82 - 83 -== 5. Suggested Additional Readings == 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"]] 93 93 )))((({{toc/}}))){{/container}}{{/container}}