feat: Add GitLab Value Stream Analytics (VSA) Component
📊 Value Stream Analytics Component
This MR adds a comprehensive GitLab VSA component for DORA metrics tracking and workflow analytics.
✨ Features
DORA Metrics Collection
-
✅ Deployment Frequency (deploys/day) -
✅ Lead Time for Changes (hours) -
✅ Change Failure Rate (%) -
✅ Time to Restore Service (hours) -
✅ Performance classification (Elite/High/Medium/Low)
Custom Value Stream Stages
- 6 pre-configured workflow templates
- Event-based stage definitions
- Label-based tracking
- Median duration calculations
- Target threshold comparisons
Interactive Dashboards
- Modern HTML5 + Chart.js visualizations
- Real-time metric cards with trends
- Mobile-responsive design
- GitLab Pages integration
API Integration
- GraphQL client (Node.js)
- REST API client (Bash)
- JSON export capabilities
📦 Component Structure
ci/components/vsa/
├── component.yml (764 lines)
├── custom-stages.yml (314 lines)
├── README.md (366 lines)
├── QUICK_START.md (187 lines)
├── scripts/
│ ├── query-vsa.js (234 lines)
│ └── dora-metrics-api.sh (344 lines)
└── examples/
└── full-vsa-integration.yml (719 lines)
Total: ~3,000 lines of production code
🚀 Quick Start
include:
- component: gitlab.bluefly.io/llm/gitlab_components/vsa@v0.1.0
inputs:
project_name: 'My Project'
enable_dora_metrics: true
enable_dashboard: true
🔗 Integration
-
✅ Compatible withworkflow/golden
component -
✅ Works with existingreporting/unified-reports
-
✅ Supports scheduled pipelines -
✅ External system exports (Prometheus, S3, Slack)
📚 Documentation
- Full README with examples
- Quick start guide (5-minute setup)
- Integration examples
- Implementation summary (VSA_IMPLEMENTATION_SUMMARY.md)
✅ Testing Checklist
-
Component YAML syntax validated -
Scripts are executable -
Documentation complete -
Integration test in CI pipeline -
Dashboard generation test -
API scripts test
📈 Next Steps After Merge
- Test component in development environment
- Set up scheduled pipeline for daily metrics
- Configure GitLab Pages for dashboard
- Add to golden workflow template
Co-Authored-By: Claude noreply@anthropic.com