Skip to main content

Analytics

CICosts analytics help you understand spending patterns, identify optimization opportunities, and make data-driven decisions about your CI/CD infrastructure.

Analytics Dashboard

The trend chart shows daily costs over time:

  • Daily view: Individual day costs
  • Weekly view: Week-over-week comparison
  • Monthly view: Month-over-month trends

Interactive features:

  • Hover for exact values
  • Click to drill down
  • Drag to select date range
  • Toggle between chart types (bar, line, area)

Cost Distribution

Understand where your money goes:

By Repository

  • Pie chart showing percentage per repo
  • Click to drill into specific repos
  • Identify your most expensive projects

By Workflow

  • Which workflows cost the most
  • Often 20% of workflows = 80% of costs
  • Find optimization candidates

By Runner Type

  • Linux vs. Windows vs. macOS
  • Small vs. large runners
  • Identify over-provisioning

Time-Based Analysis

By Day of Week

  • Which days are most expensive
  • Correlate with development patterns
  • Plan maintenance windows

By Hour

  • Peak usage times
  • Off-hours spending (automation)
  • Timezone patterns for distributed teams

Key Insights

CICosts automatically surfaces actionable insights:

Cost per PR

Track the true cost of your development process:

Cost per PR = Total CI Costs / Number of PRs Merged

Insights include:

  • Average cost per PR
  • PRs with unusually high CI costs
  • Trends over time

Workflow Efficiency

Identify inefficient workflows:

MetricWhat It Shows
Cost per successCost of each successful run
Failure costMoney spent on failed runs
Retry costCost of re-runs
Queue timeTime waiting for runners

Runner Optimization

Find opportunities to right-size runners:

  • Jobs using 8-core that could use 4-core
  • Long queue times suggesting capacity issues
  • macOS jobs that could run on Linux
  • Windows jobs that could be containerized

Reports

Scheduled Reports

Set up automated reports (Pro+):

  1. Go to SettingsReports
  2. Click Create Report
  3. Choose frequency (daily, weekly, monthly)
  4. Select recipients
  5. Customize content

Report types:

  • Cost Summary: High-level spend overview
  • Detailed Breakdown: Repository and workflow details
  • Trend Analysis: Period-over-period comparison
  • Anomaly Report: Unusual activity summary

Custom Reports

Build ad-hoc reports:

  1. Set date range
  2. Choose dimensions (repo, workflow, runner)
  3. Select metrics (cost, runs, duration)
  4. Apply filters
  5. Export or share

Data Export

CSV Export

Download data for external analysis:

date,repository,workflow,runs,total_cost,avg_cost
2024-01-15,api-service,ci.yml,45,$123.45,$2.74
2024-01-15,web-app,tests.yml,32,$89.00,$2.78

JSON Export

For programmatic access:

{
"date_range": {
"start": "2024-01-01",
"end": "2024-01-31"
},
"total_cost": 1847.23,
"repositories": [
{
"name": "api-service",
"cost": 892.45,
"workflows": [...]
}
]
}

API Access

Use the CICosts API for custom integrations.

Historical Data

Retention Periods

PlanRetention
Free30 days
Pro1 year
Team1 year

What You Can Do

With historical data:

  • Compare month-over-month trends
  • Identify seasonal patterns
  • Track optimization impact
  • Budget planning based on history

Analytics Use Cases

Budget Planning

Use historical data to plan future budgets:

  1. Export 6-12 months of data
  2. Calculate average monthly spend
  3. Identify growth trends
  4. Add buffer for variability
  5. Set realistic targets

Cost Allocation

Allocate CI costs to teams or projects:

  1. Group repositories by team
  2. Export cost data per repo
  3. Aggregate by team/project
  4. Include in department budgets

Optimization Tracking

Measure the impact of optimizations:

  1. Note the start date of optimization
  2. Compare before/after periods
  3. Calculate savings
  4. Document for future reference

Next: Multi-Org Support →