Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Metrics #8

Open
aviorma opened this issue Apr 2, 2018 · 5 comments
Open

New Metrics #8

aviorma opened this issue Apr 2, 2018 · 5 comments

Comments

@aviorma
Copy link

aviorma commented Apr 2, 2018

I would like to expose those metrics:

  1. pull requests created time per repository and the labels of it can be: pull request name, commit id, author, message, repository, user, state (confirmed or not etc ..), beach from, beach to; The value should be the the time passed since the pull request created.
  2. Last branch commit time and labels can be: beach, repository, author..
  3. Number of commits per repository.
  4. Total Size of repository
  5. Number of clones per repository (ever)
  6. Last pushed to master per repository , labels: commit, author, repository,

Thanks !!

@AndreyVMarkelov
Copy link
Owner

  1. Done

@kamrajshahapure
Copy link

@AndreyVMarkelov Regarding your comment "4. Done", can you help me which metric in the Prometheus endpoint is showing "Total Size of repository" because I am not able to see any metric with that metric.
Thanks for the plugin development, turned out to be really useful 👍

@AndreyVMarkelov
Copy link
Owner

  1. Now there is counter for clone events

@Trivikramreddy
Copy link

@AndreyVMarkelov Can you add metrics like how long did it take to clone particular repository.
Thanks for your precious time.

@travisghansen
Copy link

I could be off here as this is not my area but I've seen a screenshot from someone showing fetch, shallow clone, and push events in addition to the clone event. Can those be added in the same fashion as the clone metrics?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants