AndreyVMarkelov / prom-bitbucket-exporter

Prometheus Exporter for Bitbucket
https://marketplace.atlassian.com/plugins/ru.andreymarkelov.atlas.plugins.prom-bitbucket-exporter/server/overview
BSD 2-Clause "Simplified" License
51 stars 21 forks source link

push timestamps #18

Open drdam02 opened 5 years ago

drdam02 commented 5 years ago

It would be nice to have the individual pushes to the repo and the timestamp of the push. This allows for annotations in Grafana based on this push information. Now we only have a count of all the pushes per person, per repo

AndreyVMarkelov commented 4 years ago

@drdam02 Could you clarify please?

drdam02 commented 4 years ago

for the moment you only have the accumulated counter of the number of pushes towards a specific repo. There is no metric collected for each individual push (who did the push, when, commit hash, ...) If you want to use this exporter for monitoring, it might come in handy to scan through all individual pushes of a specfic repo. you could also use it to enhance your monitoring and add correlations between events, a specific push might break something

mattrussi commented 4 years ago

@drdam02 , you would likely want to use a tool such as Elasticsearch for logging those particular events. Prometheus, and thus this exporter for Prometheus, is geared around higher level metrics.