Skip to main content

Creating Monitoring Rules

How to create Frends Monitoring Rules to raise alerts in case of problems in an integration Process.

Ossi Galkin avatar
Written by Ossi Galkin
Updated over a year ago

Written for Frends version 4.5

Prerequisites

You will need the following prerequisites to follow this guide:

  1. Editor access to your Frends Tenant to access the Monitoring Rules View.

  2. Process executions with Promoted Variable results.

  3. (Optional) Configure an SMTP server during deployment. Checkout this 'How To' for Installing Frends on premise.

How to create a Monitoring Rule

  1. Navigate to the Monitoring Rules View under 'Administration -> Monitoring rules'

  2. Chose the Environment in which you want to create your monitoring rule. You have to separately create monitoring rules for each Environment.

  3. Click on the 'Add new rule' link

Variable to monitor 

  • Select the Promoted Variable for the Monitoring Rule. All rule processing will be done towards the values or counts of this variable.

Send alert if

  • Select the condition that needs to be fulfilled before creating an alert.

    • Count of instances, Count of distinct variable values. These can be used for any type of Promoted Variable value.

    • Sum of variable values, Maximum-, Minimum of variable values. These can only be used if the Promoted Variable values are numbers.

    • During time interval

    • Select a time interval for how long the condition above has to be true for an alert to be created.

Rule for a case when executions have not happened

The following configuration shows a common rule of creating an alert if not as many orders have been processed as you would have expected.

This rule will create an alert if there are less than 100 order Processes within one hour. The rule will only be created during the selected time window. The time window here is weekdays between 09:00 - 17:00 with the offset UTC+2

Rule for a case when promoted values are not what they should be

The following configuration shows a rule for creating an alert if something that deviates the norm has occurred. In this case a Process step is taking longer than expected.


This rule will create an alert if any durationInSeconds variable value exceeds 30 seconds.

Sending an email from Monitoring Rule alerts

  1. Select the Environment where you wish to configure alert recipients.

  2. Click on the 'Add recipients' link.

  3. Add recipient emails as comma separated text. e.g.

test@example.com, example@example.com

An email will now be sent after a slight delay of an alert occurring.

 


Next, we will learn how to use Templates on Getting Stated with Templates.

  

Did this answer your question?