package
0.0.0-20230907071321-a7bbfa59ec00
Repository: https://github.com/jonas27/sloth.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
No description provided by the author
No description provided by the author
NewYAMLSpecLoader returns a YAML spec loader.
# Constants
MetadataRecordingRulesGenerator knows how to generate the metadata prometheus recording rules from an SLO.
# Variables
ErrNoSLORules will be used when there are no rules to store.
OptimizedSLIRecordingRulesGenerator knows how to generate the SLI prometheus recording rules from an SLO optimizing where it can.
SLIRecordingRulesGenerator knows how to generate the SLI prometheus recording rules form an SLO.
SLOAlertRulesGenerator knows how to generate the SLO prometheus alert rules from an SLO.
# Structs
AlertMeta is the metadata of an alert settings.
FileSLIPluginRepo will provide the plugins loaded from files.
No description provided by the author
IOWriterGroupedRulesYAMLRepo knows to store all the SLO rules (recordings and alerts) grouped in an IOWriter in YAML format, that is compatible with Prometheus.
SLI reprensents an SLI with custom error and total expressions.
No description provided by the author
No description provided by the author
No description provided by the author
SLO represents a service level objective configuration.
No description provided by the author
SLORules are the prometheus rules required by an SLO.
No description provided by the author
YAMLSpecLoader knows how to load YAML specs and converts them to a model.
# Interfaces
FileManager knows how to manage files.
No description provided by the author