Welcome to the Bluefly.io code repository. By logging in, you agree to comply with our terms of service and code of conduct.

Skip to content

feat: Add GitLab Value Stream Analytics (VSA) Component

LLMTOKEN-022126 requested to merge feature/vsa-component into development

📊 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 with workflow/golden component
  • Works with existing reporting/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

  1. Test component in development environment
  2. Set up scheduled pipeline for daily metrics
  3. Configure GitLab Pages for dashboard
  4. Add to golden workflow template

🤖 Generated with Claude Code

Co-Authored-By: Claude noreply@anthropic.com

Merge request reports

Loading