"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 mad skills in:

python salt prometheus grafana testing saltstack

This project is part of:

Hack Week 17

Activity

  • 7 months ago: mbologna liked Export "salt-toaster" tests execution profile to Prometheus
  • 7 months ago: dmaiocchi joined Export "salt-toaster" tests execution profile to Prometheus
  • 7 months ago: dmaiocchi liked Export "salt-toaster" tests execution profile to Prometheus
  • 7 months ago: PSuarezHernandez added keyword "saltstack" to Export "salt-toaster" tests execution profile to Prometheus
  • 7 months ago: PSuarezHernandez added keyword "testing" to Export "salt-toaster" tests execution profile to Prometheus
  • Show History

    Comments

    • dmaiocchi
      7 months 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

    Weblate 2.3 by mcihar

    Work towards release of Weblate 2.3, the roadma...


    Create Test Framework for XSLT Stylesheets by thomas-schraitle

    Testing stylesheets can be a difficult task. Fi...


    Machine Learning: Participate in a competition on Kaggle by mdinca

    The goal is to learn about [Kaggle](https://www...


    Go async (and non-blocking) with HTTP requests by Johannes Renner

    There is a couple of libraries available for as...


    Create a parser for Training Labs by dguitarbite

    Introduction

    Create a parser...