"salt-toaster" allows you to test multiple Salt package flavors across different operating systems via Docker containers. This project is heavily used on the SUSE Manager team to hardening the Salt package that is shipped on the openSUSE/SLE distributions. Link to GitHub repository
The "salt-toaster" execution is divided on different steps (image building, container spinning, salt key acceptance, tests execution, etc) but currently we only get the global results for the entire testsuite execution.
This hackweek projects wants to gather the timing profile of each execution step of the "salt-toaster" in order to export them to Prometheus (node_exporter) and vizualise them on Grafana.
Steps to follow:
- Evaluate implementation alternatives. (accumulated value like CPU)
- Implement timing profile inside "salt-toaster". The profile is saved in a json file collected by Prometheus "node_exporter".
- Visualize the data, rate, trends, on Grafana.
UPDATE July 11. 2018: Goal achieved! Exporting profile and metrics from salt-toaster to Prometheus: https://github.com/openSUSE/salt-toaster/pull/59
Looking for mad skills in:
python salt prometheus grafana testing saltstack
This project is part of:
Hack Week 17