prom-bitbucket-exporter icon indicating copy to clipboard operation
prom-bitbucket-exporter copied to clipboard

New Metrics

Open aviorma opened this issue 6 years ago • 5 comments

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 !!

aviorma avatar Apr 02 '18 14:04 aviorma

  1. Done

AndreyVMarkelov avatar Jul 13 '18 20:07 AndreyVMarkelov

@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 :+1:

kamrajshahapure avatar Oct 03 '18 06:10 kamrajshahapure

  1. Now there is counter for clone events

AndreyVMarkelov avatar Oct 04 '18 09:10 AndreyVMarkelov

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

Trivikramreddy avatar Oct 08 '18 17:10 Trivikramreddy

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?

travisghansen avatar Apr 22 '20 17:04 travisghansen