-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
component-cliCLI commands and interfaceCLI commands and interfacecomponent-coordinatorSession coordination logicSession coordination logicenhancementNew feature or requestNew feature or requestphase-3-futurePhase 3: Future enhancementsPhase 3: Future enhancementspriority-lowLow priority - when convenientLow priority - when convenient
Description
Overview
Track usage metrics and provide analytics for parallel-cc usage patterns.
Metrics to Track
Session Metrics
- Total sessions created
- Average session duration
- Sessions per repository
- Peak concurrent sessions
- Session failure rate
E2B Metrics
- Total sandbox hours used
- Cost per day/week/month
- Average execution time
- Success/failure ratio
- Most common prompts
Conflict Metrics
- Conflicts detected
- Auto-fix success rate
- Most conflicted files
- Average resolution time
Dashboard CLI
# View metrics summary
parallel-cc metrics
# Detailed E2B cost report
parallel-cc metrics --e2b --range "last 30 days"
# Export for external analysis
parallel-cc metrics --export json > metrics.json
parallel-cc metrics --export csv > metrics.csvOutput Example
๐ parallel-cc Metrics (Last 30 Days)
Sessions:
Total: 142
Average Duration: 24 minutes
Peak Concurrent: 5
E2B Sandboxes:
Total Hours: 47.3
Estimated Cost: $4.73
Success Rate: 94%
Conflicts:
Detected: 23
Auto-Fixed: 18 (78%)
Manual Resolution: 5
Top Repositories:
1. myproject (58 sessions)
2. backend-api (34 sessions)
3. frontend (29 sessions)
Database Schema
CREATE TABLE metrics (
id TEXT PRIMARY KEY,
metric_name TEXT NOT NULL,
metric_value REAL NOT NULL,
dimensions TEXT, -- JSON for segmentation
recorded_at TEXT DEFAULT (datetime('now'))
);
CREATE INDEX idx_metrics_name ON metrics(metric_name);
CREATE INDEX idx_metrics_time ON metrics(recorded_at);Acceptance Criteria
- Metrics automatically collected
- CLI dashboard shows key metrics
- Export to JSON/CSV works
- Historical data preserved
- Privacy-conscious (no PII collected)
Dependencies
None
Metadata
Metadata
Assignees
Labels
component-cliCLI commands and interfaceCLI commands and interfacecomponent-coordinatorSession coordination logicSession coordination logicenhancementNew feature or requestNew feature or requestphase-3-futurePhase 3: Future enhancementsPhase 3: Future enhancementspriority-lowLow priority - when convenientLow priority - when convenient