Reports
You can also use Cost Explorer to create cost reports.
Types of Cost Reports
Workload Cost Trends Report
Workload Cost Trends Reports reveal which resource consumption trends drive changes in your costs. Use these reports to compare costs between periods, such as week over week or month over month. By grouping data with labels like kube_cluster_name
and kube_namespace_name
you can identify whether workloads are becoming more or less expensive over time.
Wasted Workload Spend Report
Wasted Workload Spend Reports provide insights into resource consumption at the workload level by calculating how much allocated CPU and memory a workload uses. By default, these reports group cost data by kube_cluster_name
, kube_namespace_name
, and kube_workload_name
. You can add additional label groupings, but these defaults are the minimum required. The report calculates the following cost metrics at a workload level:
Accrued Cost: Represents the CPU and memory costs allocated to a workload, based on its configured CPU and memory quotas. If usage exceeds these quotas, the actual usage determines the accrued cost. Costs from Persistent Volume Claims (PVC) are also included in this calculation.
Estimated Rightsizing Spend: Represents the cost of resources based on actual usage of CPU and memory as an average over a specified time window. It provides insights into potential savings by aligning resource allocation with actual usage patterns.
Wasted Spend: The cost of CPU and memory resources requested by a workload but not utilized. While some buffer is essential for handling spikes, excessive unused resources can result in unnecessary costs.
The relationship between these terms is represented in the formula:
Accrued Costs = Estimated Rightsizing Spend + Wasted Spend
Create a Report
To create a cost report:
Log in to Sysdig Monitor, and select Costs > Reports.
Select Create New Report in the top right corner.
The New Report page opens.
Specify a unique Name and Description.
Select between a Workload Cost Trends report or a Wasted Workload Spend report
Choose an Export Format of CSV of JSON. You might export reports for offline processing or integration with third-party tools.
Define the Scope of the report.
Scope controls which portions of your infrastructure cost data will be included for.
Select appropriate grouping.
You can Group By kube_cluster_name, kube_namespace_name, or kube_workload_name. Note that for Wasted Workload Spend, these are the minimum group_by labels.
Configure the Frequency.
The frequency of the report will determine the timeframe of cost data included in the final report.
Configure Notifications.
Slack and email are supported. Both options will present friendly reports for your team.
You can observe a Preview of the data to export. You can also retrieve the latest report through our API and connect with your preferred tools.
Download Reports
To download a report:
Log in to Sysdig Monitor and select Costs > Reports.
From the main Reports page, select a report from the list.
The detail panel will open.
Select a generated report to Download.
It will be formatted as CSV or JSON, depending on the Report’s configuration.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.