Configure the Rules
Alarms can be fully customizable, meaning they respond to different types of metrics, analyzing services, accounts or other components of the environment.
- On the main alarm screen, the system allows you to register a new alarms by clicking on the "New Alarm" option. 

- General Information 
Register the new alarm data and press the Next button.
- Name: Alarm identification 
- Description: Any additional information about the alarm 

- Register the Indicator information.. 

Agregator: Select the agregator (Last, Period, Competency)

- Last: When selecting the "Last" agregator, the system will display some additional fields for filling in: - Value 
- Period (Day, Week, Month, Year) 
- Delay by (Optional) 
- Period (Day, Week, Month, Year) 
 
Use this option to accumulate values from the last x days, weeks, months or years, for example: Last 7 days with a 3-day delay (we consider a 3-day delay for cloud providers to close)

- Period: When selecting the “Period” agregator, the system will display some additional fields to complete - Start of period 
- End of period 
 
Use this option to consolidate values from a specific period.

- Competency: When selecting the "Competency" agregator, the system will display an additional field - Competency: Inform a month of competence. 
 

Use this option to work with a specific month of competency

Dataset (optional): Select this option to use a data set.

Expression: Select the options from the list as below:

- Sum: adds the values of the parameterized period 
- Average: calculates the average of the values in the parameterized period 
- Average by date: calculates the average by date in the parameterized period 
- Quantity: counts the number of values that are not blank. 
Return Type: Select the option as below:

- Key and value: Use this option to filter billing fields (key), and the content (value). For example: 

- Calculated field: Use this option for filters that combine mathematical operators, for example amortized cost greater than 1,000: 

Calculated field return: Inform the billing field that will be totaled in this context.

- Register the Limit information. 

Type: Select the type as below:

- Static: When selecting this option, the system will request some additional information: - Competency: Inform the month of competence. 
- Static: Inform the limit value for sending the notification. 
 
Use this option to set a limit based on a fixed value. Example: In this context, when the indicator value reaches 100,000, the notification will be sent.

- Dynamic: When selecting this option, the system will request some additional information: 

Use this option for dynamic limits, for example, when the indicator reaches 10% of the actual cost the alarm will be triggered.
Agregator: Select the agregator (Last, Period, Competency)

- Last: When selecting the "Last" agregator, the system will display some additional fields for filling in: - Value 
- Period (Day, Week, Month, Year) 
- Delay by (Optional) 
- Period (Day, Week, Month, Year) 
 
Use this option to accumulate values from the last x days, weeks, months or years, for example: Last 7 days with a 3-day delay (we consider a 3-day delay for cloud providers to close)

- Period: When selecting the "Period" agregator, the system will display some additional fields to complete: - Start of period 
- End of period 
 
Use this option to consolidate values from a specific period.

- Competency: When selecting the "Competency" agregator, the system will display an additional field - Competency: Use this option to work with a specific month of competency 
 

Dataset (optional): Select this option to use a data set.

Expression: Select the options from the list as below:

- Sum: adds the values of the parameterized period 
- Average: calculates the average of the values in the parameterized period 
- Average by date: calculates the average by date in the parameterized period 
- Quantity: counts the number of values that are not blank. 
Return Type: Select the option as below:

- Key and value: Use this option to filter billing fields (key), and the content (value). For example: 

- Calculated field: Use this option for filters that combine mathematical operators, for example amortized cost greater than 1,000: 

Calculated field return: Inform the billing field that will be totaled in this context.

Calculated field operator: Inform the operator that will be used in the calculated field

- Register the Notification information. 
- Margin Ratio: The alarm will be triggered whenever the configured ratio is reached. 
- Send notification: Select Yes to send a notification whenever the alarm is triggered. 

When selecting Yes, the system will request additional information:
- Cycle: Number of times the notification will be sent, with the option to notify once or always. 
- Notification Groups: Select the notification group that will be triggered. 

Last updated
