Analytics
CICosts analytics help you understand spending patterns, identify optimization opportunities, and make data-driven decisions about your CI/CD infrastructure.
Analytics Dashboard
Cost Trends
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:
| Metric | What It Shows |
|---|---|
| Cost per success | Cost of each successful run |
| Failure cost | Money spent on failed runs |
| Retry cost | Cost of re-runs |
| Queue time | Time 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+):
- Go to Settings → Reports
- Click Create Report
- Choose frequency (daily, weekly, monthly)
- Select recipients
- 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:
- Set date range
- Choose dimensions (repo, workflow, runner)
- Select metrics (cost, runs, duration)
- Apply filters
- 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
| Plan | Retention |
|---|---|
| Free | 30 days |
| Pro | 1 year |
| Team | 1 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:
- Export 6-12 months of data
- Calculate average monthly spend
- Identify growth trends
- Add buffer for variability
- Set realistic targets
Cost Allocation
Allocate CI costs to teams or projects:
- Group repositories by team
- Export cost data per repo
- Aggregate by team/project
- Include in department budgets
Optimization Tracking
Measure the impact of optimizations:
- Note the start date of optimization
- Compare before/after periods
- Calculate savings
- Document for future reference
Next: Multi-Org Support →