Skip to content

codefrog CLI 2020 - Ability to visualize OpenMetrics API from Artifactory. Won 2nd place!

License

Notifications You must be signed in to change notification settings

lorenyeung/jfrog-cli-frogvision

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

frogvision

About this plugin

This plugin uses the open metrics API of Artifactory to visually display information in graphical format.

Installation with JFrog CLI

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.

  1. Make sure JFrog CLI is installed on your machine by running jfrog. If it is not installed, install it.
  2. Create a directory named plugins under ~/.jfrog/ if it does not exist already.
  3. Clone this repository.
  4. CD into the root directory of the cloned project.
  5. Run go build to create the binary in the current directory.
  6. Copy the binary into the ~/.jfrog/plugins directory.

Usage

Commands

  • graph

    • Arguments:
      • none
    • Flags:
      • interval: Polling interval in seconds [Default: 1]
    • Example:
    $ jfrog frogvision graph
    

  • 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  
    

Environment variables

None

Additional info

None.

Release Notes

The release notes are available here.

About

codefrog CLI 2020 - Ability to visualize OpenMetrics API from Artifactory. Won 2nd place!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published