Home

Awesome

Sloth common sli plugins

CI Go Report Card Apache 2 licensed

Introduction

A collection of common Sloth sli plugins ready to be used on Sloth manifests, or used as examples to create your own.

Getting started

One of the Sloth features are the SLI plugins. These can be loaded dynamically when Sloth is executed and the SLO manifests can reference these plugins and pass some options to set an SLI, instead of writing the SLI query.

To use these plugins you could do:

# Get the plugins.
git clone https://github.com/slok/sloth-common-sli-plugins.git

# Load the plugins and use them (Sloth can load plugins from multiple dirs).
sloth generate -p ./sloth-common-sli-plugins -i {MY_SLO_MANIFEST}

Plugins

Contributing

You can contribute with new plugins the same way the ones in plugins, the process would be this:

You can execute these to test it while developing: