Changes for page Topic Alerting
Last modified by Erik Bakker on 2025/11/19 20:30
From version 66.1
edited by Erik Bakker
on 2025/09/15 11:44
on 2025/09/15 11:44
Change comment:
There is no comment for this version
To version 62.1
edited by Erik Bakker
on 2024/08/26 12:07
on 2024/08/26 12:07
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 - TopicAlerting1 +Customize Queue Alerting - Content
-
... ... @@ -1,9 +1,9 @@ 1 1 {{container}}{{container layoutStyle="columns"}}((( 2 -In this microlearning, we’ll explore how to view andcustomizetopicalerts 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 totopicactivity. We’ll cover thetwo types oftopictriggers 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’ll explore how to customize queue 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 queue activity. We’ll cover the four types of queue 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 or the general concept of eMagiz Queue Alerting, 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 TopicAlerting that is introduced in [[Release 253>>Main.Release Information.Release Blogs.253-ChangingChameleon||target="blank"]] and theTopicAlerting explained in this page is only applicable for eMagiz models that are running onDSH.{{/info}}6 +{{info}}Note that this documentation explains the latest design of eMagiz Queue Alerting that is introduced in [[Release 226>>Main.Release Information.Release Blogs.226 - Alerting Alchemy||target="blank"]] and the Queue Alerting explained in this page is only applicable for eMagiz models that are running the [[current generation runtime architecture>>doc:Main.eMagiz Academy.Fundamentals.fundamental-runtime-generation3||target="blank"]]{{/info}} 7 7 8 8 == 1. Prerequisites == 9 9 ... ... @@ -12,59 +12,69 @@ 12 12 13 13 == 2. Key concepts == 14 14 15 -This microlearning focuses on customizing the topicalerts 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 yourtopics, so they better suit your needs and requirements.15 +This microlearning focuses on customizing the queue 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 queues from the general default settings provided by eMagiz, so they better suit your needs and requirements. 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. 17 +* eMagiz applies the same set of triggers to all queues. 18 +* There are four queue trigger options that eMagiz currently provides: 19 +** Consumers check 20 +** Queue load check 21 +** Inactivity check 22 +** Periodic activity check 23 +* Recipients are defined on the queue level. 22 22 23 -== 3. Topic Alerting == 25 +== 3. Queue Alerting == 26 +As discussed in the previous [[microlearning>>doc:Main.eMagiz Academy.Microlearnings.Crash Course.Crash Course Platform.crashcourse-platform-manage-alerting-gen3||target="blank"]], queue alerting refers to the configuration of alerts that work by applying a uniform set of triggers to all queues in your model. 24 24 25 - Asall ouralertingnow worksis thatwehavedivided themup in various segments that areaccessiblevia Manage.28 +[[image:Main.Images.Microlearning.WebHome@crashcourse-platform-manage-alerting-in-emagiz-queue-alerts-overview.png]] 26 26 27 - [[image:Main.Images.Microlearning.WebHome@crashcourse-platform-manage-alerting-in-emagiz-topic-alerts-overview.png]]30 +Here, when you navigate to Manage->Alerting->Triggers, you will find all the queues that are generated by eMagiz currently existing within your model, along with the trigger conditions and thresholds that are applied to each of these queues. In the following sections, we will discuss how you can tune these queue triggers to your needs. 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}} 32 - 33 33 === 3.1 Customize Default Values === 34 34 35 -Changes to the default values will only apply to topictriggers that are set to use the default values, and not to those you have already customized. To modify the default values configured by eMagiz, you can click the "Configure defaults" button at the top of the topic trigger list.34 +Changes to the default values will only apply to queue triggers that are set to use the default values, and not to those you have already customized. To modify the default values configured by eMagiz, you can click the "Configure defaults" button at the top of the queue trigger list. Note that if your account does not have edit rights in Manage for a specific environment, you will see a "View defaults" button instead. 36 36 37 - {{info}}Notethatif youraccount doesnot haveeditrightsinManage foraspecific environment, you willseea "View defaults" button instead.{{/info}}36 +[[image:Main.Images.Microlearning.WebHome@novice-alerting-customize-queue-alerting-consumers-check-queue-load-check.png]] 38 38 39 - [[image:Main.Images.Microlearning.WebHome@novice-alerting-customize-topic-alerting--customize-default-triggers.png]]38 +Here, you will get a pop-up page where you can configure the default values of your queue triggers. The details of each of the triggers will be discussed in the next section. But, what is important to note here is that, here, you have the "Reset to eMagiz defaults" button to reset the default values 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 apply the default values that you have configured to all queue triggers that are set to use the default values. By clicking this button, the new default values will be put into effect immediately. 40 40 41 -Here, you will get a pop-up page where you can configure the default values of your topic triggers. The details of each of the triggers will be discussed in the next section. But, what is important to note here is that, here, you have the "Reset to eMagiz defaults" button to reset the default values to the values provided by eMagiz as defaults (i.e. disabling them). Next to that, at the bottom of the pop-up, you will find the "Update defaults" button, which will apply the default values that you have configured to all topic triggers that are set to use the default values. By clicking this button, the new default values will be put into effect immediately. 42 - 43 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 configure it, please refer to this [[microlearning>>Main.eMagiz Academy.Microlearnings.Intermediate Level.Alerting.intermediate-alerting-setting-up-notifications-gen3||target="blank"]]. 44 44 45 -=== 3.2 Customize TopicAlerting ===42 +=== 3.2 Customize Queue Alerting === 46 46 47 -Next to customizing the default values for a ll topic triggers, you can also modify the trigger configurations for individualtopics. To customize thesetopictriggers to better suit your needs, you can click the edit buttons (green paper and pencil buttons) located at the end of eachtopictrigger. By doing so, you will get a pop-up page that allows you to further customize the conditions and thresholds of yourtopictriggers, which will be discussed in the following.44 +Next to customizing the default values for each queue triggers, you can also modify the trigger configurations for individual queues. To customize these queue triggers to better suit your needs, you can click the edit buttons (green paper and pencil buttons) located at the end of each queue trigger. By doing so, you will get a pop-up page that allows you to further customize the conditions and thresholds of your queue triggers, which will be discussed in the following. 48 48 49 -==== 3.2.1 Minimum throughput check ==== 46 +* **Consumers check** 47 +[[image:Main.Images.Microlearning.WebHome@novice-alerting-customize-queue-alerting-consumers-check-queue.png]] 50 50 51 - [[image:Main.Images.Microlearning.WebHome@novice-alerting-customize-topic-alerting--minimum-throughput-check.png]]49 +{{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}} 52 52 53 -{{info}}This alert checks whether a topic receives at least the specified number of messages within a 10-minute window. If the count remains below the threshold for the entire window, a Problem alert is triggered. Please provide the threshold that suites the integration. 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}} 51 +* **Queue load check** 52 +[[image:Main.Images.Microlearning.WebHome@novice-alerting-customize-queue-alerting-queue-load-check.png]] 54 54 55 - ====3.2.2Messages behind check====54 +{{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}} 56 56 57 -[[image:Main.Images.Microlearning.WebHome@novice-alerting-customize-topic-alerting--messages-behind-check.png]] 56 +* **Inactivity check** 57 +[[image:Main.Images.Microlearning.WebHome@novice-alerting-customize-queue-alerting-inactivity-check.png]] 58 58 59 -{{info}}This alert monitors consumer lag and triggers a Problem alert if any consumer group exceeds the defined threshold for 10 consecutive minutes. Please provide the threshold that suites the integration. For more information check out the helptext on the component{{/info}} 59 +{{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. 60 +* 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. 61 +* 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. 62 +* 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 60 64 +* **Periodic activity check** 65 + [[image:Main.Images.Microlearning.WebHome@novice-alerting-customize-queue-alerting-periodic-activity-check.png]] 61 61 62 -{{info}}Upon saving, these custom values will apply immediately, putting the new check into effect. Additionally, you will notice that the "Settings" status of the topic trigger you just customized has changed from "Default" to "Custom". Similarly, 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 of a specific topic. If you want to learn more about this notifications and how to configure it, please refer to this [[microlearning>>Main.eMagiz Academy.Microlearnings.Intermediate Level.Alerting.intermediate-alerting-setting-up-notifications-gen3||target="blank"]].{{/info}} 67 +{{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. 68 +* 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. 69 +* 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. 70 +* 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}} 63 63 72 +Upon saving, 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 just customized has changed from "Default" to "Custom". Similarly, 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 of a specific queue. If you want to learn more about this notifications and how to configure it, please refer to this [[microlearning>>Main.eMagiz Academy.Microlearnings.Intermediate Level.Alerting.intermediate-alerting-setting-up-notifications-gen3||target="blank"]]. 73 + 64 64 == 4. Key takeaways == 65 65 66 -* As a user with the edit rights in Manage of a particular environment, you can modify the default values for all of your topictriggers or customize the trigger configurations of individualtopics.67 -* eMagiz provides four topictrigger options:Minimum throughputcheck (monitoring the number of messagesprocessed bythetopic),Messagesbehind check (monitoringtheconsumerlag).76 +* 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. 77 +* 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). 68 68 * Once you save your trigger configurations, they will take effect immediately. 69 69 70 70 == 5. Suggested Additional Readings == ... ... @@ -76,5 +76,5 @@ 76 76 * [[Intermediate (Menu)>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.WebHome||target="blank"]] 77 77 ** [[Alerting (Navigation)>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Alerting.WebHome||target="blank"]] 78 78 *** [[Setting up notifications (Explanation)>>doc:Main.eMagiz Academy.Microlearnings.Intermediate Level.Alerting.intermediate-alerting-setting-up-notifications-gen3||target="blank"]] 79 -* [[ TopicAlerting (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=%22topic+alerting%22||target="blank"]]89 +* [[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"]] 80 80 )))((({{toc/}}))){{/container}}{{/container}}