plugin

package
v0.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

README

sloth.dev/core/metadata_rules/v1

This plugin generates a standard set of Prometheus recording rules that provide metadata about the SLO. These rules are used by Sloth by default and help to enrich the SLO with information such as burn rates, objective ratios, time period lengths, and general descriptive labels.

It is automatically included by Sloth unless explicitly disabled. While it does not need custom configuration, understanding its output can be useful for integration with dashboards or alerting systems.

Config

None

Env vars

None

Order requirement

This plugin should generally run after validation plugins.

Usage examples

Default usage (auto-loaded)

This plugin is automatically executed by default when no custom plugin chain is defined.

Explicit inclusion

chain:
  - id: "sloth.dev/core/metadata_rules/v1"

Documentation

Index

Constants

View Source
const (
	PluginVersion = "prometheus/slo/v1"
	PluginID      = "sloth.dev/core/metadata_rules/v1"
)

Variables

This section is empty.

Functions

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL