For self-hosted GitLab instances, see GitLab (self-hosted).
What’s synced
- Merge requests and their metadata
- Commits and code changes
- Code reviews and comments (discussions)
- Team members and group structure
- Repository (project) information
- Pipeline and deployment data
Connecting GitLab
1
Start connection
Go to Data and click Connect on GitLab
2
Authorize Weave
Sign in to GitLab and authorize the Weave application
3
Select projects
Choose which GitLab projects (repositories) to sync
4
Wait for sync
Initial sync may take several minutes depending on project size and history
Permissions required
Weave requests the following GitLab OAuth scopes:- api — Access to projects, merge requests, commits, and pipelines
- openid — Authenticate via OpenID Connect
- profile — Read access to user profile information
- email — Read access to user email address
Multiple groups
You can connect multiple GitLab groups or namespaces. Each group’s data will be synced separately.Sync frequency
Weave syncs GitLab data via polling every 3 hours.GitLab terminology mapping
Supported GitLab features
Code review metrics
- Merge request cycle time and velocity
- Code review turnaround and quality
- Comment analysis and resolution tracking
- Review depth and thoroughness
Code quality tracking
- Lines of code and code output
- Code turnover and churn analysis
- Bug and revert tracking
- AI-assisted code detection
CI/CD metrics
- Pipeline success rates and frequency for enabled projects
- Deployment frequency and lead time from pipelines classified as production deployments, or from tag pipelines matching a per-project production tag regex (see deployment detection)
- Pipeline duration
main or master) as a production deployment. Merge request, tag, and scheduled pipelines are not counted by this setting. See CI/CD overview for how it combines with production tags.
Team collaboration
- Engineer activity and contributions
- Team structure from GitLab groups
- Review participation and patterns
Troubleshooting
Sync is slow or incomplete
Sync is slow or incomplete
If data isn’t syncing properly:
- Check that the GitLab project is not archived
- Verify webhook configuration in project settings (if using webhooks)
- Ensure your GitLab plan includes API access
- Contact support if sync is stuck for more than 30 minutes
Missing team members
Missing team members
If team members aren’t appearing:
- Ensure members have commits or merge requests in connected projects
- Verify members have public email addresses or Weave accounts
- Check that members have not been removed from the GitLab group
- Re-sync the integration to refresh team member data
Self-hosted GitLab
Self-hosted GitLab
For self-hosted GitLab instances:
- Ensure your GitLab instance is accessible from the internet (or configure VPN)
- Use GitLab version 13.0 or later for full feature support
- Configure OAuth application in GitLab admin settings
- See GitLab (self-hosted) for detailed setup
