"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! add-emoji Exporting profile and metrics from salt-toaster to Prometheus: https://github.com/openSUSE/salt-toaster/pull/59

Looking for hackers with the skills:

python salt prometheus grafana testing saltstack

This project is part of:

Hack Week 17

Activity

  • over 5 years ago: mbologna liked this project.
  • over 5 years ago: dmaiocchi joined this project.
  • over 5 years ago: dmaiocchi liked this project.
  • over 5 years ago: PSuarezHernandez added keyword "salt" to this project.
  • over 5 years ago: PSuarezHernandez added keyword "prometheus" to this project.
  • over 5 years ago: PSuarezHernandez added keyword "grafana" to this project.
  • over 5 years ago: PSuarezHernandez added keyword "testing" to this project.
  • over 5 years ago: PSuarezHernandez added keyword "saltstack" to this project.
  • over 5 years ago: PSuarezHernandez added keyword "python" to this project.
  • over 5 years ago: PSuarezHernandez started this project.
  • over 5 years ago: PSuarezHernandez originated this project.

  • Comments

    • dmaiocchi
      over 5 years ago by dmaiocchi | Reply

      @PSuarezHernandez i would like to help add-emoji .

      We could create a separate github repo called "salt-toaster-metrics", and starting from there we can cordinate.

      I will do also my hackweek on elixir but i would like to help on this also. If we have github Repo we can create issue and dashboards for cordination.

      If we want at the end to push it back to salt-toaster this can be easy.

      What do you think? add-emoji

    Similar Projects

    Forklift - Text based GUI utility for dealing with containers by andreabenini

    [comment]: # (Please use the project descriptio...


    Testing and adding GNU/Linux distributions on Uyuni by juliogonzalezgil

    Join the Gitter channel! [https://gitter.im/uy...


    Grab precise changes in log file/s between system events by smhalas

    [comment]: # (Please use the project descriptio...


    Script that loads dummy data into HANA database for testing purposes. by rangelino

    [comment]: # (Please use the project descriptio...


    A quantum physics experiment puzzle (designed with Google's CP-SAT solver) by moio

    [![link to video player demoing the result](htt...


    Saline (state deployment control and monitoring tool for SUSE Manager/Uyuni) by vizhestkov

    [comment]: # (Please use the project descriptio...


    Generate ignition/combustion files from Uyuni/SUSE Manager by dvosburg

    [comment]: # (Please use the project descriptio...


    Visualization of historical sar(1) archives by ggherdovich

    Project Description

    The sar(1) tool, fr...


    Create tool to analyze supportconfig to spot common SUSE Manager / Uyuni issues by cbosdonnat

    [comment]: # (Please use the project descriptio...