github-exporter icon indicating copy to clipboard operation
github-exporter copied to clipboard

WIP: Re-write

Open Rucknar opened this issue 5 years ago • 6 comments

A number of issues with the prior code of this repository meant that it was difficult to maintain and some metrics couldn't be catered for. As a result, we've taken the time to re-factor this and have the google/go-github sdk do the leg work for us. The result is a significantly simpler package and with some new metrics thrown in for good measure.

  • The number of additions is so high because of vendoring, in reality the codebase is much smaller now.

Rucknar avatar Sep 23 '20 22:09 Rucknar

Outstanding

  • Add pagination support back in
  • Add metrics for number of commits
  • Add metrics for github actions
  • Add metrics for Release Downloads (in prior version)
  • Failure mode, capture rate limit info should errors be encountered

Rucknar avatar Sep 23 '20 22:09 Rucknar

  • [x] Add pagination support back in
  • [x] Add metrics for number of commits
  • [ ] Add metrics for github actions
  • [ ] Add metrics for Release Downloads (in prior version)
  • [x] Failure mode, capture rate limit info should errors be encountered
  • [ ] Add pagination support to enriched metric collection
  • [ ] Fix bug in release count metrics
  • [ ] Add secondary release metrics (Downloads per release)
  • [ ] Increase test coverage
  • [ ] Re-instate full build testing
  • [ ] Add in go routines to enable paralell processing of metrics.
  • [ ] Compare output from existing version for same test organisations

Rucknar avatar Sep 28 '20 23:09 Rucknar

Resolves #52, Resolves #51, Resolves #37, Resolves #30, Resolves #22, Resolves #25, Resolves #12, Resolves #1

Rucknar avatar Sep 29 '20 14:09 Rucknar

This is looking very good! Can't wait to try it out :)

I'd like to monitor which collaborator has how many issues assigned & closed, will that be possible with the rewrite? Tried to check the diff but GitHub is cowardly refusing to render the "Jump to" table because of the vendoring.

In my mind it would be something like:

github_issues{user="kvz",repo="transloadit/uppy",state="open"} 4
github_issues{user="kvz",repo="transloadit/uppy",state="closed"} 1

Not sure if this a possible/great way of doing it--just a first idea.

kvz avatar Jan 23 '21 14:01 kvz

Is this still in progress? I'd like to get the date of the last commit of specific branches, is that already supported or will be anytime soon?

pinpox avatar Jan 21 '22 11:01 pinpox

Is this abandoned? we are interested to see these features merged to master especially GitHub actions metrics

gamunu avatar Jan 23 '23 17:01 gamunu