selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

GitHub
swe-dashboard logo

Self-host swe-dashboard

v0.10-beta

Software engineering metrics dashboard for GitLab and GitHub

BetaOpen SourceMIT
Updated4 years ago
LanguageGo
Setup difficultyModerate
Stars
138
Requires
VictoriaMetrics
Docker
c1982/swed
Install with Docker
Main metrics dashboard overviewMerge request cycle times visualizationMerge request times breakdownSingle merge request cycle timesLong-running merge requests detectionMerge request size distributionFriday merge requests trackingUnreviewed merge requests detectionUser merge request comments leaderboardMerge request rates over time

What is swe-dashboard?

swe-dashboard is a self-hosted tool for software engineering teams to track key metrics from their GitLab or GitHub repositories. It pulls merge request and pull request data, calculates metrics like cycle time, time to review, time to merge, defect rates, and contributor activity, then exports them to VictoriaMetrics for visualization in Grafana. The project provides pre-built Grafana dashboards for metrics overview, repository-level views, cycle times, and team performance. It can be deployed via Docker, Docker Compose, binary download, or as a systemd service. The software is in early beta (v0.10-beta) with GitHub support noted as implemented but not tested.

Should you self-host swe-dashboard?

swe-dashboard scores 35/100 on selfhost.directory (how scoring works) and ranks #147 of 166 in Developer Tools. It has 138 GitHub stars.

There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is MIT-licensed and written mostly in Go.

Its closest alternative on selfhost.directory is openhands (87/100, 92 105 stars). It scores higher overall, so compare the two before you pick. See swe-dashboard vs openhands side by side.

Features

  • Comments leaderboard
  • Cycle time tracking
  • Developer turnover rate
  • Friday MRs/PRs tracking
  • Long-running MRs/PRs detection
  • MR/PR rates
  • MR/PR size analysis
  • Participants leaderboard
  • Self-merging detection
  • Throughput tracking
  • Time to Approve
  • Time to Merge
  • Time to Open
  • Time to Review
  • Unreviewed MRs/PRs detection

swe-dashboard README

How to install swe-dashboard

Install swe-dashboard with Docker

docker run --rm --name=swed c1982/swed
--scm-gitlab-baseurl=https://your-domain-name/api/v4
--scm-gitlab-token=TOKEN
--victoriametrics-importurl=http://localhost:8428/api/v1/import/prometheus
--check-interval=1h

Run with required environment variables as command-line flags

How to configure swe-dashboard

  • SWED_CHECK_INTERVALInterval for checking and collecting metrics from SCM

    Interval for checking and collecting metrics from SCM

  • SWED_GITLAB_BASEURLGitLab API base URL (e.g., https://your-domain-name/api/v4)

    GitLab API base URL (e.g., https://your-domain-name/api/v4)

  • SWED_GITLAB_TOKENGitLab personal access token for API authentication

    GitLab personal access token for API authentication

  • SWED_INTERVALCheck interval for daemon mode

    Check interval for daemon mode

  • SWED_VICTORIAMETRICS_BASEURLVictoriaMetrics base URL for metrics ingestion

    VictoriaMetrics base URL for metrics ingestion

  • SWED_VICTORIAMETRICS_URLVictoriaMetrics import URL with full path (daemon config)

    VictoriaMetrics import URL with full path (daemon config)

More in Analytics

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…