- Support Kubernetes v1.23
v0.9.0 - 2021-11-15
- Added spec for declaring custom SLO period windows.
- Added
--slo-period-windows-path
flag to load custom SLO period windows from a directory.
- (BREAKING)
--window-days
flag renamed to--default-slo-period
and now is a time.Duration instead of an integer. - (BREAKING)
-w
short flag has been removed. - Default 30 and 28 day windows are now loaded from spec files.
v0.8.0 - 2021-10-12
- OpenSLO fallbacks to Sloths time window if not set.
- Migrated container images from dockerhub to ghcr.io.
- Time window validation.
- Default time window is 30 day (same as before but was hardcoded, now can be set to a different one).
- Support 28 day time windows.
- Flag to select default time window.
v0.7.0 - 2021-10-05
- Helm chart.
- Kustomize.
- Support Kubernetes 1.22
- The SLO
info
metric has SLO objective as a label.
- Update Kubernetes deploy manifests to v0.7.0
v0.6.0 - 2021-07-11
- Model validates SLI event queries (error and total) are different.
- On K8s controller Label selector to shard resources handling by labels.
- On K8s controller Kubernetes dry-run mode for development.
- On K8s controller Kubernetes fake mode for development without Kubernetes cluster.
- Generate and validate commands now infer the spec type instead of bruteforce loading every spec type.
--development
flag has been renamed to--kube-local
.
v0.5.0 - 2021-06-30
- OpenSLO support on validate command.
- OpenSLO support on generate command.
- Hot-reload SLI plugins file loader.
- Trigger hot-reload by HTTP webhook.
- Trigger hot-reload by SIGHUP OS signal.
- Added
hot-reload-addr
flag with the hot reload http server address. - Added
hot-reload-path
flag with the hot reload http server webhookpath webhook.
- (Internal) SLI Plugins are retrieved from a repository service instead of getting them from a
map
.
v0.4.0 - 2021-06-24
- Support multiple services per YAML file (multifile).
- Validate cmd.
- Validation SLO spec files autodiscovery.
- Validation include and exclude filter regex for files.
v0.3.1 - 2021-06-14
- Support multi-arch docker images.
- Fix CLI
--extra-labels
not being used.
v0.3.0 - 2021-06-10
- SLI plugins support.
- SLI
prometheus/v1
plugins. - Add SLI plugin settings to
prometheus/v1
spec. - Add SLI plugin settings to
PrometheusServiceLevel
CRD. - Make optional alerting
name
field onPrometheusServiceLevel
CRD.
v0.2.0 - 2021-05-24
- SLO spec
description
field. - Kubernetes Prometheus CRD status.
- Kubernetes Prometheus CRD status data print for Kubectl.
- Kubernetes controller mode to generate Prometheus-operator CRs from Sloth CRs.
controller
command to start Kubernetes controller.version
command to return the app version to stdout.service
and SLOname
validation.- Kubernetes controller mode documentation.
- Description field on Prometheus Kubernetes and regular SLO specs.
- Prometheus metrics for Kubernetes controller mode.
- (BREAKING) Kubernetes Prometheus CRD manifests uses camelcase instead of snakecase.
--version
flag.
v0.1.0 - 2021-05-05
- Extra labels on all prometheus rules at generation cmd execution.
- Specs as an importable API library under
pkg
. - Prometheus SLO spec.
- Cli for Prometheus generation.
- Generic Multi window multi burn alert generation.
- Prometheus SLI error recording rules.
- Prometheus SLO Metadata recording rules.
- Prometheus Multi window multi burn alert rules.
- Improve 30d SLI error recording rule.
- Disable recording rules generation using flags.
- Disable alert rules generation using flags.
- Support events based SLI.
- Support raw query based SLI.
- Kubernetes (prometheus-operator) CRD generation support.