prometheus-alert-rules Usage Prometheus configuration # prometheus.yml global: scrape_interval: 15s ... rule_files: - 'rules/*.yml' # optional - 'slo-rules/*.yml' scrape_configs: ... Generate SLO prometheus rules sloth generate -i slo-specs/ -o slo-rules/ prettier -w slo-rules/*