The Cost Management tiles show the cost of Azure resources, resource groups or subscriptions. Analysing your Azure costs should help you identify big costs early, spot trends, and tie costs to applications.
After clicking on the Cost Management tile there are several Cost Management graph types to choose from:
Cost tile types
The Cost Management Scalar tile can be scoped to show the total cost of resources, resource groups or subscriptions. You can list resources to be summed, or select all of a particular type, resource group or tag, as described below.
The Cost Management Line Graph tile shows the cost over time, either as an aggregated single line or individual lines.
Clicking on a subscription, resource group or resource will take you to the drilldown page for that item.
The value in the centre always shows the total for the hovered item.
Clicking on a subscription, resource group or resource will take you to the drilldown page. Hovering over a segment shows the item's name as a tooltip, and the legend labels show the top 5 most expensive items.
Cost tile options
The scope section allows you to define which resources are used to calculate the total cost shown.
For example, if you use the list option to select several individual resources, then the sum of the cost for these items will be shown.
Known issue: Cost accrued for deleted resources is not included.
You might use the type option to show the total cost of all resources with a particular type, for example all virtual machines.
For more information see How to scope tiles
Azure role-based access control (RBAC)
It's worth noting that users will only see in SquaredUp what they are allowed to see in the Azure portal, which is controlled by role-based access control (RBAC) for Azure resources.
If the user does not have access to any of the resources that the Cost tile is scoped to, they will see a zero cost, or when scoped to a subscription:
The subscription was not found in the list of available subscriptions.
If they have access to some of the resources they will not see the full cost, but instead see the cost of the subset of resources that they have permission to see.
Removing the aggregate tick for a Cost Line Graph will show a line for each cost rather than one total cost line.
When adding and editing the tile you can choose either use page timeframe or specific timeframe.
For more information see How to use Timeframe option.
You can change the font size of the cost figure shown.
The Data Range option allows you to choose the range of the y-axis.
fit to data shows the data minimum to data maximum
fit to data (from zero) shows from 0 to the data maximum
custom allows you to specify the min and max
custom fit - allows you to specify the min and max limits, so that data outside your settings will not be shown. If all the data falls within your specified ranges then the y-axis range will fit to the data rather than your caps.
The height slider allows you stretch or shrink the Line Graph or Sun Burst height.
The color section allows you to choose how the Treemap and Sun Burst graphs are displayed. For example, if you select resource group then each resource group's resources will be shown in a different shade.
show legend allows you to display a key to the coloured graph lines. When this is selected you can change from the automatic label to specify your own label format. The default label shows the name metric and unit.
The Treemap graph also includes a sublabel option.
Using the custom option you can create your own advanced label to specify exactly how you want the results to be displayed (using both static text and dynamic properties) to ensure that the results always make sense.
For more information see How to use custom labelling
- Deleted resources are not included when scoping the Cost Management tile leading to discrepancies with the Azure Portal (SU-7709)
- Cost tiles may show small differences from the values shown in the Azure Portal when longer timeframes are used (SU-7896)
- The calculated totals for Treemap and Sunburst tiles do not include the cost of each item that, over the selected timeframe, does not exceed 0.50 in the currency unit for that item (SQ-2527)