We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

This lesson's interactive features are locked, please to keep using them

Status Code Bars

Line charts are great for trends over time, but they're not always ideal for comparing categorical values.

HTTP status codes are categorical. If we want to compare how many 200, 401, and 500 responses we get, a bar chart is often clearer than a line chart.

Assignment

Add a new bar chart panel grouped by status code.

  1. sum(increase(http_requests_total[$__range])) by (status)
    

Run and submit the CLI tests from the root of the Linko repo.