SLO Alerts

Definitions

  • SLI - Service Level Indicator. The ratio between good events to the total number of events in a given time window. For example,all the successful HTTP requests will be considered as good events.
  • SLO -Service Level Objective. A target on the SLI. The SLO is this lower bound of SLI. Common choices are week, 28, or 30 days. For example, 99.9% 30-day availability SLO means that we want our availability SLI on any 30-day window will not to fall below 99.9 %.
  • Error Rate - The ratio between the number of bad events to the total number of events.
  • SLO Error Rate - The upper bound on the error rate. For example, the SLO error rate of 99.9 % SLO is 0.1 %.
  • Error Budget - The number of allowable bad events in a given SLO time window.
  • Burn Rate - How fast the service consumes the error budget.

Burn Rate Thresholds

B u r n R a t e = P e r i o d × ( E r r o r B u d g e t ) ÷ A l e r t W i n d o w S i z e Burn Rate=Period \times (Error Budget) \div Alert Window Size BurnRate=Period×(ErrorBudget)÷AlertWindowSize
For example, 2 % of a 30-day error budget in one hour burn rate is 14.4:
B u r n R a t e = 720 × 0.002 ÷ 1 = 14.4 Burn Rate=720 \times 0.002 \div 1 = 14.4 BurnRate=720×0.002÷1=14.4
5 % of a 30-day error budget in 6 hour burn rate is 6:
B u r n R a t e = 720 × 0.005 ÷ 6 = 6 Burn Rate=720 \times 0.005 \div 6 = 6 BurnRate=720×0.005÷6=6

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值