All Projects → cncf → Devstats

cncf / Devstats

Licence: apache-2.0
📈CNCF-created tool for analyzing and graphing developer contributions

Programming Languages

shell
77523 projects
golang
3204 projects

Projects that are alternatives of or similar to Devstats

Questdb
An open source SQL database designed to process time series data, faster
Stars: ✭ 7,544 (+2349.35%)
Mutual labels:  postgres, metrics, tsdb
Beyond Jupyter
🐍💻📊 All material from the PyCon.DE 2018 Talk "Beyond Jupyter Notebooks - Building your own data science platform with Python & Docker" (incl. Slides, Video, Udemy MOOC & other References)
Stars: ✭ 135 (-56.17%)
Mutual labels:  postgres, apache
Nightingale
💡 A Distributed and High-Performance Monitoring System. Prometheus enterprise edition
Stars: ✭ 4,003 (+1199.68%)
Mutual labels:  tsdb, metrics
Analytics
Simple, open-source, lightweight (< 1 KB) and privacy-friendly web analytics alternative to Google Analytics.
Stars: ✭ 9,469 (+2974.35%)
Mutual labels:  statistics, metrics
Pgwatch2
PostgreSQL metrics monitor/dashboard
Stars: ✭ 960 (+211.69%)
Mutual labels:  postgres, metrics
Grafana
The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
Stars: ✭ 45,930 (+14812.34%)
Mutual labels:  postgres, metrics
Swagger Stats
API Observability. Trace API calls and Monitor API performance, health and usage statistics in Node.js Microservices.
Stars: ✭ 559 (+81.49%)
Mutual labels:  statistics, metrics
Akumuli
Time-series database
Stars: ✭ 754 (+144.81%)
Mutual labels:  tsdb, metrics
Calculate All
calculate_all method for aggregate functions in Active Record
Stars: ✭ 118 (-61.69%)
Mutual labels:  statistics, postgres
Pg stat monitor
PostgreSQL Statistics Collector
Stars: ✭ 145 (-52.92%)
Mutual labels:  statistics, postgres
victoriametrics-ru-links
Список постов и видеозаписей об VictoriaMetrics на русском языке
Stars: ✭ 1 (-99.68%)
Mutual labels:  grafana-dashboard, tsdb
Pgmetrics
Collect and display information and stats from a running PostgreSQL server
Stars: ✭ 612 (+98.7%)
Mutual labels:  postgres, metrics
Warp10 Platform
The Most Advanced Time Series Platform
Stars: ✭ 227 (-26.3%)
Mutual labels:  tsdb, metrics
Timescaledb
An open-source time-series SQL database optimized for fast ingest and complex queries. Packaged as a PostgreSQL extension.
Stars: ✭ 12,211 (+3864.61%)
Mutual labels:  postgres, tsdb
Ansible Telegraf
Installing and configuring Telegraf via Ansible for RedHat/Debian/Ubuntu/Windows/Suse.
Stars: ✭ 91 (-70.45%)
Mutual labels:  tsdb, metrics
Bricks
A standard library for microservices.
Stars: ✭ 142 (-53.9%)
Mutual labels:  postgres, metrics
M3
M3 monorepo - Distributed TSDB, Aggregator and Query Engine, Prometheus Sidecar, Graphite Compatible, Metrics Platform
Stars: ✭ 3,898 (+1165.58%)
Mutual labels:  tsdb, metrics
Vulcan
Vulcan extends Prometheus adding horizontal scalability and long-term storage
Stars: ✭ 539 (+75%)
Mutual labels:  tsdb, metrics
Promcord
📊 Analyze your entire discord guild in grafana using prometheus. Message, User, Game and Voice statistics...
Stars: ✭ 39 (-87.34%)
Mutual labels:  statistics, metrics
phpstats
CLI Statistics and dependency graphs for PHP
Stars: ✭ 61 (-80.19%)
Mutual labels:  statistics, metrics

Build Status CII Best Practices

GitHub archives and git Grafana visualization dashboards

Authors: Łukasz Gryglicki [email protected], Justyna Gryglicka [email protected].

