Skip to content

Latest commit

 

History

History

evalavailability

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Prometheus rules evaluation availability

Availability plugin for the Prometheus rules evaluation.

Options

  • filter: (Optional) Prometheus extra label filter.

Metric requirements

  • prometheus_rule_evaluation_failures_total.
  • prometheus_rule_evaluations_total

Usage examples

Without filter

sli:
  plugin:
    id: "sloth-common/prometheus/rules/eval-availability"

With filter

sli:
  plugin:
    id: "sloth-common/prometheus/rules/eval-availability"
    options:
      filter: job="svc1",env="prod"