Name: osbs-metrics
Owner: Project Atomic
Description: Playground for examining OSBS build metrics, hope to integrate into osbs-client once ready
Created: 2016-02-24 09:05:52.0
Updated: 2018-04-23 12:52:22.0
Pushed: 2018-04-23 12:52:20.0
Homepage: null
Size: 57
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Some quick-and-dirty tools for getting statistics from an OSBS instance.
Use like this:
--output=json list-builds > list-builds.json
on ./metrics.py list-builds.json
After running metrics, use like this:
on ./visual metrics-current.csv metrics-concurrent.csv
Use like this:
--output=json list-builds | \
python ./graph.py | \
graph-easy --as=dot | \
dot -Tsvg > builds.svg
raph.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)
ix
=
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>
outdated metadata (atomic-reactor < 1.6.4) ```zabbix_metrics_watcher_oldmetadata.py```
ld be used