In the realm of performance monitoring and testing, immediate and relevant notifications are crucial for maintaining system integrity and efficiency. LoadGen Cloud's Alert Profiles feature provides a robust framework for creating, managing, and deploying customized alerts tailored to your specific monitoring needs.
Accessing Alert Profiles
Navigate to the Alerts section on your LoadGen Cloud dashboard and select the Profiles tab. This is where you'll manage and create new alert profiles. Note that a trigger must be created before setting up an alert profile.
Create a New Profile
- To create a new profile, click on the + Create Alert button. This launches the Alert Wizard, a step-by-step guide to creating your alert profile.
- In the Step 1 section provide the following information:
- Name: Assign a unique and descriptive name to your alert profile for easy identification.
- Alert Type: Choose the nature of the alert such as Information, Warning, Error, Critical, or Success.
- Alert Configuration: Select the type of monitoring that triggers the alerts: User Experience Measurements or Performance Metrics, read more about which data you can receive in this article.
- Alert Trigger: Associate the profile with a previously created Trigger that specifies when the alert should be activated.
Defining Conditions
After you've named your alert and specified its type and trigger within the Alert Wizard, you'll be brought to the next critical step: setting conditions using the Expression Editor. This powerful tool allows you to create logical expressions that determine when your alerts should fire.
The Expression Editor operates on a combination of logical operators and condition groups:
- Logical Operators: Choose between 'And' or 'Or' to create compound conditions. 'And' means all conditions must be met, while 'Or' signifies that any condition can trigger the alert.
- Condition/Group: Construct nested conditions using 'Add Condition' or group multiple conditions with 'Add Group' for more complex criteria.
Working with the Data Model
Depending on the Alert Type you've selected, the Expression Editor will provide a data model with fields relevant to your monitoring needs. Each field type has its own set of expressions:
- Integer Fields: Use expressions like greater than, less than, equal to, etc.
- String Fields: Contains, equals, starts with, and other string operations.
- Date Fields: Before, after, within range, and similar date-related expressions.
Example of Setting a Condition
If you wish to create an alert for when a login page load time exceeds a threshold, you might:
- Select 'And' if you have multiple conditions to meet.
- Click 'Add Condition'.
- From the data model, choose the field for page load time.
- Set the expression to greater than and specify the threshold value.
Finalizing Your Alert Profile
After setting up the conditions, review them for accuracy. Ensure that they align with your monitoring objectives and that they're neither too broad (causing alert fatigue) nor too narrow (missing critical events).
Once you're satisfied with the configuration, proceed to 'Finish'. Your alert is now set up and will notify the relevant parties as specified by the trigger settings.
Edit the Alert Profile
To edit or view the SUT Template you can click the gearbox icon in the first column of the main page of the specific SUT Template.