chanti529 / repostats

This plugin utilizes the statistical metadata of the Artifacts that is implicitly generated and maintained by Artifactory. These statistics provide insights into Artifactory utilization and can help organizations to implement checks, chargeback Users/Teams, perform cleanups and analyze the consumption of resources.
Apache License 2.0
2 stars 4 forks source link

repostats

About this plugin

This plugin utilizes the statistical metadata of the Artifacts that is implicitly generated and maintained by Artifactory. These statisctics provide insights into Artifactory utilization and can help organizations to implement checks, chargeback Users/Teams, perform cleanups and analyse the consumption of resources.

This can help Users to find out the most poularly downlaoded Artifacts in a given repository, Artifacts that are consuming the most space in a given Repository with various levels of customization avaialble. Results obtained can also be sorted and filtered.

Installation with JFrog CLI

Installing the latest version:

$ jf plugin install repostats

Installing a specific version:

$ jf plugin install repostats@version

Uninstalling a plugin

$ jf plugin uninstall repostats

download command - Download Count statistics

This command provides the download count statistics on a Repository/Folder path/Artifact level with an option to filter the results based on the properties and last downloaded timestamp or interval. It also provides the option to select the server id of the interested Artifactory instance.

size command - Repository size statistics in Bytes

This command gives the info about the size of an Artifact/Folder/Repository in Bytes with an option to filter the results based on the properties and last modified timestamp or interval. It also provides the option to select the server id of the interested Artifactory instance.

Usage

Commands

Environment variables

None.

Additional info

None.

Release Notes

The release notes are available here.