Last active
April 21, 2017 13:07
-
-
Save lukaszgryglicki/093ced06455a3f14f0e4d25459525207 to your computer and use it in GitHub Desktop.
9 CNCF projects groupped data for last 12 months 201604-201703
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Use cncf.io page and then all 9 projects repos on github (this is the base) | |
2. Use finder sql with all 9 projects to find their repos, also some of them moved during last year. We need complex condition | |
to get all CNCF's projects data (possible some more) - it will be postprocessed by ruby tool. | |
3. Got final condition and saved results to google sheet. | |
4. File `data.csv` manually updated (added project value where it is different than org) | |
5. File `data.csv` processed by `analysis.rb` to produce `projects.csv` to be used as google sheet chart source. | |
Files: | |
`finder.sql` to lookup github repos | |
`final.sql` final bigquery that produces input data for ruby tool | |
`data.csv` - data retruned by `final.sql` with added column "project" and values for project set in rows where it should be different than "org" column value | |
`analysis.rb` - ruby script to analyse `data.csv` and produce `projects.csv` | |
`projects.csv` - analyse output that will be used for google sheet chart input data. | |
Final chart here: https://docs.google.com/spreadsheets/d/1vuHdxQ1pgwLUUSSlJvJ6i_CzEuHChkxZYmkpxQTURqM/edit?usp=sharing | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'csv' | |
require 'pry' | |
orgs = {} | |
projects = {} | |
CSV.foreach('./data.csv', headers: true) do |row| | |
h = row.to_h | |
k = h['project'] | |
if k | |
projects[k] = 0 unless projects.key?(k) | |
projects[k] += 1 | |
end | |
k = h['org'] unless k | |
k = h['repo'] unless k | |
next unless k | |
orgs[k] = { items: [] } unless orgs.key? k | |
h.each do |p, v| | |
vi = v.to_i | |
vis = vi.to_s | |
h[p] = vi if vis == v | |
end | |
orgs[k][:items] << h | |
end | |
orgs.each do |name, org| | |
org[:sum] = {} | |
org[:items].each do |repo| | |
repo.each do |k, v| | |
if v.is_a?(String) | |
if repo['org'] && k == 'repo' && v.include?('/') | |
v = v.split('/')[1] | |
end | |
if org[:sum].key? k | |
org[:sum][k] = '' if org[:sum][k].nil? | |
org[:sum][k] += '+' + v | |
else | |
org[:sum][k] = v | |
end | |
elsif v.is_a?(Integer) | |
org[:sum][k] = 0 unless org[:sum].key? k | |
org[:sum][k] += v | |
else | |
org[:sum][k] = nil | |
end | |
end | |
end | |
new_org = org[:sum]['org'] | |
org[:sum]['org'] = new_org.split('+').uniq.join('+') if new_org | |
new_prj = org[:sum]['project'] | |
org[:sum]['project'] = new_prj.split('+').uniq.join('+') if new_prj | |
end | |
orgs_arr = [] | |
orgs.each do |name, org| | |
orgs_arr << [name, org[:sum]['activity'], org] | |
end | |
res = orgs_arr.sort_by { |item| -item[1] } | |
puts "Defined projects: " | |
prjs = [] | |
projects.keys.sort.each do |k| | |
prjs << "#{k}: #{projects[k]}" | |
end | |
prjs = prjs.join(', ') | |
puts prjs | |
tops = res[0..30].map { |it| it[0] }.join(', ') | |
puts tops | |
puts 'Now debug values res[0][2][:items][0][\'project\'] = \'proj_name\' and save' | |
puts 'res[0..20].map { |it| it[0] }' | |
binding.pry | |
CSV.open("projects.csv", "w", headers: res[0][2][:sum].keys) do |csv| | |
csv << res[0][2][:sum].keys | |
res.each do |row| | |
csv << row[2][:sum].values | |
end | |
end | |
res2 = [] | |
res3 = [] | |
res.each do |line| | |
org = line[2] | |
org[:items].each do |repo| | |
res2 << [repo['repo'], repo['activity'], repo] | |
res3 << [repo['repo'], repo['activity'], repo] | |
end | |
res3 << [org[:sum]['repo'], org[:sum]['activity'], org[:sum]] | |
end | |
res2 = res2.sort_by { |item| -item[1] } | |
res3 = res3.sort_by { |item| -item[1] } | |
CSV.open("combined.csv", "w", headers: res3[0][2].keys) do |csv| | |
csv << res3[0][2].keys | |
res3.each do |row| | |
csv << row[2].values | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
org | repo | activity | comments | prs | commits | issues | authors | project | |
---|---|---|---|---|---|---|---|---|---|
kubernetes | kubernetes/kubernetes | 163135 | 134362 | 14956 | 1144 | 12673 | 278 | ||
grpc | grpc/grpc | 28316 | 17511 | 5402 | 2141 | 3262 | 170 | ||
kubernetes | kubernetes/test-infra | 14083 | 7332 | 4168 | 1871 | 712 | 117 | ||
kubernetes | kubernetes/kubernetes.github.io | 13887 | 6426 | 4025 | 1965 | 1471 | 628 | ||
kubernetes | kubernetes/kops | 10970 | 5903 | 2263 | 942 | 1862 | 105 | ||
kubernetes | kubernetes/contrib | 10490 | 6972 | 1978 | 559 | 981 | 129 | ||
coreos | coreos/rkt | 9920 | 6792 | 1531 | 660 | 937 | 128 | rkt | |
kubernetes | kubernetes/helm | 8003 | 3945 | 1687 | 797 | 1574 | 128 | ||
kubernetes | kubernetes/dashboard | 7946 | 5002 | 1276 | 799 | 869 | 68 | ||
prometheus | prometheus/prometheus | 7931 | 5088 | 934 | 808 | 1101 | 110 | ||
kubernetes | kubernetes/minikube | 7697 | 4496 | 1505 | 671 | 1025 | 90 | ||
grpc | grpc/grpc-java | 6949 | 3884 | 1499 | 675 | 891 | 53 | ||
kubernetes | kubernetes/charts | 5003 | 3010 | 1258 | 486 | 249 | 122 | ||
fluent | fluent/fluentd | 4987 | 2531 | 804 | 1133 | 519 | 58 | fluentd | |
kubernetes-incubator | kubernetes-incubator/service-catalog | 3927 | 2424 | 808 | 341 | 354 | 29 | kubernetes | |
kubernetes | kubernetes/heapster | 3610 | 2430 | 523 | 185 | 472 | 80 | ||
kubernetes-incubator | kubernetes-incubator/kargo | 3367 | 1476 | 900 | 618 | 373 | 55 | kubernetes | |
kubernetes | kubernetes/community | 3246 | 1962 | 788 | 420 | 76 | 153 | ||
kubernetes | kubernetes/ingress | 3204 | 1971 | 596 | 242 | 395 | 56 | ||
kubernetes-incubator | kubernetes-incubator/cri-o | 2972 | 2075 | 490 | 222 | 185 | 33 | kubernetes | |
docker | docker/containerd | 2949 | 1623 | 794 | 357 | 175 | 80 | containerd | |
coreos | coreos/coreos-kubernetes | 2914 | 1825 | 462 | 174 | 453 | 66 | kubernetes | |
grpc | grpc/grpc-go | 2827 | 1615 | 584 | 218 | 410 | 58 | ||
prometheus | prometheus/alertmanager | 2522 | 1487 | 316 | 332 | 387 | 42 | ||
kubernetes | kubernetes/features | 2370 | 1715 | 217 | 262 | 176 | 47 | ||
prometheus | prometheus/node_exporter | 2315 | 1396 | 335 | 308 | 276 | 48 | ||
kubernetes-incubator | kubernetes-incubator/kompose | 2166 | 1385 | 366 | 150 | 265 | 14 | kubernetes | |
kubernetes-incubator | kubernetes-incubator/bootkube | 1850 | 1086 | 387 | 209 | 168 | 27 | kubernetes | |
prometheus | prometheus/docs | 1771 | 759 | 517 | 401 | 94 | 105 | ||
kubernetes | kubernetes/kubeadm | 1612 | 1251 | 14 | 4 | 343 | 3 | ||
kubernetes | kubernetes/release | 1477 | 728 | 409 | 190 | 150 | 29 | ||
grpc | grpc/grpc.github.io | 1467 | 631 | 465 | 240 | 131 | 78 | ||
coreos | coreos/prometheus-operator | 1321 | 724 | 282 | 150 | 165 | 21 | prometheus | |
fluent | fluent/fluent-bit | 1276 | 390 | 213 | 579 | 94 | 7 | fluentd | |
kubernetes | kubernetes/kube-deploy | 1265 | 649 | 326 | 140 | 150 | 23 | ||
kubernetes | kubernetes/kubernetes-anywhere | 1233 | 661 | 269 | 114 | 189 | 19 | ||
kubernetes | kubernetes/client-go | 1112 | 773 | 123 | 42 | 174 | 12 | ||
linkerd | linkerd/linkerd | 1096 | 360 | 218 | 320 | 198 | 17 | ||
kubernetes-incubator | kubernetes-incubator/client-python | 935 | 426 | 172 | 200 | 137 | 6 | kubernetes | |
opentracing | opentracing/opentracing-java | 833 | 504 | 116 | 166 | 47 | 26 | ||
prometheus | prometheus/snmp_exporter | 802 | 514 | 102 | 70 | 116 | 21 | ||
prometheus | prometheus/client_java | 797 | 499 | 146 | 82 | 70 | 30 | ||
kubernetes | kubernetes/node-problem-detector | 775 | 509 | 134 | 64 | 68 | 15 | ||
prometheus | prometheus/client_golang | 688 | 382 | 103 | 130 | 73 | 22 | ||
opentracing | opentracing/specification | 649 | 506 | 33 | 54 | 56 | 8 | ||
kubernetes | kubernetes/kube-state-metrics | 644 | 356 | 146 | 72 | 70 | 22 | ||
prometheus | prometheus/mysqld_exporter | 624 | 332 | 103 | 122 | 67 | 17 | ||
vmware | vmware/kubernetes | 602 | 202 | 40 | 215 | 145 | 56 | kubernetes | |
kubernetes-incubator | kubernetes-incubator/external-dns | 593 | 245 | 139 | 150 | 59 | 10 | kubernetes | |
kubernetes | kubernetes/frakti | 582 | 260 | 184 | 84 | 54 | 11 | ||
prometheus | prometheus/blackbox_exporter | 577 | 358 | 71 | 37 | 111 | 21 | ||
opentracing | opentracing/opentracing.github.io | 572 | 369 | 57 | 94 | 52 | 17 | ||
prometheus | prometheus/client_python | 537 | 332 | 91 | 47 | 67 | 21 | ||
coreos | coreos/kubernetes | 447 | 134 | 180 | 117 | 16 | 29 | kubernetes | |
opentracing | opentracing/opentracing-go | 442 | 236 | 72 | 94 | 40 | 19 | ||
opentracing | opentracing/opentracing.io | 442 | 213 | 84 | 101 | 44 | 18 | ||
kubernetes-incubator | kubernetes-incubator/kube-aws | 441 | 282 | 67 | 34 | 58 | 11 | kubernetes | |
kubernetes-incubator | kubernetes-incubator/rktlet | 427 | 180 | 142 | 66 | 39 | 9 | kubernetes | |
prometheus | prometheus/jmx_exporter | 391 | 231 | 71 | 35 | 54 | 17 | ||
fluent | fluent/fluentd-docker-image | 383 | 206 | 60 | 62 | 55 | 14 | fluentd | |
deis | deis/fluentd | 377 | 173 | 108 | 52 | 44 | 18 | fluentd | |
kubernetes-incubator | kubernetes-incubator/ocid | 373 | 217 | 92 | 47 | 17 | 6 | kubernetes | |
coredns | coredns/coredns | 373 | 187 | 68 | 66 | 52 | 7 | ||
coreos | coreos/kube-prometheus | 366 | 207 | 69 | 46 | 44 | 10 | prometheus | |
kubernetes | kubernetes/dns | 363 | 182 | 99 | 45 | 37 | 16 | ||
kubernetes | kubernetes/k8s.io | 360 | 201 | 102 | 51 | 6 | 13 | ||
fluent | fluent/fluent-plugin-kafka | 334 | 175 | 37 | 49 | 73 | 7 | fluentd | |
prometheus | prometheus/promu | 321 | 113 | 70 | 97 | 41 | 14 | ||
kubernetes-incubator | kubernetes-incubator/nfs-provisioner | 319 | 79 | 127 | 74 | 39 | 4 | kubernetes | |
fluent | fluent/fluentd-docs | 317 | 71 | 48 | 160 | 38 | 17 | fluentd | |
kubernetes | kubernetes/git-sync | 309 | 181 | 56 | 26 | 46 | 8 | ||
kubernetes-incubator | kubernetes-incubator/kube-mesos-framework | 305 | 128 | 66 | 52 | 59 | 4 | kubernetes | |
fluent | fluent/fluent-plugin-s3 | 305 | 158 | 50 | 58 | 39 | 11 | fluentd | |
grpc | grpc/grpc-swift | 283 | 69 | 6 | 163 | 45 | 2 | ||
opentracing | opentracing/opentracing-javascript | 283 | 113 | 50 | 94 | 26 | 13 | ||
kubernetes-incubator | kubernetes-incubator/external-storage | 283 | 128 | 77 | 57 | 21 | 9 | kubernetes | |
kubernetes-incubator | kubernetes-incubator/node-feature-discovery | 269 | 169 | 54 | 10 | 36 | 4 | kubernetes | |
prometheus | prometheus/prometheus.github.io | 265 | 4 | 6 | 255 | 0 | 4 | ||
kubernetes | kubernetes/gengo | 249 | 147 | 65 | 28 | 9 | 10 | ||
opentracing | opentracing/opentracing-csharp | 246 | 151 | 26 | 36 | 33 | 3 | ||
prometheus | prometheus/pushgateway | 242 | 157 | 20 | 20 | 45 | 5 | ||
prometheus | prometheus/common | 239 | 120 | 58 | 41 | 20 | 12 | ||
fluent | fluent/serverengine | 238 | 78 | 67 | 83 | 10 | 8 | fluentd | |
prometheus | prometheus/client_ruby | 232 | 121 | 26 | 57 | 28 | 10 | ||
kubernetes-incubator | kubernetes-incubator/cluster-capacity | 230 | 113 | 59 | 31 | 27 | 4 | kubernetes | |
opentracing | opentracing/basictracer-go | 204 | 100 | 38 | 53 | 13 | 12 | ||
prometheus | prometheus/haproxy_exporter | 198 | 115 | 36 | 29 | 18 | 12 | ||
kubernetes | kubernetes/perf-tests | 190 | 96 | 60 | 21 | 13 | 7 | ||
fluent | fluent/fluentd-website | 189 | 26 | 42 | 118 | 3 | 17 | fluentd | |
prometheus | prometheus/statsd_exporter | 188 | 79 | 42 | 44 | 23 | 14 | ||
prometheus | prometheus/consul_exporter | 173 | 86 | 23 | 29 | 35 | 8 | ||
kubernetes-incubator | kubernetes-incubator/cri-tools | 163 | 89 | 32 | 18 | 24 | 6 | kubernetes | |
fluent | fluent/fluent-logger-python | 154 | 59 | 44 | 31 | 20 | 13 | fluentd | |
prometheus | prometheus/cloudwatch_exporter | 150 | 76 | 25 | 18 | 31 | 10 | ||
opentracing-contrib | opentracing-contrib/java-globaltracer | 149 | 116 | 5 | 19 | 9 | 3 | opentracing | |
opentracing-contrib | opentracing-contrib/meta | 135 | 85 | 12 | 22 | 16 | 5 | opentracing | |
opentracing | opentracing/opentracing-python | 135 | 38 | 33 | 56 | 8 | 9 | ||
opentracing | opentracing/basictracer-python | 131 | 41 | 25 | 56 | 9 | 10 | ||
kubernetes | kubernetes/kubernetes-docs-cn | 129 | 57 | 44 | 19 | 9 | 6 | ||
opentracing-contrib | opentracing-contrib/java-spanmanager | 125 | 82 | 7 | 23 | 13 | 4 | opentracing | |
grpc-ecosystem | grpc-ecosystem/grpc-opentracing | 122 | 61 | 26 | 19 | 16 | 9 | grpc | |
prometheus | prometheus/collectd_exporter | 122 | 69 | 26 | 16 | 11 | 9 | ||
kubernetes | kubernetes/pr-bot | 121 | 51 | 55 | 15 | 0 | 4 | ||
fluent | fluent/fluent-logger-node | 118 | 59 | 15 | 27 | 17 | 5 | fluentd | |
kubernetes-incubator | kubernetes-incubator/spartakus | 116 | 74 | 19 | 9 | 14 | 6 | kubernetes | |
kubernetes | kubernetes/kubernetes-bootcamp | 115 | 62 | 24 | 7 | 22 | 5 | ||
grpc | grpc/homebrew-grpc | 108 | 58 | 23 | 11 | 16 | 7 | ||
fluent | fluent/fluent-logger-ruby | 106 | 63 | 20 | 19 | 4 | 5 | fluentd | |
prometheus | prometheus/memcached_exporter | 106 | 38 | 17 | 41 | 10 | 7 | ||
prometheus | prometheus/golang-builder | 105 | 26 | 34 | 38 | 7 | 5 | ||
opentracing-contrib | opentracing-contrib/java-agent | 99 | 44 | 21 | 29 | 5 | 2 | opentracing | |
fluent | fluent/fluent-plugin-mongo | 98 | 38 | 18 | 26 | 16 | 3 | fluentd | |
prometheus | prometheus/prombench | 97 | 24 | 32 | 40 | 1 | 5 | ||
fluent | fluent/fluent-bit-docs | 95 | 19 | 31 | 41 | 4 | 3 | fluentd | |
fluent | fluent/fluent-logger-golang | 91 | 59 | 15 | 9 | 8 | 4 | fluentd | |
opentracing | opentracing/opentracing-cpp | 90 | 63 | 14 | 11 | 2 | 4 | ||
fluent | fluent/fluent-plugin-webhdfs | 88 | 50 | 14 | 14 | 10 | 4 | fluentd | |
prometheus | prometheus/procfs | 87 | 39 | 24 | 12 | 12 | 7 | ||
kubernetes-ui | kubernetes-ui/container-terminal | 87 | 39 | 20 | 19 | 9 | 5 | kubernetes | |
kubernetes | kubernetes/apimachinery | 87 | 37 | 18 | 29 | 3 | 14 | ||
fabric8io | fabric8io/docker-fluentd-kubernetes | 86 | 32 | 20 | 19 | 15 | 7 | fluentd | |
kubernetes-incubator | kubernetes-incubator/cluster-proportional-autoscaler | 85 | 30 | 25 | 12 | 18 | 1 | kubernetes | |
grpc | grpc/grpc-haskell | 82 | 5 | 8 | 63 | 6 | 3 | ||
opentracing-contrib | opentracing-contrib/opentracing-specification-zh | 81 | 25 | 2 | 51 | 3 | 1 | opentracing | |
prometheus | prometheus/graphite_exporter | 77 | 42 | 17 | 10 | 8 | 6 | ||
opentracing-contrib | opentracing-contrib/java-hprose | 77 | 35 | 2 | 28 | 12 | 5 | opentracing | |
grpc | grpc/grpc-experiments | 74 | 38 | 6 | 4 | 26 | 3 | ||
opentracing | opentracing/opentracing-objc | 73 | 9 | 22 | 42 | 0 | 5 | ||
opentracing-contrib | opentracing-contrib/java-jaxrs | 70 | 33 | 20 | 12 | 5 | 4 | opentracing | |
grpc | grpc/proposal | 66 | 31 | 26 | 8 | 1 | 5 | ||
fluent | fluent/fluentd-kubernetes-daemonset | 62 | 42 | 4 | 7 | 9 | 2 | fluentd | |
fluent | fluent/fluent-plugin-sql | 62 | 34 | 10 | 8 | 10 | 5 | fluentd | |
fluent | fluent/fluent-logger-scala | 62 | 21 | 14 | 23 | 4 | 7 | fluentd | |
fluent | fluent/fluent-plugin-grok-parser | 59 | 17 | 4 | 27 | 11 | 2 | fluentd | |
fluent | fluent/fluent-logger-perl | 59 | 12 | 14 | 27 | 6 | 5 | fluentd | |
prometheus | prometheus/client_model | 58 | 48 | 1 | 5 | 4 | 2 | ||
opentracing-contrib | opentracing-contrib/java-jdbi | 57 | 4 | 12 | 41 | 0 | 2 | opentracing | |
prometheus | prometheus/promdash | 54 | 17 | 15 | 20 | 2 | 5 | ||
kubernetes | kubernetes/apiserver | 53 | 16 | 8 | 26 | 3 | 6 | ||
fluent | fluent/fluent-logger-java | 51 | 28 | 11 | 6 | 6 | 4 | fluentd | |
fluent | fluent/fluent-plugin-rewrite-tag-filter | 48 | 30 | 5 | 7 | 6 | 5 | fluentd | |
opentracing-contrib | opentracing-contrib/java-web-servlet-filter | 48 | 7 | 20 | 20 | 1 | 4 | opentracing | |
opentracing-contrib | opentracing-contrib/java-spring-web | 46 | 23 | 12 | 8 | 3 | 2 | opentracing | |
kubernetes-ui | kubernetes-ui/label-selector | 46 | 12 | 18 | 16 | 0 | 4 | kubernetes | |
kubernetes | kubernetes/repo-infra | 45 | 17 | 19 | 9 | 0 | 6 | ||
coredns | coredns/blog.coredns.io | 44 | 7 | 13 | 24 | 0 | 2 | ||
opentracing-contrib | opentracing-contrib/go-stdlib | 42 | 19 | 6 | 11 | 6 | 2 | opentracing | |
kubernetes | kubernetes/application-images | 41 | 38 | 3 | 0 | 0 | 0 | ||
opentracing | opentracing/opentracing-ruby | 41 | 21 | 10 | 9 | 1 | 3 | ||
opentracing-contrib | opentracing-contrib/java-dropwizard | 40 | 3 | 8 | 28 | 1 | 4 | opentracing | |
opentracing | opentracing/contrib | 39 | 10 | 6 | 19 | 4 | 4 | ||
coreos | coreos/prometheus | 39 | 0 | 0 | 39 | 0 | 9 | prometheus | |
grpc | grpc/grpc-docker-library | 39 | 27 | 5 | 2 | 5 | 2 | ||
prometheus | prometheus/influxdb_exporter | 39 | 12 | 12 | 7 | 8 | 5 | ||
opentracing-contrib | opentracing-contrib/python-django | 38 | 5 | 7 | 24 | 2 | 4 | opentracing | |
prometheus | prometheus/busybox | 37 | 8 | 7 | 20 | 2 | 8 | ||
linkerd | linkerd/linkerd-tcp | 33 | 13 | 9 | 5 | 6 | 3 | ||
fluent | fluent/fluentd-ui | 32 | 16 | 2 | 4 | 10 | 1 | fluentd | |
kubernetes-incubator | kubernetes-incubator/reference-docs | 30 | 0 | 20 | 10 | 0 | 2 | kubernetes | |
kubernetes | kubernetes/kube-aggregator | 30 | 14 | 9 | 7 | 0 | 3 | ||
prometheus | prometheus/nagios_plugins | 29 | 12 | 6 | 8 | 3 | 2 | ||
opentracing | opentracing/basictracer-javascript | 28 | 19 | 4 | 2 | 3 | 2 | ||
fluent | fluent/fluent-bit-go | 28 | 8 | 9 | 11 | 0 | 3 | fluentd | |
kubernetes-ui | kubernetes-ui/topology-graph | 27 | 12 | 6 | 3 | 6 | 3 | kubernetes | |
fluent | fluent/fluent-plugin-flume | 26 | 4 | 13 | 9 | 0 | 3 | fluentd | |
kubernetes | kubernetes/kubedash | 26 | 14 | 2 | 0 | 10 | 0 | ||
kubernetes-incubator | kubernetes-incubator/application-images | 25 | 16 | 3 | 2 | 4 | 2 | kubernetes | |
fluent | fluent/fluent-plugin-multiprocess | 25 | 11 | 4 | 7 | 3 | 3 | fluentd | |
kubernetes | kubernetes/sample-apiserver | 24 | 10 | 7 | 7 | 0 | 3 | ||
fluent | fluent/fluent-plugin-windows-eventlog | 23 | 6 | 7 | 10 | 0 | 2 | fluentd | |
grpc | grpc/grpc-common | 23 | 7 | 5 | 0 | 11 | 0 | ||
opentracing-contrib | opentracing-contrib/python-flask | 22 | 2 | 3 | 17 | 0 | 3 | opentracing | |
opentracing-contrib | opentracing-contrib/java-okhttp | 21 | 6 | 8 | 6 | 1 | 2 | opentracing | |
kubernetes | kubernetes/md-check | 21 | 5 | 10 | 5 | 1 | 4 | ||
kubernetes | kubernetes/metrics | 20 | 12 | 6 | 2 | 0 | 1 | ||
coredns | coredns/grpc | 19 | 5 | 6 | 3 | 5 | 2 | ||
kubernetes | kubernetes/rktlet | 18 | 13 | 3 | 1 | 1 | 1 | ||
opentracing-contrib | opentracing-contrib/java-activespan | 17 | 15 | 1 | 0 | 1 | 0 | opentracing | |
fluent | fluent/fluent-logger-php | 16 | 9 | 3 | 2 | 2 | 2 | fluentd | |
fluent | fluent/NLog.Targets.Fluentd | 16 | 8 | 6 | 1 | 1 | 1 | fluentd | |
opentracing-contrib | opentracing-contrib/java-asynchttpclient | 16 | 0 | 6 | 10 | 0 | 2 | opentracing | |
fluent | fluent/fluentd-forwarder | 16 | 5 | 3 | 2 | 6 | 2 | fluentd | |
kubernetes | kubernetes/horizontal-self-scaler | 15 | 12 | 3 | 0 | 0 | 0 | ||
kubernetes | kubernetes/kubernetes-template-project | 15 | 7 | 4 | 3 | 1 | 3 | ||
prometheus | prometheus/utils | 15 | 8 | 2 | 2 | 3 | 2 | ||
linkerd | linkerd/linkerd-zipkin | 14 | 3 | 5 | 4 | 2 | 1 | ||
kubernetes-ui | kubernetes-ui/object-describer | 14 | 2 | 6 | 4 | 2 | 1 | kubernetes | |
grpc | grpc/grpc-proto | 14 | 3 | 7 | 4 | 0 | 3 | ||
prometheus | prometheus/prom2json | 13 | 9 | 2 | 2 | 0 | 1 | ||
coredns | coredns/coredns.io | 13 | 0 | 2 | 7 | 4 | 1 | ||
opentracing-contrib | opentracing-contrib/java-loggertracer | 10 | 9 | 1 | 0 | 0 | 0 | opentracing | |
fabric8io | fabric8io/docker-fluentd | 10 | 2 | 2 | 6 | 0 | 2 | fluentd | |
fluent | fluent/fluent-bit-kubernetes-daemonset | 10 | 0 | 0 | 10 | 0 | 1 | fluentd | |
opentracing-contrib | opentracing-contrib/perfevents | 10 | 6 | 2 | 1 | 1 | 1 | opentracing | |
prometheus | prometheus/prometheus_cli | 9 | 5 | 0 | 0 | 4 | 0 | ||
kubernetes | kubernetes/md-format | 7 | 2 | 2 | 1 | 2 | 1 | ||
kubernetes | kubernetes/kube2consul | 6 | 2 | 0 | 0 | 4 | 0 | ||
fluent | fluent/fluent-bit-docker-image | 5 | 0 | 1 | 4 | 0 | 1 | fluentd | |
linkerd | linkerd/tacho | 5 | 2 | 1 | 1 | 1 | 1 | ||
kubernetes-contrib | kubernetes-contrib/graylog2 | 5 | 0 | 0 | 5 | 0 | 1 | kubernetes | |
kubernetes-contrib | kubernetes-contrib/jumpserver | 5 | 0 | 0 | 5 | 0 | 1 | kubernetes | |
coredns | coredns/deployment | 5 | 1 | 2 | 1 | 1 | 1 | ||
fluent | fluent/nginx-fluentd-module | 5 | 2 | 1 | 0 | 2 | 0 | fluentd | |
fluent | fluent/fluent-bit-packaging | 4 | 0 | 0 | 4 | 0 | 1 | fluentd | |
kubernetes-client | kubernetes-client/community | 4 | 0 | 0 | 3 | 1 | 1 | kubernetes | |
opentracing | opentracing/basictracer-csharp | 3 | 0 | 0 | 3 | 0 | 2 | ||
opentracing-contrib | opentracing-contrib/java-span-reporter | 3 | 1 | 1 | 1 | 0 | 1 | opentracing | |
kubernetes | kubernetes/cluster-proportional-autoscaler | 3 | 2 | 1 | 0 | 0 | 0 | ||
kubernetes | kubernetes/kubectl | 3 | 0 | 2 | 1 | 0 | 1 | ||
kubernetes-client | kubernetes-client/gen | 3 | 0 | 0 | 3 | 0 | 1 | kubernetes | |
opentracing-contrib | opentracing-contrib/tracedpromise | 3 | 0 | 0 | 3 | 0 | 1 | opentracing | |
kubernetes-ui | kubernetes-ui/graph | 3 | 0 | 0 | 0 | 3 | 0 | kubernetes | |
grpc | grpc/grpc-contrib | 2 | 0 | 0 | 2 | 0 | 1 | ||
coredns | coredns/coredns-grpc | 2 | 1 | 0 | 0 | 1 | 0 | ||
kubernetes | kubernetes/ocid | 2 | 0 | 0 | 2 | 0 | 1 | ||
kubernetes | kubernetes/kube-ui | 2 | 1 | 0 | 0 | 1 | 0 | ||
fluent | fluent/fluent-bit-docker | 2 | 0 | 0 | 2 | 0 | 1 | fluentd | |
coredns | coredns/presentations | 2 | 0 | 0 | 2 | 0 | 1 | ||
coredns | coredns/logo | 2 | 0 | 0 | 1 | 1 | 1 | ||
opentracing-contrib | opentracing-contrib/events | 1 | 0 | 0 | 1 | 0 | 1 | opentracing | |
kubernetes-cluster-automation | kubernetes-cluster-automation/docker-registry | 1 | 0 | 0 | 1 | 0 | 1 | kubernetes | |
opentracing-contrib | opentracing-contrib/examples | 1 | 0 | 0 | 1 | 0 | 1 | opentracing | |
fluent | fluent/fluentd-docs-kubernetes | 1 | 0 | 0 | 1 | 0 | 1 | fluentd | |
grpc | grpc/grpc-tools | 1 | 0 | 1 | 0 | 0 | 0 | ||
fluent | fluent/fluentd-benchmark | 1 | 0 | 0 | 1 | 0 | 1 | fluentd | |
kubernetes-cluster-automation | kubernetes-cluster-automation/etcd | 1 | 0 | 0 | 1 | 0 | 1 | kubernetes | |
fluent | fluent/fluentbit-website-v2 | 1 | 0 | 0 | 1 | 0 | 1 | fluentd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select | |
org.login as org, | |
repo.name as repo, | |
count(*) as activity, | |
SUM(IF(type = 'IssueCommentEvent', 1, 0)) as comments, | |
SUM(IF(type = 'PullRequestEvent', 1, 0)) as prs, | |
SUM(IF(type = 'PushEvent', 1, 0)) as commits, | |
SUM(IF(type = 'IssuesEvent', 1, 0)) as issues, | |
EXACT_COUNT_DISTINCT(JSON_EXTRACT(payload, '$.commits[0].author.email')) AS authors | |
from | |
(select * from | |
[githubarchive:month.201604], | |
[githubarchive:month.201605], | |
[githubarchive:month.201606], | |
[githubarchive:month.201607], | |
[githubarchive:month.201608], | |
[githubarchive:month.201609], | |
[githubarchive:month.201610], | |
[githubarchive:month.201611], | |
[githubarchive:month.201612], | |
[githubarchive:month.201701], | |
[githubarchive:month.201702], | |
[githubarchive:month.201703] | |
) | |
where | |
( | |
org.login in ( | |
'kubernetes', 'prometheus', 'opentracing', 'fluent', 'linkerd', 'grpc', 'coredns', 'containerd', | |
'rkt', 'opentracing-contrib', 'kubernetes-client', 'kubernetes-contrib', 'kubernetes-cluster-automation', | |
'kubernetes-incubator', 'kubernetes-ui' | |
) | |
or repo.name in ( | |
'docker/containerd', 'coreos/rkt', 'fabric8io/docker-fluentd', 'fabric8io/docker-fluentd-kubernetes', | |
'deis/fluentd', 'grpc-ecosystem/grpc-opentracing', 'coreos/kube-prometheus', 'coreos/prometheus', | |
'coreos/prometheus-operator', 'coreos/coreos-kubernetes', 'coreos/kubernetes', 'abric8io/kubernetes-client', | |
'abric8io/kubernetes-model', 'vmware/kubernetes' | |
) | |
) | |
and type in ('IssueCommentEvent', 'PullRequestEvent', 'PushEvent', 'IssuesEvent') | |
and actor.login not like '%bot%' | |
AND actor.login NOT IN ( | |
SELECT | |
actor.login | |
FROM ( | |
SELECT | |
actor.login, | |
COUNT(*) c | |
FROM | |
[githubarchive:month.201603] | |
WHERE | |
type = 'IssueCommentEvent' | |
GROUP BY | |
1 | |
HAVING | |
c > 1000 | |
ORDER BY | |
2 DESC | |
) | |
) | |
group by org, repo | |
order by | |
activity desc | |
limit 10000; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select | |
org.login as org, | |
repo.name as repo, | |
count(*) as cnt | |
from | |
[githubarchive:month.201604], | |
[githubarchive:month.201610], | |
[githubarchive:month.201703] | |
where | |
org.login is not null and | |
repo.name like '%<<insert_one_of_9_cncf_projects>>' | |
group by | |
org, repo | |
order by | |
org, repo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
org | repo | activity | comments | prs | commits | issues | authors | project | |
---|---|---|---|---|---|---|---|---|---|
kubernetes+kubernetes-incubator+coreos+vmware+kubernetes-ui+kubernetes-contrib+kubernetes-client+kubernetes-cluster-automation | kubernetes+test-infra+kubernetes.github.io+kops+contrib+helm+dashboard+minikube+charts+service-catalog+heapster+kargo+community+ingress+cri-o+coreos-kubernetes+features+kompose+bootkube+kubeadm+release+kube-deploy+kubernetes-anywhere+client-go+client-python+node-problem-detector+kube-state-metrics+kubernetes+external-dns+frakti+kubernetes+kube-aws+rktlet+ocid+dns+k8s.io+nfs-provisioner+git-sync+kube-mesos-framework+external-storage+node-feature-discovery+gengo+cluster-capacity+perf-tests+cri-tools+kubernetes-docs-cn+pr-bot+spartakus+kubernetes-bootcamp+container-terminal+apimachinery+cluster-proportional-autoscaler+apiserver+label-selector+repo-infra+application-images+reference-docs+kube-aggregator+topology-graph+kubedash+application-images+sample-apiserver+md-check+metrics+rktlet+horizontal-self-scaler+kubernetes-template-project+object-describer+md-format+kube2consul+graylog2+jumpserver+community+cluster-proportional-autoscaler+kubectl+gen+graph+ocid+kube-ui+docker-registry+etcd | 287633 | 204740 | 42224 | 14236 | 26433 | 2660 | kubernetes | |
grpc+grpc-ecosystem | grpc+grpc-java+grpc-go+grpc.github.io+grpc-swift+grpc-opentracing+homebrew-grpc+grpc-haskell+grpc-experiments+proposal+grpc-docker-library+grpc-common+grpc-proto+grpc-contrib+grpc-tools | 40373 | 23940 | 8063 | 3550 | 4820 | 394 | ||
prometheus+coreos | prometheus+alertmanager+node_exporter+docs+prometheus-operator+snmp_exporter+client_java+client_golang+mysqld_exporter+blackbox_exporter+client_python+jmx_exporter+kube-prometheus+promu+prometheus.github.io+pushgateway+common+client_ruby+haproxy_exporter+statsd_exporter+consul_exporter+cloudwatch_exporter+collectd_exporter+memcached_exporter+golang-builder+prombench+procfs+graphite_exporter+client_model+promdash+prometheus+influxdb_exporter+busybox+nagios_plugins+utils+prom2json+prometheus_cli | 23537 | 13537 | 3641 | 3418 | 2941 | 647 | ||
coreos | rkt | 9920 | 6792 | 1531 | 660 | 937 | 128 | rkt | |
fluent+deis+fabric8io | fluentd+fluent-bit+fluentd-docker-image+fluentd+fluent-plugin-kafka+fluentd-docs+fluent-plugin-s3+serverengine+fluentd-website+fluent-logger-python+fluent-logger-node+fluent-logger-ruby+fluent-plugin-mongo+fluent-bit-docs+fluent-logger-golang+fluent-plugin-webhdfs+docker-fluentd-kubernetes+fluentd-kubernetes-daemonset+fluent-plugin-sql+fluent-logger-scala+fluent-plugin-grok-parser+fluent-logger-perl+fluent-logger-java+fluent-plugin-rewrite-tag-filter+fluentd-ui+fluent-bit-go+fluent-plugin-flume+fluent-plugin-multiprocess+fluent-plugin-windows-eventlog+fluent-logger-php+NLog.Targets.Fluentd+fluentd-forwarder+docker-fluentd+fluent-bit-kubernetes-daemonset+fluent-bit-docker-image+nginx-fluentd-module+fluent-bit-packaging+fluent-bit-docker+fluentd-docs-kubernetes+fluentd-benchmark+fluentbit-website-v2 | 9866 | 4442 | 1719 | 2660 | 1045 | 257 | fluentd | |
opentracing+opentracing-contrib | opentracing-java+specification+opentracing.github.io+opentracing-go+opentracing.io+opentracing-javascript+opentracing-csharp+basictracer-go+java-globaltracer+meta+opentracing-python+basictracer-python+java-spanmanager+java-agent+opentracing-cpp+opentracing-specification-zh+java-hprose+opentracing-objc+java-jaxrs+java-jdbi+java-web-servlet-filter+java-spring-web+go-stdlib+opentracing-ruby+java-dropwizard+contrib+python-django+basictracer-javascript+python-flask+java-okhttp+java-activespan+java-asynchttpclient+java-loggertracer+perfevents+basictracer-csharp+java-span-reporter+tracedpromise+events+examples | 5322 | 2913 | 746 | 1246 | 417 | 209 | opentracing | |
docker | containerd | 2949 | 1623 | 794 | 357 | 175 | 80 | containerd | |
linkerd | linkerd+linkerd-tcp+linkerd-zipkin+tacho | 1148 | 378 | 233 | 330 | 207 | 22 | ||
coredns | coredns+blog.coredns.io+grpc+coredns.io+deployment+coredns-grpc+presentations+logo | 460 | 201 | 91 | 104 | 64 | 15 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment