Potential SLIs for different types of components  - Request-...

Potential SLIs for different types of components

  • Request-driven
  • Availability
  • The proportion of requests that resulted in a successful response.
  • Latency
  • The proportion of requests that were faster than some threshold.
  • Quality
  • If the service degrades gracefully when overloaded or when backends are unavailable, you need to measure the proportion of responses that were served in an undegraded state. For example, if the User Data store is unavailable, the game is still playable but uses generic imagery.

Pipeline

Freshness

The proportion of the data that was updated more recently than some time threshold. Ideally this metric counts how many times a user accessed the data, so that it most accurately reflects the user experience.

Pipeline

Correctness

The proportion of records coming into the pipeline that resulted in the correct value coming out.

Pipeline

Coverage

For batch processing, the proportion of jobs that processed above some target amount of data. For streaming processing, the proportion of incoming records that were successfully processed within some time window.

Storage

Durability

The proportion of records written that can be successfully read. Take particular care with durability SLIs: the data that the user wants may be only a small portion of the data that is stored. For example, if you have 1 billion records for the previous 10 years, but the user wants only the records from today (which are unavailable), then they will be unhappy even though almost all of their data is readable.

www.joshbeckman.org/notes/489435490