Skip to content
This repository has been archived by the owner on Jun 5, 2019. It is now read-only.
/ osbs-metrics Public archive

Playground for examining OSBS build metrics, hope to integrate into osbs-client once ready

Notifications You must be signed in to change notification settings

projectatomic/osbs-metrics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Some quick-and-dirty tools for getting statistics from an OSBS instance.

metrics

Use like this:

osbs --output=json list-builds > list-builds.json
python ./metrics.py list-builds.json

visual

After running metrics, use like this:

python ./visual metrics-current.csv metrics-concurrent.csv

graph

Use like this:

osbs --output=json list-builds | \
    python ./graph.py | \
    graph-easy --as=dot | \
    dot -Tsvg > builds.svg

graph.py also has optional parameters:

  • inputfile: read builds json from file
  • pulp_base_url: use pulp API to get layer size (should be used in case tar_metadata is inconsistent)

zabbix

Send build metadata to Zabbix synthetic host:

python zabbix_metrics_watcher.py \
    --zabbix-host <zabbix host> \
    --osbs-master <synthetic OSBS host on zabbix> \
    --instance <instance name in osbs config>

For outdated metadata (atomic-reactor < 1.6.4) zabbix_metrics_watcher_oldmetadata.py should be used

About

Playground for examining OSBS build metrics, hope to integrate into osbs-client once ready

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages