Application Performance Monitoring (APM) Policy
Overview
Once you have configured an APM, it can be used to create policies that leverage application performance indicators to generate actionable alerts and notify users through default channels. Creating an APM policy ensures a proactive monitoring mechanism, enabling efficient application performance monitoring and rapid troubleshooting, which further minimizes potential service disruptions.
Navigation
Go to Menu and select Settings . After that, Go to Policy Settings
. Then, select APM Policy.
APM Policy Screen
List of created APM policies will be displayed on this screen. Below is a gist of options visible on the screen:
| Field | Description |
|---|---|
| Policy Name | Name of the configured policy. |
| Used Count | Display the number of Monitor(s) and Trace Service(s) associated with the policy. |
| APM Policy Type | Displays the type of configured policy. |
| Tag | Displays the configured tag details for the policy. |
| Severity | Displays the current severity level of the APM policy. |
| Threshold Value | Display the configured policy threshold values. |
| Metric | Displays the current metric name associated with the policy. |
| Status | Use the toggle button to enable or disable the specific policy. |
| Actions | Click on the Ellipsis icon to access the below actions for APM policy: - Edit: Allows you to edit parameters of the policy. - Delete: You can delete the policy using the delete option. |
Create APM Policy
You can create an APM policy by clicking on the Create Policy button. Below-mentioned parameters will be displayed on the next screen to configure the policy.
| Field | Description |
|---|---|
| Policy Name | Provide a descriptive name for policy. |
| Tag | Provide a Tag for the policy. |
Since configurations for different APM Policy Types differ, let's look at them separately:
- Trace Metrics
- Trace Analytics
Set Conditions
| Field | Description |
|---|---|
| APM Policy Type | Select Trace Metrics as APM Policy Type. |
| Counter | Use the dropdown to select a counter. |
| Source Filter | Use the dropdown to either select a service or a Monitor. |
| Source | List of services or monitors will be available based on the Source Filter selection. |
| Critical/Major/Warning | Provide a numerical threshold value for each severity level respectively. You can also change the operator suitable to your needs using the dropdown. |
| Notify if threshold value breach within | Use the dropdown to select the duration for repeat notification. |
| Abnormality occurrence | Select the number of occurrences you wish to be notified for when threshold value has been breached. |
| Auto clear | Select the time duration to auto clear the abnormality alert. This does not clear the base alert. |
Notify Team
| Field | Description |
|---|---|
| Notify | There are three ways you can populate this field: |
| If severity is | Select the severity level using individual checkboxes in the dropdown.You can select multiple, all, or a single option as per your requirement. You can also have different recipients notified at different severity levels. For instance, you can notify johndoe@motadata.com when severity level hits Critical and send an alert notification to janedoe@motadata.com when severity level is Major. |
| Play Sound | Activate this toggle to enable sound notifications when an alert is triggered. |
| If Severity is | Choose the severity level at which the sound notification should be triggered. This option becomes visible only when the Play Sound toggle is switched ON. |
| Renotification | Turning on the toggle will resend the alert at a specific interval defined by you. If turned off, Motadata AIOps will not renotify about the alert. |
| Renotify | Similar to Notify Team field, enter the username or email address of the recipient. Also choose a preset duration for renotification along with the severity level at which they system will renotify you if the alert severity is not changed. |
| Do not renotify if acknowledged | If the toggle is turned on, Motadata AIOps will not send a renotification to the recipient if they mark the alert as acknowledged. |
Declare Incident
| Field | Description |
|---|---|
| Select Integration Profile to Trigger | Choose an Integration profile to be executed from the dropdown when the chosen alert severity is reached. |
| When Alert Severity is | Select an Alert severity from the dropdown. |
| Create Integration Profile | Select this button to start creating a new Integration profile that you might want to assign to the policy you are creating. |
You can click on to define a new Alert severity and Integration Profile combination. You can have separate Integration profile triggered at different levels of Alert severity.
Set Conditions
| Field | Description |
|---|---|
| APM Policy Type | Select Trace Analytics as APM Policy Type. |
| Counter | Use the dropdown to select a counter. |
| Aggregation | Use the dropdown to apply an aggregation type for the selected counter. |
| Operator | Use the dropdown menu to select an operator best suitable for your requirements. |
| Value | Provide a numerical threshold value for the severity level. |
| Source Filter | Use the dropdown to either select a Service or Source Host. |
| Source | List of Source Host(s) or Service(s) will be available based on the Source Filter selection. |
| Result By | Define what constitutes an alert. |
| Filters | You can configure pre-filters to further filter the condition. |
| Severity | Select a severity level to associate with the configured threshold value. You can only select single severity level. |
| Notify if Threshold value breach within | Use the dropdown to select the duration for repeat notification if the threshold value is breached again within stipulated time. |
| Field | Description |
|---|---|
| Notify | There are three ways you can populate this field: |
| Play Sound | Activate this toggle to enable sound notifications when an alert is triggered. |
Select the Create Policy button to create the policy based on the details entered.
Select the Reset button to erase all the current field values, if required.