

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 3
click for more info
Not enough gems
Cost: 6 gems
1: Metrics
incomplete
2: Prometheus
incomplete
3: System Metrics
incomplete
4: Metrics Exporters
incomplete
5: What to Measure
incomplete
6: Visualizing Metrics
incomplete
7: Service Metrics
incomplete
8: Custom Metrics
incomplete
9: Custom Visualizations
incomplete
10: Status Code Bars
incomplete
Back
ctrl+,
Next
ctrl+.
This lesson's interactive features are locked, please to keep using them
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.
Add a new bar chart panel grouped by status code.
sum(increase(http_requests_total[$__range])) by (status)
Run and submit the CLI tests from the root of the Linko repo.