"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

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

  • Comments

    • dmaiocchi
      about 4 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

    web-based testing tracker for aquarist-labs's s3gw by jluis

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


    Video For Linux 2 Camera monitor, frame capture, day/night exposure control and timelapse generator in python by dmair

    Use the V4L2 API in a PySide qt6.3 application ...


    Rewrite libkdumpfile Python binding using CFFI by ptesarik

    Project Description

    The [libkdumpfile](ht...


    OMEMO Hexchat plugin by dknorr

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


    Testing and adding GNU/Linux distributions on Uyuni by juliogonzalezgil

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


    Saline: Salt state appliement monitoring by vzhestkov

    Project Description

    In case of applying s...


    web-based testing tracker for aquarist-labs's s3gw by jluis

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


    Blog about our ScummVM Freeware games packages by sndirsch

    Blog about ScummVM Freeware games of our open...


    Testing and adding GNU/Linux distributions on Uyuni by juliogonzalezgil

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