Changes for page Dynamic Alerting
Last modified by Danniar Firdausy on 2024/11/19 11:08
From version 18.1
edited by Erik Bakker
on 2022/06/10 09:47
on 2022/06/10 09:47
Change comment:
Renamed from xwiki:Migrated Pages.Linking Tag(s) to Trigger(s)
To version 48.1
edited by Erik Bakker
on 2024/08/26 12:21
on 2024/08/26 12:21
Change comment:
There is no comment for this version
Summary
-
Page properties (4 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 5 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,0 +1,1 @@ 1 +Dynamic Alerting - Parent
-
... ... @@ -1,0 +1,1 @@ 1 +Main.eMagiz Academy.Microlearnings.Novice.Alerting.WebHome - Default language
-
... ... @@ -1,0 +1,1 @@ 1 +en - Content
-
... ... @@ -1,14 +1,8 @@ 1 1 {{container}}{{container layoutStyle="columns"}}((( 2 - =LinkingTag(s)toTrigger(s)=2 +In this microlearning, we'll dive into configuring dynamic alerting in eMagiz. Dynamic alerts allow you to set up notifications based on specific triggers you define, helping you stay on top of critical events in your integration landscape. You can create alerts for error messages, log messages, topic updates, and consumer lag, and customize who gets notified. We’ll walk you through the different types of triggers and how to set them up effectively. 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 -In this microlearning, we will focus on how you can link your alerting tag(s) to alerting trigger(s). 5 -In a previous microlearning we already discussed parts of this. In this microlearning we will zoom in on the Trigger section of Alerting. 6 - 7 7 Should you have any questions, please contact [[academy@emagiz.com>>mailto:academy@emagiz.com]]. 8 8 9 -* Last update: April 1th 2021 10 -* Required reading time: 5 minutes 11 - 12 12 == 1. Prerequisites == 13 13 14 14 * Basic knowledge of the eMagiz platform ... ... @@ -15,65 +15,101 @@ 15 15 16 16 == 2. Key concepts == 17 17 18 -This microlearning centers around linkingtag(s)to trigger(s).19 - Withlinking, we mean:Categorizeacertain triggerwiththehelpoftagfunctionality12 +This microlearning centers on configuring dynamic alerting based on triggers you can define as a user. 13 +By defining, we mean: Specifying based on what triggers an alert needs to be raised. 20 20 21 -* Make tags descriptive in nature 22 -* Re-use tags over multiple triggers that have the same aim 23 -* In case of a start, daily and end alert use the same tag for all of them 15 +* There are four trigger options 16 +** Error message 17 +** Log message 18 +** Messages added to topic 19 +** Topic consumer messages behind 20 +* On the trigger level, the recipients are defined 24 24 22 +== 3. Dynamic Alerting == 25 25 24 +To enhance the observability of your integration landscape while running in the current generation runtime architecture, we provide a functionality in 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. From there on, you can navigate to the "Other" tab. 26 26 27 - ==3.LinkingTag(s)toTrigger(s)==26 +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 our previous dalliance withthissubject we already discussedparts of what we will discuss in this microlearning.This microlearningis mainlymeant to reiterate the importanceof using proper tags when setting up your alerting.Linking the correct tag(s) to your trigger(s) will help you to clarify how the alertingstructurefor yourprojectis set up. This is not only nice when you want to revisit the alerting section but it is also very usefull in communication with thebusiness and with a support desk. This way you cancreatea commontruth surrounding a common language. Keyarts in achieving thisare:28 +In this page, we offer dynamic alerting on four different types. 30 30 31 -* Make tags descriptive in nature 32 -* Re-use tags over multiple triggers that have the same aim 33 -* In case of a start, daily and end alert use the same tag for all of them 30 +* Error message 31 +* Log message 32 +* Messages added to topic 33 +* Topic consumer messages behind 34 34 35 - To link tag(s) totrigger(s) younavigateo Manage-> Alerting> Triggers35 +[[image:Main.Images.Microlearning.WebHome@novice-alerting-dynamic-alerting--dynamic-alert-trigger-options.png]] 36 36 37 - In this overview youcansimplyselectapecifictriggertoseethedetailedconfigurationofthe trigger.Dependingonthetypeoftrigger thatyouopentheavaiable tabswithinthepop-upandthe informationshownhe pop-upcandiffer. Belowwe show twodistinct examples:37 +{{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}} 38 38 39 - [[image:Main.Images.Microlearning.WebHome@novice-alerting-linking-tags-to-triggers--example-trigger-detail-data-measurements.png]]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). 40 40 41 - [[image:Main.Images.Microlearning.WebHome@novice-alerting-linking-tags-to-triggers--example-trigger-detail-log-entry.png]]41 +=== 3.1 Error message === 42 42 43 - Asyoucan see fromtheseexamplesisthat theumberof tabswithinthepop-updiffer.The firsttabiswerethe configurationofthe trigger happens.Inall thethertabsyou needtolink thetag(s)to the trigger. Todososimplypress Add inone ofthese tabs,search fortheTagyouwanttolinktothistrigger,selectitand press Select.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. 44 44 45 - [[image:Main.Images.Microlearning.WebHome@novice-alerting-linking-tags-to-triggers--example-trigger-detail-no-tag.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. 46 46 47 -[[image:Main.Images.Microlearning.WebHome@novice-alerting- linking-tags-to-triggers--example-trigger-detail-select-tag.png]]47 +[[image:Main.Images.Microlearning.WebHome@novice-alerting-dynamic-alerting--dynamic-alert-error-message-configuration.png]] 48 48 49 - [[image:Main.Images.Microlearning.WebHome@novice-alerting-linking-tags-to-triggers--example-trigger-detail-one-tag.png]]49 +=== 3.2 Log message === 50 50 51 - Whenyouare happywithyour selection you canpressSaveon trigger levelandeMagizwilllinkthe tag to thetrigger.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. 52 52 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. 53 53 55 +[[image:Main.Images.Microlearning.WebHome@novice-alerting-dynamic-alerting--dynamic-alert-log-message-configuration.png]] 54 54 55 -== 4.Assignment ==57 +=== 3.3 Messages added to topic === 56 56 57 -Link an (extra) tag to a trigger. 58 -This assignment can be completed with the help of the (Academy) project that you have created/used in the previous assignment. 59 +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. 59 59 60 - == 5.Keykeaways==61 +[[image:Main.Images.Microlearning.WebHome@novice-alerting-dynamic-alerting--dynamic-alert-messages-added-to-topic-all-topics.png]] 61 61 62 -* Assist in creating a common language 63 -* Make tags descriptive in nature 64 -* Re-use tags over multiple triggers that have the same aim 65 -* In case of a start, daily and end alert use the same tag for all of them 63 +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. 66 66 65 +[[image:Main.Images.Microlearning.WebHome@novice-alerting-dynamic-alerting--dynamic-alert-messages-added-to-topic-topic-selection.png]] 67 67 67 +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. 68 68 69 -== 6.Suggested Additional Readings==69 +=== 3.4 Topic consumer lag === 70 70 71 - Ifyou areinterestedin thistopicandwantmore informationonitpleaseread the help text providedbyeMagiz.71 +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. 72 72 73 - ==7.Silentdemonstrationvideo ==73 +{{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}} 74 74 75 - This video demonstrates how youcould havehandled theassignmentand givesyousome contexton whatyou have justlearned.75 +Once filled in, the solution should look similar as follows. 76 76 77 - {{videoattachment="novice-alerting-linking-tags-to-triggers.mp4" reference="Main.Videos.Microlearning.WebHome"/}}77 +[[image:Main.Images.Microlearning.WebHome@novice-alerting-dynamic-alerting--dynamic-alert-topic-consumer-lag-selected-topics.png]] 78 78 79 +=== 3.5 Recipient(s) configuration === 80 + 81 +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 that is part of your company or has access to the model in question) and external recipients. 82 + 83 +[[image:Main.Images.Microlearning.WebHome@novice-alerting-dynamic-alerting--dynamic-alert-recipient-config.png]] 84 + 85 +{{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}} 86 + 87 +== 4. Key takeaways == 88 + 89 +* There are four trigger options that eMagiz provides for dynamic alerting: 90 +** Error message 91 +** Log message 92 +** Messages added to topic 93 +** Topic consumer messages behind 94 +* On the trigger level, the recipients are defined. 95 +* When entering multiple external recipients for these dynamic alerting triggers, ensure that you have listed them in the Manage->Alerting->Triggers->Notifications settings tab. 96 + 97 +== 5. Suggested Additional Readings == 98 + 99 +* [[Crash Courses (Menu)>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.WebHome||target="blank"]] 100 +** [[Crash Course Platform (Navigation)>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.Crash Course Platform.WebHome||target="blank"]] 101 +*** [[Standard Alerting eMagiz (Explanation)>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.Crash Course Platform.crashcourse-platform-manage-alerting-gen3||target="blank"]] 102 +* [[Novice (Menu)>>doc:Main.eMagiz Academy.Microlearnings.Novice.WebHome||target="blank"]] 103 +** [[Alerting (Navigation)>>doc:Main.eMagiz Academy.Microlearnings.Novice.Alerting.WebHome||target="blank"]] 104 +* [[Intermediate (Menu)>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.WebHome||target="blank"]] 105 +** [[Alerting (Navigation)>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Alerting.WebHome||target="blank"]] 106 +*** [[Setting up notifications (Explanation)>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Alerting.intermediate-alerting-setting-up-notifications-gen3||target="blank"]] 107 +* [[Dynamic 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=%22dynamic+alerting%22||target="blank"]] 108 + 79 79 )))((({{toc/}}))){{/container}}{{/container}}
- novice-alerting-linking-tags-to-triggers--example-trigger-detail-data-measurements.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ebakker - Size
-
... ... @@ -1,1 +1,0 @@ 1 -31.8 KB - Content
- novice-alerting-linking-tags-to-triggers--example-trigger-detail-log-entry.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ebakker - Size
-
... ... @@ -1,1 +1,0 @@ 1 -12.7 KB - Content
- novice-alerting-linking-tags-to-triggers--example-trigger-detail-no-tag.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ebakker - Size
-
... ... @@ -1,1 +1,0 @@ 1 -6.3 KB - Content
- novice-alerting-linking-tags-to-triggers--example-trigger-detail-one-tag.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ebakker - Size
-
... ... @@ -1,1 +1,0 @@ 1 -9.1 KB - Content
- novice-alerting-linking-tags-to-triggers--example-trigger-detail-select-tag.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ebakker - Size
-
... ... @@ -1,1 +1,0 @@ 1 -11.7 KB - Content