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 8.1
edited by marijn
on 2022/05/22 21:23
on 2022/05/22 21:23
Change comment:
There is no comment for this version
Summary
-
Page properties (5 modified, 0 added, 0 removed)
-
Attachments (0 modified, 5 added, 0 removed)
- novice-alerting-linking-tags-to-triggers--example-trigger-detail-data-measurements.png
- novice-alerting-linking-tags-to-triggers--example-trigger-detail-log-entry.png
- novice-alerting-linking-tags-to-triggers--example-trigger-detail-no-tag.png
- novice-alerting-linking-tags-to-triggers--example-trigger-detail-one-tag.png
- novice-alerting-linking-tags-to-triggers--example-trigger-detail-select-tag.png
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,0 @@ 1 -Topic Alerting - Parent
-
... ... @@ -1,1 +1,0 @@ 1 -Main.eMagiz Academy.Microlearnings.Novice.Alerting.WebHome - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. ebakker1 +XWiki.marijn - Default language
-
... ... @@ -1,1 +1,0 @@ 1 -en - Content
-
... ... @@ -1,93 +1,91 @@ 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"]]. 1 +{{html wiki="true"}} 2 +<div class="ez-academy"> 3 + <div class="ez-academy_body"> 3 3 4 - Shouldyou haveany questions, please contact [[academy@emagiz.com>>mailto:academy@emagiz.com]].5 +<div class="doc"> 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 7 8 + 9 += Linking Tag(s) to Trigger(s) = 10 + 11 +In this microlearning, we will focus on how you can link your alerting tag(s) to alerting trigger(s). 12 +In a previous microlearning we already discussed parts of this. In this microlearning we will zoom in on the Trigger section of Alerting. 13 + 14 +Should you have any questions, please contact academy@emagiz.com. 15 + 16 +* Last update: April 1th 2021 17 +* Required reading time: 5 minutes 18 + 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. 25 +This microlearning centers around linking tag(s) to trigger(s). 26 +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. 28 +* Make tags descriptive in nature 29 +* Re-use tags over multiple triggers that have the same aim 30 +* In case of a start, daily and end alert use the same tag for all of them 22 22 23 -== 3. Topic Alerting == 24 24 25 -As all our alerting now works is that we have divided them up in various segments that are accessible via Manage. 26 26 27 - [[image:Main.Images.Microlearning.WebHome@crashcourse-platform-manage-alerting-in-emagiz-topic-alerts-overview.png]]34 +== 3. Linking Tag(s) to Trigger(s) == 28 28 29 - Here,when younavigate toManage->Alerting->Triggers,youwillfindallthetopicsthataregeneratedbyeMagizcurrentlyexistingwithinyourmodel,alongwiththe triggerconditionsandthresholdsthatareappliedtoeach ofthesetopics.Inthefollowing sections,wewilldiscuss how you can tune thesetopicstriggerstoyour needs.36 +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: 30 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}} 38 +* Make tags descriptive in nature 39 +* Re-use tags over multiple triggers that have the same aim 40 +* In case of a start, daily and end alert use the same tag for all of them 32 32 33 - ===3.1CustomizeDefaultValues===42 +To link tag(s) to trigger(s) you navigate to Manage -> Alerting -> Triggers 34 34 35 - Changesto thedefaultvalueswillonly apply totopic triggersthat are set touse the defaultvalues, andnotto thoseyou have already customized.To modifythedefaultvaluesconfiguredby eMagiz,youcanclickthe"Configure defaults"buttonatthe topofthetopictrigger list.44 +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: 36 36 37 - {{info}}Notethatif your accountdoesnot haveeditrightsinManage fora specificenvironment, you will seea"Viewdefaults" buttoninstead.{{/info}}46 +<p align="center">[[image:novice-alerting-linking-tags-to-triggers--example-trigger-detail-data-measurements.png||]]</p> 38 38 39 - [[image:Main.Images.Microlearning.WebHome@novice-alerting-customize-topic-alerting--customize-default-triggers.png]]48 +<p align="center">[[image:novice-alerting-linking-tags-to-triggers--example-trigger-detail-log-entry.png||]]</p> 40 40 41 - Here,youwillgeta pop-uppage whereyou canconfigurethe defaultvaluesofyourtopictriggers.The details ofeachof thetriggerswillbediscussedinthenext section. But, whatis importanttonotehereisthat, here,youhavethe "ResettoeMagiz defaults"buttontoresetthedefaultvaluestothe valuesprovided byeMagiz asdefaults(i.e. disablingthem).Next to that,atthebottomofthepop-up,youwillfindthe"Updatedefaults"button,whichwillapplythedefaultvalues thatyouhave configuredtoalltopictriggersthat areset to use the default values. Byclickingthisbutton,thenewdefaultvalueswill beput into effectimmediately.50 +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. 42 42 43 - Additionally, on thispage,you can also find the"Notifications"tab that allows you to configurewhichrecipients that you want to receive thenotifications 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"]].52 +<p align="center">[[image:novice-alerting-linking-tags-to-triggers--example-trigger-detail-no-tag.png||]]</p> 44 44 45 - ===3.2 CustomizeTopicAlerting===54 +<p align="center">[[image:novice-alerting-linking-tags-to-triggers--example-trigger-detail-select-tag.png||]]</p> 46 46 47 - Nextto customizing the default values for all topic triggers, youcanalso modifythetrigger configurations for individualtopics. To customizethese topic triggersto better suit yourneeds, you can clickthe edit buttons (green paper and pencil buttons) located at the endof eachtopic trigger. By doingso, you will get a pop-up pagethat allows you to further customize the conditions and thresholds of your topic triggers, which will bediscussed inthe following.56 +<p align="center">[[image:novice-alerting-linking-tags-to-triggers--example-trigger-detail-one-tag.png||]]</p> 48 48 49 -==== 3.2.1 Minimum throughput check ==== 50 -[[image:Main.Images.Microlearning.WebHome@novice-alerting-customize-queue-alerting-consumers-check-queue.png]] 58 +When you are happy with your selection you can press Save on trigger level and eMagiz will link the tag to the trigger. 51 51 52 - {{info}}Thistrigger checks how many processes (consumers) are subscribingto and retrieving messages from a particular queueover 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}}60 +===== Practice ===== 53 53 54 -* **Queue load check** 55 -[[image:Main.Images.Microlearning.WebHome@novice-alerting-customize-queue-alerting-queue-load-check.png]] 62 +== 4. Assignment == 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}} 64 +Link an (extra) tag to a trigger. 65 +This assignment can be completed with the help of the (Academy) project that you have created/used in the previous assignment. 58 58 59 -* **Inactivity check** 60 -[[image:Main.Images.Microlearning.WebHome@novice-alerting-customize-queue-alerting-inactivity-check.png]] 67 +== 5. Key takeaways == 61 61 62 - {{info}}Thistrigger checkswhether a particular queue receivesat least one message regularly or within thespecifiedtimeframe. With this trigger, you specify whether you wantto 'always' have thecheckrunningeveryday or only during a specifiedtime range.If the queue receivesamessage within a specified time frame (i.e., time frame specified in the 'Expect a message every'), then the timer will reset and the next evaluationintervalwill start. Therefore, this trigger canproduce two or more alerts a day if that settingis set to less than half a day. Similar to the other triggers, youcan specify the instructions to be included in email notifications sent to recipients and in the alert messagedisplayed in the Manage->Alerting->Alerts.63 -* If you selectthe "Always"option, thenextstep is toconfigure the "Expecta message every" period. This is useful if you want to run the check everyday and be notified whenyour queue hasnot receivedatleast one message within a specified time frame, such as within an hour, a day or more.64 -* If youselectthe "During time range" option, you canspecifythe daysof theweek and the startingtime for the trigger to evaluate the queue. You will also needto specify the duration for which the triggerwill evaluate andhow frequently within thatduration the queue should expectat leastone message. Note that for this option, the"Expect a message every" settingmust allow for at leasttwo occurrences within the specified duration.65 -* In the example above, the trigger issettoevaluatefromMondayto Friday, 9:00to 17:00,andexpectsamessage every four hours, an alert will be sent if no message is received by13:00. However, ifamessage is received at 11:00, thenthe timer resets, andthenext check will be at 15:00. If no message is receivedby then,an alertwill besent.Consequently, due to theconfiguration of expectsamessageeveryfourhours,and considering that there are only two hoursleftuntil the configured17:00,thetrigger for the remaining two hours will not be executed.{{/info}}69 +* Assist in creating a common language 70 +* Make tags descriptive in nature 71 +* Re-use tags over multiple triggers that have the same aim 72 +* In case of a start, daily and end alert use the same tag for all of them 66 66 67 -* **Periodic activity check** 68 - [[image:Main.Images.Microlearning.WebHome@novice-alerting-customize-queue-alerting-periodic-activity-check.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}} 74 74 75 - Uponsaving, these custom values will apply immediately, putting the new check into effect.Additionally, you will notice that the "Settings" status of the queue trigger you justcustomizedhas changedfrom "Default" to "Custom". Similarly, on this page, you can also findthe "Notifications" tab that allowsyou to configurewhich recipients that you want to receive the notifications from the alerting of a specific queue. If you want to learn more about this notifications andhow to configure it, please refer to this [[microlearning>>Main.eMagiz Academy.Microlearnings.IntermediateLevel.Alerting.intermediate-alerting-setting-up-notifications-gen3||target="blank"]].76 +== 6. Suggested Additional Readings == 76 76 77 - ==4.Keytakeaways==78 +If you are interested in this topic and want more information on it please read the help text provided by eMagiz. 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. 80 +== 7. Silent demonstration video == 82 82 83 - ==5.SuggestedAdditional Readings==82 +This video demonstrates how you could have handled the assignment and gives you some context on what you have just learned. 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"]] 93 -)))((({{toc/}}))){{/container}}{{/container}} 84 +<iframe width="1280" height="720" src="../../vid/microlearning/novice-alerting-linking-tags-to-triggers.mp4" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> 85 + 86 +</div> 87 + 88 +</div> 89 +</div> 90 + 91 +{{/html}}
- novice-alerting-linking-tags-to-triggers--example-trigger-detail-data-measurements.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.marijn - Size
-
... ... @@ -1,0 +1,1 @@ 1 +31.8 KB - Content
- novice-alerting-linking-tags-to-triggers--example-trigger-detail-log-entry.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.marijn - Size
-
... ... @@ -1,0 +1,1 @@ 1 +12.7 KB - Content
- novice-alerting-linking-tags-to-triggers--example-trigger-detail-no-tag.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.marijn - Size
-
... ... @@ -1,0 +1,1 @@ 1 +6.3 KB - Content
- novice-alerting-linking-tags-to-triggers--example-trigger-detail-one-tag.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.marijn - Size
-
... ... @@ -1,0 +1,1 @@ 1 +9.1 KB - Content
- novice-alerting-linking-tags-to-triggers--example-trigger-detail-select-tag.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.marijn - Size
-
... ... @@ -1,0 +1,1 @@ 1 +11.7 KB - Content