Closed ggatward closed 4 years ago
Thanks for the suggestion. Initially we were looking at adding this metric but found out it is a very heavy API call to Artifactory since you have to make separate call for each repository and for each time range. I will look at this when I get a chance this weekend and maybe add it to the exporter with a flag to enable those metrics.
That'd be great ... probably don't need to query ALL the time ranges, perhaps only the last 5 minutes and then let the visualisation layer (Grafana) roll that up to other ranges may be enough. Really just looking for a method to identify repos that may be no longer in use - no uploads or downloads in x period makes it a candidate for deletion :-)
Would it be possible to include metrics for the number of artifacts created and downloaded per repo?
This would round out the metrics requirements for a project we are working on using your exporter... For example (from https://github.com/petrjurasek/artifactory-prometheus-exporter)