This plugin uses the open metrics API of Artifactory to visually display information in graphical format.
Since this plugin is currently not included in JFrog CLI Plugins Registry, it needs to be built and installed manually. Follow these steps to install and use this plugin with JFrog CLI.
- Make sure JFrog CLI is installed on your machine by running
jfrog
. If it is not installed, install it. - Create a directory named
plugins
under~/.jfrog/
if it does not exist already. - Clone this repository.
- CD into the root directory of the cloned project.
- Run
go build
to create the binary in the current directory. - Copy the binary into the
~/.jfrog/plugins
directory.
-
graph
- Arguments:
- none
- Flags:
- interval: Polling interval in seconds [Default: 1]
- Example:
$ jfrog frogvision graph
- Arguments:
-
metrics
- Arguments:
- list - list metrics
- Flags:
- raw: Output straight from Artifactory [Default: false]
- min: Get minimum JSON from Artifactory (no whitespace) [Default: false]
- Example:
$ jfrog frogvision metrics --raw # HELP jfrt_artifacts_gc_current_size_bytes Total space occupied by binaries after Garbage Collection # UPDATED jfrt_artifacts_gc_current_size_bytes 1607284811440 # TYPE jfrt_artifacts_gc_current_size_bytes gauge jfrt_artifacts_gc_current_size_bytes{end="1607284801199",start="1607284800142",status="COMPLETED",type="FULL"} 3.823509e+10 1607287853275
- Arguments:
None
None.
The release notes are available here.