GithubHelp home page GithubHelp logo

slimy's Introduction

slimy

Build Status

SLI middleware for rack. Most monitoring instrumentation is organized around Golden Signals, USE, RED, etc. The goal of this library is to provide direct measurement useful for determining SLIs, SLOs and error budgets.

What is a Service Level Indicator (SLI)?

This is a concept we learned from the Google SRE BOOK (free). Simply put this is a measure of (good event) / (total events). Ideally this should measure of how the system is meeting user expectations.

Example

Maybe your target for your homepage is to respond to requests within 50 milliseconds.

  • If you get 100 requests and all responses are then your SLI value is 100/100 (100%)
  • If you get 100 requests and 5 of the responses are errors and 5 of them take 100ms then your SLI value is 90/100 (90%)

What is a Service Level Objective (SLO)?

An SLO is an SLI with some threshold you're trying to meet.

In the homepage example above, that would be a high visiblity, high importance page so maybe you want 99.95% of requests to meet your success criteria.

Maybe you have report that is fast for some customers, and slow for others. The slow customers don't need the data urgently and everybody is happy so you might be happy with 90% of reports being generated in 120 seconds.

This allows us to define error budgets and gives us a firm framework for prioritizing feature work vs performance issues that can often be seen as a "Nice to have" until it becomes an "Ooops this is functionally not working."

Error Budgets

SLAs?

Service Level Agreements are contracts with external teams. They're not unrelated but a bit beyond the scope of the goal here.

SLIs and other types of Monitoring

There are many ways to monitoring running systems. Golden Signals, RED, USE, are all important frameworks for monitoring and analyzing the health of a running system. SLOs are

slimy's People

Contributors

wthenrichs avatar sag avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.