Monitors in Cost Analyzer allows users to define a budget for their Azure cost on a monthly or daily basis and get notified if the actual cost reached the budget.
Add a Monitor
To begin with cost monitoring, users are required to add a monitor. Navigate to the Monitoring section and click Add button to add a monitor. Provide the basic details including Monitor name and description, if required.
- Choose between the Daily, Monthly and Last 7 days options to run the monitor for the specified time interval.
- Daily can be chosen when there is a need to monitor the daily cost of the filtered resources.
- Monthly can be chosen when there is a need to monitor the total cost of the filtered resources spent on the current calender month.
- Last 7 days can be chosen when the user has the necessity to monitor the Azure cost for the past 7 days.
- The next step is to configure rules for monitoring. Clicking on the Add rule button opens a sub window to configure rules to the Monitor. The rules configuration include 3 different steps to complete the process of creating a monitor
Provide a name to the monitoring rule and choose the subscriptions that are to be monitored.
The cost metric can be chosen between Actual cost and Amortized cost.
Actual Cost: Displays the raw usage and purchases for Azure and third-party Marketplace offerings as they will appear on the invoice.
Amortized Cost: Divides reservation purchase charges and distributes them evenly over the term's duration. Amortized reservation costs are linked to the resources that were used.
- Apply the required filters so that only the cost of the required criteria is considered while checking for violation.
Click here to know more about filters available in the Cost Analyzer product.
Set a budget value that will be used to determine a violation.
An alert will be sent when the actual budget exceeds the provided budget value of the rule.
The budget value can be given as a static value or as a dynamic budget difference value, which determines the budget change by comparing it to the previous day's budget value.
The Azure cost trend is displayed as preview for users to have a clarity on their Azure subscription usage based on the applied filters and selected subscriptions.
Configure the required email address(es) to which the alert(s) are to be sent when a monitoring rule is violated.
Users can also choose the required notification channels to receive an alert notification.
Click here to know more about Notification channels.
The following illustration displays the process of creating a Monitor in a PH environment:
Update existing monitoring configuration
Monitors created can be updated further by clicking on the respective monitor name or edit option from the Monitors section.
Users can Enable (or) Disable the monitor from the Monitors section (or) under the Monitor settings tab available on the monitor's page.
The monitor name/description can also be updated using the Rename option available next to the Monitor name/description.
Remove a Monitor
- Any monitor that is no longer useful can be removed completely from the Monitors section by using the Remove icon.
- Users can access the historical summary of the Cost Analyzer's cost alert status in the form of a calendar. Data for the last 30 days will be always available to users for reference.
Users can find the cost alerts from the Alert history tab present in each monitor.
The alert details can be found by clicking the Details hyperlink available next to each cost alert.
If the Notification channel fails to transmit the generated alerts, those alerts will be captured in Alert history with the Transmission status marked as Failure and the Failure Reason can be found by clicking on the red info icon.
- Users can filter cost alerts based on Date, Channel type, and Transmission status.