"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
  • 8 months ago: dmaiocchi joined Export "salt-toaster" tests execution profile to Prometheus
  • 8 months ago: dmaiocchi liked Export "salt-toaster" tests execution profile to Prometheus
  • 8 months ago: PSuarezHernandez added keyword "saltstack" to Export "salt-toaster" tests execution profile to Prometheus
  • 8 months ago: PSuarezHernandez added keyword "testing" to Export "salt-toaster" tests execution profile to Prometheus
  • Show History

    Comments

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

    Playing with OpenFaaS: a Serverless Framework for Docker and Kubernetes by pgeorgiadis

    OpenFaaS - Functions as a Service

    Get fa...


    Brine in Go: A Salt Formula Build System by Druonysus

    What is Brine?

    Simply put: A build system...


    SUSE Manager / Salt integration revisited by Johannes Renner

    There is a number of possible improvements to t...


    Weblate for l10n.opensuse.org by matejcik

    This hackweek, we will be hacking on Weblate an...


    Management solution for openSUSE based on Salt-stack by dmacvicar

    Saltstack is the only configuration management ...