• Stars
    star
    130
  • Rank 277,575 (Top 6 %)
  • Language
    Go
  • License
    MIT License
  • Created almost 3 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

WIP! Important metrics for SWE teams

swe-dashboard

Software Engineer Metrics

Configuration

  • scm-gitlab-baseurl
  • scm-gitlab-token
  • victoriametrics-importurl
  • check-interval

Runing

Download binary from releases

./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

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

Easy Setup

Note: Firstly enter your gitlab variables in config.env file

git clone https://github.com/c1982/swe-dashboard.git
cd swe-dashboard/docker
docker-compose --env-file ./config.env up

Daemon

If you want to run the daemon as a service, you can use the following commands:

  1. edit .swed.config file for your system
  2. mkdir /opt/swed
  3. cd /opt/swed
  4. copy .swed-config /opt/swed
  5. copy swed binary to /opt/swed
  6. chmod +x /opt/swed/swed
  7. copy .swed.config to /etc/systemd/system
  8. systemctl enable swed.service
  9. systemctl start swed.service
  10. watch for errors journalctl -u swed.service -f

VictoriaMetrics Tips

Delete time series;

curl http://localhost:8428/api/v1/admin/tsdb/delete_series?match[]=METRIC_NAME

Clear Cache;

curl http://localhost:8428/internal/resetRollupResultCache

Metrics

  • Cycletime
  • Time to Open
  • Time to Review
  • Time to Approve
  • Time to Merge
  • Friday MRs/PRs
  • Long-Running MRs/PRs
  • MRs/PRs Comments LeaderBoard
  • MRs/PRs Participants LeaderBoard
  • MRs/PRs Rates
  • MRs/PRs Sizes
  • MRs/PRs Throughput
  • Self-Merging MRs/PRs
  • Developer Turnover Rate
  • Unreviewed MRs/PRs
  • Review Coverage
  • Defect Rate
  • MRs/PRs Success Rate
  • Active Contributors
  • Additin/Deletion Lines of Code
  • ART Asset Iterations
  • ART Asset Iteration Ratio
  • ART Asset Iteration Hours

Supported SCM

  • Gitlab Community Edition
  • GitHub (implemented, not tested)

Supported TimeSeries DB

  • Victoriametrics

Grafana Dashboards

Metrics Dashboard:

MRs/PRs Cycle Times

MRs/PRs Times

Single Cycle Times

Long-Running MRs/PRs

MRs/PRs Size Counts

Friday MRs/PRs

Unreviewed MRs/PRs

MRs/PRs Comments

MRs/PRs Rates

MRs/PRs Participants

Self-Merging Users

Repositories Cycle Time

Repositories Time to Open

Repositories Time to Review

Repositories Time to Approve

Repositories Time to Merge

Defect Rate

User Defect Rate

TODO: image

MRs/PRs Success Rate

TODO: image

Asset Iteration Ratio

TODO: image

Asset Iterations

TODO: image

Asset Iteration Hour

TODO: image

Active Contributors

More Repositories

1

awsdtc

AWS Data Transfer Cost Explorer
Go
90
star
2

redis-traffic-stats

Live monitor & analyze Redis queries on your client
Go
85
star
3

GarantiVp

Garanti Bankası Sanal Pos İstemcisi
C#
71
star
4

bomberman

SMTP Performance and Load Test Tool
Go
66
star
5

shellboy

simple webshell scanner
Go
47
star
6

gokonf02172024

gokonf 2024 Go Çalımları - Go Tips and Tricks
CSS
35
star
7

ripego

IP Whois Golang Package
Go
33
star
8

yaziya

Rakamı Yazıya Çevirir
Go
28
star
9

secureimage

Small image verification package for Go
Go
22
star
10

cloudping

AWS Cloud Ping Command Line Tool
Go
18
star
11

uzakel

Verimerkezleri Arası IP Engelleme Sistemi
Go
17
star
12

MultiPosTR

Türkiye'de ki SanalPos'lar için tasarlanmıştır.
C#
16
star
13

ankara-gophers-2021-12-17

gopacket log4shell detect and mitigation example
Go
16
star
14

plesklib

Plesk .NET Library
C#
14
star
15

sgsync

AWS Security Group Synchronization Tool
Go
13
star
16

GameBootStrapper

Game BootStrapper for Unity
C#
13
star
17

go-network-gophers-26jun2021

https://kommunity.com/goturkiye/events/go-ile-network-programlama-97094b41
Go
13
star
18

gstp

Gmail Subject Tracker for Prometheus
Go
13
star
19

avalanchego-client

The Avalanche Platform Go Library
Go
10
star
20

usomsync

USOM Zararlı Bağlantı Listesi Exim Blacklist Senkronizasyonu
Go
10
star
21

iriza

Rıza güdümlü espiri yapıcı
Go
10
star
22

richeck

Freaking simple AWS Reserved Instance and Usage coverage report
Go
10
star
23

opje

Golang Service Locator Thingy
Go
7
star
24

multichain-k8s

MultiChain on Kubernetes with EKS
Dockerfile
7
star
25

unitypulse

Unity Continuous Benchmarking
TypeScript
6
star
26

dw

Yet another domain whois tool, but this smart.
Go
5
star
27

0wiki

Chrome extensions for replace wikipedia.org to 0wikipedia.org
JavaScript
5
star
28

is.go

Micro check library for Go
Go
5
star
29

Mikrogi

Mikrotik .Net API
C#
5
star
30

togi

Togi Twitter Client
C#
5
star
31

btcdup

Bitcoin Node in Docker for Development Environment
Shell
4
star
32

getip

Get public IP address your server
Go
4
star
33

inject-remote-ip-rpc-server

Go
3
star
34

merules

MTA Rules for MailEnable
Go
3
star
35

cplib

cPanel Go Package
Go
3
star
36

md5go

Example for my blog post
Go
3
star
37

bip39tr

BIP39 Turkish Wordlist
3
star
38

oguzhan.info-Projects

C#
3
star
39

orderbook

Experimental Orderbook Approach
JavaScript
2
star
40

dynogo

CloudFlare Dynamic DNS
Go
2
star
41

mcap

Turkish Cryptocurrency Market Capitalizations
Go
2
star
42

goptimization-cheat-sheet

2
star
43

gosec

Dockerize gosec
Dockerfile
2
star
44

lpusherlib

LogPusher client library for Go (http://www.logpusher.com)
Go
1
star
45

codis

Codis with docker-compose for development environment
Dockerfile
1
star
46

yaziya_rs

Rust
1
star
47

rdpgrd

RDP brute force attack guard for Windows Servers
1
star
48

mssql-proxy

I'm thinking of writing MSSQL proxy on this repo.
1
star
49

mp-go

mp-go #golang wrapper for the MaestroPanel REST API.
Go
1
star
50

goc7

Golang Centos 7
Dockerfile
1
star
51

owtg2016

Özgür Web Teknolojileri Günleri 2016 ipstats.info Sunumu
Go
1
star
52

izmgprk8s

izmir gophers "Kubernetes ile Go Uygulamalarını Host Etmek" sunumu
Dockerfile
1
star