Skip to Content
Pipetrics

Cost Profiler: User Guide

Learn to navigate the Cost Profiler flamegraph, interpret cost estimates and filter GitHub Actions telemetry in Pipetrics.

Cost Profiler is a Pipetrics view for exploring GitHub Actions costs. It uses a flamegraph to show how modeled runner costs are distributed across your organization's repositories, workflows, jobs and steps.

This guide explains how to navigate the flamegraph, interpret cost figures and use filters to investigate specific parts of your CI workload.

Open Cost Profiler

To use Cost Profiler, complete the read-only GitHub App integration and activate at least one repository. Once Pipetrics has collected workflow runs, you can explore their costs.

  1. Select an organization in Pipetrics.
  2. Open Cost Profiler from the sidebar.
  3. Select the month you want to inspect.

The initial flamegraph shows the distribution of modeled cost across the organization for the selected period. The available data depends on your workspace's telemetry retention.

Cost Profiler flamegraph at organization level

The flamegraph represents the hierarchy of GitHub Actions telemetry. Larger blocks account for a greater share of modeled cost within the current view and filter selection.

LevelWhat you can inspect
OrganizationCost distribution across repositories
RepositoryCost distribution across workflow files
WorkflowCost distribution across jobs
JobThe steps that make up the job

Select a repository block to see its workflows. From there, drill into a workflow to inspect its jobs and continue to the step level for more detail.

Cost Profiler showing workflows within a selected repository

Use the details panel to inspect the selected item. At workflow level, consider execution count and runtime alongside modeled cost. A workflow that runs frequently can account for a large share of cost even when individual runs are short.

Use the breadcrumbs to return to a previous level without resetting your investigation.

Understand the cost figures

Cost Profiler models runner usage at GitHub list prices. Estimated billable cost also takes available information about the GitHub plan and included minutes into account.

MetricMeaning
Modeled costThe value of runner usage at GitHub list prices
Estimated billable costAn estimate that accounts for available plan and included-minute information

The two figures serve different purposes. Modeled cost helps you compare resource usage across repositories and workflows. Estimated billable cost helps you assess usage in the context of GitHub billing. The final amount charged is determined by GitHub.

Retries, reruns and skipped jobs

Pipetrics includes valid retry and rerun attempts in its calculations because they represent work performed by GitHub Actions. Skipped jobs and invalid intervals where the end timestamp precedes the start timestamp are excluded from runtime and cost calculations.

Filter the flamegraph

Use filters to restrict the telemetry included in the flamegraph. You can combine filters to investigate a particular subset of workflow activity.

Cost Profiler filter controls

FilterUsage
Billing categoryView all usage or restrict the view to billable, free-tier or always-free usage.
ConclusionSelect successful, failed, cancelled, skipped or other outcomes.
TriggerRestrict usage to events such as pushes, pull requests, schedules or manual workflow dispatches.
Runner labelInspect jobs with particular runner labels, including labels associated with operating systems, runner sizes or self-hosted runners.
BranchIsolate activity on default, release or feature branches.
RepositoryRestrict the organization view to selected repository data while retaining the period and other filters.

Use the search field to narrow long filter lists by name.

Inspect failed work

Open the Conclusion filter and select failure to restrict the view to failed activity for the selected period.

Conclusion filter with Failure selected

The filtered flamegraph lets you locate the repositories, workflows and jobs associated with failed usage. Drill into a job to investigate where the failure occurs.

Cost Profiler flamegraph filtered to failed usage

When interpreting failed cost, check the scope of the metric:

  • Cost attributed to a failed workflow attempt can include jobs that completed successfully within that attempt.
  • Cost attributed to failed jobs includes only jobs whose own conclusion was failure.

These figures measure different sets of work. Check the filter selection and metric definition before comparing them. The modeled cost associated with a failure can include necessary work performed before the failure occurred.

Investigate a workflow

The following example describes a hypothetical investigation. It does not represent measurements from an actual Pipetrics workspace.

Suppose a repository accounts for a large share of your organization's modeled cost. You want to determine whether repeated failures contribute to that share.

  1. Open the repository in the flamegraph and select the workflow you want to investigate.
  2. Record its modeled cost, execution count and runtime for the selected period.
  3. Set Conclusion to failure and inspect the filtered cost and runtime.
  4. Drill into the jobs and steps to identify where the failed work occurs.
  5. Use Trigger and Runner label to isolate activity associated with a particular event or runner.

For example, if the failed usage is concentrated in a job that runs on pull requests, inspect the steps in that job before deciding whether to change the workflow. The cost view identifies the work consuming resources. Further investigation is needed to determine why that work fails and whether it can be avoided.

For duration and regression analysis, see GitHub Actions performance monitoring. For possible workflow changes, see how to reduce GitHub Actions costs.

Review historical data

Use the month navigation to inspect telemetry retained in your workspace. Cost Profiler displays one selected month at a time and does not provide a side-by-side comparison.

To compare periods, record the figures separately. Keep the repository, workflow and filter selection consistent and check how much of each month is covered by retained telemetry. A partial month should not be treated as a full monthly total.

If the cost changes between periods, compare execution counts, runtime, runner labels and the proportion of failed attempts. Changes to the workflow structure, such as a larger job matrix, can also affect the total.

Access and data retention

Cost Profiler is available on both Pipetrics plans.

CapabilityFreePro
Cost ProfilerIncludedIncluded
Telemetry retention14 days360 days
Longer historical baselinesNoYes

The Free plan retains the most recent 14 days of telemetry. The Pro plan retains up to 360 days. Selecting a month does not restore data outside the retained window.

Your Pipetrics plan determines telemetry retention. Your GitHub plan determines included GitHub Actions usage. Upgrading Pipetrics does not change your GitHub billing terms.

On this page