Analyze Cost Across Applications

Updated 1 week ago by Archana Singh

Harness Continuous Efficiency (CE) allows you to view the cost of resources organized by Harness Applications, understand what is costing the most, and analyze cost trends. CE displays the data for all your Applications and helps you get answers for:

  • How is your cloud cost spend trending?
  • Which Harness Application cost the most last month or week?
  • What is the idle cost across Applications?
  • What is your primary cost contributor, for example, Harness Service (microservices), Environment (infrastructure), or Tags (components tagged using Harness Tags)?

View the cost trends that are important to you by selecting a date range, Group by, and Filter by options. Based on your selection, the table displays the Total cost, Cost trend, and Idle cost and the chart displays the data based on the Group by selection. Hover over the chart to see the details. You can Group by:

  • Application: These are the sum of your Harness Application costs.
  • Cloud Providers: These are your cloud platform costs. Cloud Providers describe your public or private cloud or physical infrastructures, like AWS and Kubernetes. See Add Cloud Providers.
  • Tags (in Application): Harness Tags provide metadata for organizing, searching, and filtering Harness components. See Manage Tags. These are the costs of the components sharing the same tags.
  • No Grouping: This is the total of all Application-related costs.

Next drill down to get granular details of the Application component costs. Click on the Application, and then on the Application page, use Group by:

  • Service: Services represent your microservices and applications. These are your microservice costs.
  • Environments: Environments organize and name the deployment infrastructures in your cloud platforms, such as Dev, QA, Stage, Production, etc. These are your cloud platform infrastructures costs, grouped by team, dept, and so on.
  • Tags (in Services): This is the cost of microservices sharing the same tag in Harness Services.
  • Tags (in Environments): This is the cost of deployment infrastructures sharing the same tag in Harness Environments.
  • None: This is the total cost of this Application.

In this topic:

Before You Begin

Review: Harness Applications

To perform root cost analysis on Harness Applications and subordinate components, it's important to review how Harness organizes and models your projects using Applications. See Harness Key Concepts for an overview.

The follow graphic shows how Harness represents and organizes the components of your release process using its Application model:

In CE, you begin by clicking the name of the Application you want to analyze:

Once you're viewing the Application, you drill down to its subordinate entities using the Group by filter.

The following steps take you through the process.

Option 1: Analyze Total Cost and Idle Cost

The total and idle cost helps you to understand the cloud cost of the resources that are idle. Getting visibility into the idle resources gives you an opportunity to optimize your cloud cost.

  1. In Continuous Efficiency, click Explorer and then click Application.
  2. Select the date range for the costs you want to analyze.
  3. Select Total cost or Idle cost from the Show data filter.
  4. In this example, the Idle cost data is displayed for all the Harness Applications.
  5. In addition to the Show data view, you can further customize your views using the Group by and Filter by settings to get more granular details.
  6. When you Group by a Tag name, some resources without the selected tag will not be included. The cost of these resources is listed as Tag not present in the table. Select Include Tag not present checkbox to show the cost of these resources in the graph.

Option 2: Analyze Cost Breakdown: Total, Idle, and Utilized Cost

The cost breakdown provides deep insights into the specifics of your cloud costs. It helps you to understand your primary cost contributors. You can use this data to manage your cost and resources.

  1. In Continuous Efficiency, click Explorer and then click Application.
  2. Select the date range for the costs you want to analyze.
  3. Select Application, Cloud Providers, Tags (In Application), or None from the Group by drop-down list. You can further customize your selection by using Filter by option to get more granular details. Based on your selection, Total, Idle, and Utilized cost is calculated and displayed.

A cost trend indicates the direction of your cloud cost is trending. The cost trend is calculated based on previous spending. It can be calculated only if the previous data is available.

  1. In Continuous Efficiency, click Explorer and then click Application.
  2. Select the date range for the costs you want to analyze.
  3. Select Application, Cloud Providers, Tags (In Application), or None from the Group by drop-down list. You can further customize your selection by using Filter by option to get more granular details. Based on your selection, Cost trend is calculated and displayed.

Option 4: Analyze Forecasted Cost

Forecasted costs are predictions based on your historical cost data. The forecasted date is applicable only where historical data exists. If there is insufficient data to compute the forecast, the value is not displayed. The forecasted cost is predicted for the same future time period as your selected date range. For more information, see Forecasted Cost.

  1. In Continuous Efficiency, click Explorer and click Application.
  2. Select the date range for the costs you want to analyze.
  3. Select Cluster or None from the Group by drop-down list. You can further customize your selection by using Filter by option to get more granular details. Based on your selection, Total cost and Forecasted cost is calculated and displayed.

Next Steps


How did we do?