Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Nov 8, 2025

This PR contains the following updates:

Package Update Change
sloth minor 0.7.0 -> 0.15.0

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

slok/sloth (sloth)

v0.15.0

Compare Source

Added
  • Sloth SLO generation can be used as a Go library in github.com/slok/sloth/pkg/lib.
  • Sloth lib PrometheusSLOGenerator with GenerateFromSlothV1 to generate SLOs based on Sloth v1 spec.
  • Sloth lib PrometheusSLOGenerator with GenerateFromK8sV1 to generate SLOs based on Kubernetes Sloth v1 spec.
  • Sloth lib PrometheusSLOGenerator with GenerateFromOpenSLOV1Alpha to generate SLOs based on OpenSLO v1Alpha spec.
  • Sloth lib PrometheusSLOGenerator with GenerateFromRaw to generate SLOs based on any raw string spec.
  • Sloth lib WriteResultAsPrometheusStd helper method to write generated SLO results into standard Prometheus rules YAML.
  • Sloth lib WriteResultAsK8sPrometheusOperator helper method to write generated SLO results into Prometheus operator rules YAML.
  • The resulting SLO Prometheus rule group name can be customized by SLO plugins.
  • SLO plugins have the ability to add extra Prometheus Rule groups.
Changed
  • The CLI commands generate and validate use the public Sloth Go library.

v0.14.0

Compare Source

Added
  • Add contrib plugin directory and CODEOWNERS policies.
  • Contrib plugin: /internal/plugin/slo/contrib/info_labels_v1/.
  • Allow github.com/VictoriaMetrics/metricsql module in SLO plugins.
  • Contrib plugin: sloth.dev/contrib/validate_victoria_metrics/v1.
  • Contrib plugin: sloth.dev/contrib/rule_intervals/v1.
  • Contrib plugin: sloth.dev/contrib/error_budget_exhausted_alert/v1.
  • Contrib plugin: sloth.dev/contrib/denominator_corrected_rules/v1.
  • Add --slo-plugins and -s flag (validate) to be able to declare SLO plugins at cmd level, these plugins will be applied to all SLOs.
  • Add --disable-default-slo-plugins flag (validate) to be able to disable default Sloth SLO plugins.
Changed
  • Update chat git sync to v4.5.0

v0.13.0

Changed
  • Split image registry and repository in Helm chart
  • (BREAKING) Internally Sloth (not k8s) prometheusServiceLevel uses k8s k8s.io/apimachinery/pkg/util/yaml lib for unmarshaling YAML instead of gopkg.in/yaml.v2.
  • Core SLO validation and SLO rules generation migrated to SLO plugins.
  • (BREAKING) --sli-plugins-path, --slo-plugins-path, -m args and it's env vars SLOTH_SLI_PLUGINS_PATHand SLOTH_SLO_PLUGINS_PATH have been removed in favor or --plugins-path, -p and it's env var SLOTH_PLUGINS_PATH that discovers and loads SLI and SLO plugins with a single flag.
  • Simplify validation and improve validation message by using custom logic instead of go-playground/validator.
  • (BREAKING) --disable-optimized-rules flag and associated env var has been removed.
  • (BREAKING) Helm chart has removed the option for disabling optimized rules.
  • Update to Kubernetes v1.34.
  • Update to Go v1.25.
Added
  • Sloth domain models can be imported in Go apps using github.com/slok/sloth/pkg/common/model.
  • Sloth conventions can be imported in Go apps using github.com/slok/sloth/pkg/common/conventions.
  • Sloth SLO validation logic can be imported in Go apps using github.com/slok/sloth/pkg/common/validation.
  • A new SLO rule generation plugin system has been added to be able to change/extend the SLO rule generation process.
  • SLO plugins can be loaded from FS directories recursively using --plugins-path in the commands.
  • SLO plugins have a priority value to be able to order in the execution chain.
  • Sloth regular (non-k8s) prometheus/v1 API support for SLO plugins at SLO group level and per SLO level.
  • Sloth K8s CRD sloth.slok.dev/v1/PrometheusServiceLevel API support for SLO plugins at SLO group level and per SLO level.
  • Allow overriding previous declared SLO plugins (includes defaults) at SLO group and SLO level.
  • SLO plugins can access env vars and use OS/exec by default.
  • Allow github.com/caarlos0/env/v11 module in SLO plugins.
  • Add --slo-plugins and -s flag (generate and k8s controller) to be able to declare SLO plugins at cmd level, these plugins will be applied to all SLOs.
  • Add --disable-default-slo-plugins flag (generate and k8s controller) to be able to disable default Sloth SLO plugins.
  • Helm chart supports node selector.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot added dependency/helm Dependency Helm kind/renovate Categorizes issue or PR as related to Renovate lifecycle/active Indicates that an issue or PR is actively being worked on by a contributor. priority/medium This issue or PR may be useful, and needs some attention size/xs Size XS status/review_needed The issue or PR needs to be reviewed labels Nov 8, 2025
@renovate renovate bot requested a review from nlamirault as a code owner November 8, 2025 04:50
@renovate renovate bot added status/review_needed The issue or PR needs to be reviewed priority/medium This issue or PR may be useful, and needs some attention dependency/helm Dependency Helm size/xs Size XS lifecycle/active Indicates that an issue or PR is actively being worked on by a contributor. labels Nov 8, 2025
@renovate renovate bot added the kind/renovate Categorizes issue or PR as related to Renovate label Nov 8, 2025
@coderabbitai
Copy link

coderabbitai bot commented Nov 8, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

@nlamirault nlamirault closed this Nov 24, 2025
@renovate renovate bot deleted the renovate/sloth-0.x branch November 24, 2025 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependency/helm Dependency Helm kind/renovate Categorizes issue or PR as related to Renovate lifecycle/active Indicates that an issue or PR is actively being worked on by a contributor. priority/medium This issue or PR may be useful, and needs some attention size/xs Size XS status/review_needed The issue or PR needs to be reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants