{"repo":"globocom/slo-generator","free":true,"listed":false,"github":"https://github.com/globocom/slo-generator","clone":"git clone https://github.com/globocom/slo-generator.git","description":"Easy setup a service level objective using prometheus","language":"Go","stars":135,"topics":["sre","slo","prometheus","workbook","grafana","alert","kubernetes"],"license":"MIT","category":"analytics","readme_excerpt":"slo-generator Easily setup a service level objective using prometheus, based on lessons from the SRE workbook. Generating Look the file slo example.yml to see how to parametrize SLOs and generate Prometheus rules by running the following command: Alert methods currently supported - [x] 1. Target Error Rate ≥ SLO Threshold, using alertMethod: simple - [x] 2. Increased Alert Window, using alertMethod: simple - [x] 3. Incrementing Alert Duration, using alertMethod: simple - [x] 4. Alert on Burn Rate alertMethod: simple and burnRate: - [x] 5. Multiple Burn Rate Alerts, using alertMethod: multi-window and shortWindow: false - [x] 6. Multiwindow, Multi-Burn-Rate Alerts, using alertMethod: multi-window alertMethod: simple Look the file slo simple example.yml to see a full example of usage. the simple alert method require two params: 1. alertWindow: how far back in time will used to alerting. supported values: 5m, 30m, 1h, 2h, 6h, 1d and 3d. 2. alertWait: for long time will begin fire an alert. alertMethod: multi-window The philosofy of this alert is described on the section of book: (https://landing.google.com/sre/workbook/chapters/alerting-on-slos#6-multiwindow-multi-burn-rate-alerts) SLOs at scale The Workbook suggests to create classes to simplify how to set a SLO for your services, read details about concepts here Look at slo example with classes.yml and slo classes.yml to see how to define classes and associate with your services. After that, you can run the command specifying ","default_branch":null,"files":null,"tree":[],"storefront":"/r/globocom","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/globocom/slo-generator/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}