This is a toolset to visualize GitHub archives using Grafana dashboards.

GHA2DB stands for GitHub Archives to DashBoards.

More information about Kubernetes dashboards here.

Kubernetes and Helm

Please see example Helm chart for an example Helm deployment.

Please see Helm chart for a full Helm deployment.

Please see LF Helm chart for the LF Helm deployment (it is a data deployment, has no Grafana and uses ElasticSearch in addition to Postgres to store data).

Please see GraphQL Helm chart for GraphQL foundation DevStats deployment.

Please see Kubernetes dashboard if you want to enable a local dashboard to explore cluster state.

Please see bare metal example to see example bare metal deployment.

The rest of this document describes current bare metal deployment on metal.equinix.com used by CNCF projects.

Presentations

  • Presentations are available here.
  • Direct link.
  • Another direct link.

Talks

Deploying on your own project(s)

See the simple DevStats example repository for single project deployment (Homebrew), follow instructions to deploy for your own project.

Goal

We want to create a toolset for visualizing various metrics for the Kubernetes community (and also for all CNCF projects).

Everything is open source so that it can be used by other CNCF and non-CNCF open source projects.

The only requirement is that project must be hosted on a public GitHub repository/repositories.

Data hiding

If you want to hide your data (replace with anon-#) please follow instructions here.

Forking and installing locally

This toolset uses only Open Source tools: GitHub archives, GitHub API, git, Postgres databases and multiple Grafana instances. It is written in Go, and can be forked and installed by anyone.

Contributions and PRs are welcome. If you see a bug or want to add a new metric please create an issue and/or PR.

To work on this project locally please fork the original repository, and:

Please see Development for local development guide.

For more detailed description of all environment variables, tools, switches etc, please see Usage.

Metrics

We want to support all kind of metrics, including historical ones. Please see requested metrics to see what kind of metrics are needed. Many of them cannot be computed based on the data sources currently used.

Repository groups

There are some groups of repositories that are grouped together as a repository groups. They are defined in scripts/kubernetes/repo_groups.sql.

To setup default repository groups:

  • PG_PASS=pwd ./kubernetes/setup_repo_groups.sh.

This is a part of kubernetes/psql.sh script and kubernetes psql dump already has groups configured.

In an All CNCF project repository groups are mapped to individual CNCF projects scripts/all/repo_groups.sql:

Company Affiliations

We also want to have per company statistics. To implement such metrics we need a mapping of developers and their employers.

There is a project that attempts to create such mapping cncf/gitdm.

DevStats has an import tool that fetches company affiliations from cncf/gitdm and allows to create per company metrics/statistics. It also uses companies.yaml file to map company acquisitions (any data generated by company acquired by the another company is assigned to the latter using mapping from companies.yaml).

If you see errors in the company affiliations, please open a pull request on cncf/gitdm and the updates will be reflected on https://k8s.devstats.cncf.io a couple days after the PR has been accepted. Note that gitdm supports mapping based on dates, to account for developers moving between companies.

New affiliations are imported into DevStats about 1-2 times/month.

Architecture

For architecture details please see architecture file.

Detailed usage is here

Adding new metrics

Please see metrics to see how to add new metrics.

Adding new projects

To add new project on a bare metal deployment follow adding new project instructions.

See cncf/devstats-helm:ADDING_NEW_PROJECTS.md for informations about how to add more projects on Kubernetes/Helm deployment.

Grafana dashboards

Please see dashboards to see list of already defined Grafana dashboards.

Exporting data

Please see exporting.

Detailed Usage instructions

Servers

The servers to run devstats are generously provided by Equinix bare metal hosting as part of CNCF's Community Infrastructure Lab.

One line run all projects

  • Use GHA2DB_PROJECTS_OVERRIDE="+cncf" PG_PASS=pwd devstats.
  • Or add this command using crontab -e to run every hour HH:08.

Checking projects activity

  • Use: PG_PASS=... PG_DB=allprj ./devel/activity.sh '1 month,,' > all.txt.
  • Example results here - all CNCF project activity during January 2018, excluding bots.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].