BM: Baca dalam Bahasa Melayu
World K5: Lunch Rush
Prometheus, Grafana and OpenTelemetry
You will learn: how numbers over time, charts and traces show what happened last Tuesday.
Checked with Kubernetes 1.37 on 31 Oct 2026
The problem
Last Tuesday at 12:30 the shop was slow. kubectl top only shows right now. How do you see last Tuesday?
Pick one answer.
Watch
Prometheus: A clerk who visits every stall on a timer and writes the numbers down, with the time. is a clerk with a clipboard. It visits every stall on a timer and writes the numbers down, with the time. Put its rounds in order.
First step at the top. Put these in order. Use the arrows, or drag.
- It stores each number with its time
- A chart or an alert shows the answer
- Prometheus visits (scrapes) /metrics on a timer
- Your app shows its numbers at /metrics
- You ask questions in PromQL
Watch
Grafana: The big screen on the wall: charts and dashboards from your numbers. is the big screen on the wall. It draws charts from numbers that tools like Prometheus keep. Who does what?
Drag a card into a box. Or tap the card, then tap the box.
Check
A trace: One order's whole journey, step by step, with how long each step took. follows one order’s whole journey. It times each step. Here is order 42:
gateway 2 ms
web 12 ms
api 30 ms
db 900 msWhere is the slow part?
Pick one answer.
Watch
Metrics, logs and traces are three kinds of clues. OpenTelemetry (OTel): One shared way to collect metrics, logs and traces, so you can switch tools later. (OTel) is one shared way to collect all three. Sort each clue.
Drag a card into a box. Or tap the card, then tap the box.
Check
Good habit, or needs work?
Swipe right for good, left for needs work. Or use the buttons.
Add OTel to the app once. Send its data to the tool you choose.
You did it!
You can now explain metrics, logs and traces, and who keeps them.
Go deeper (optional)
Many teams install Prometheus and Grafana together with a Helm chart. Kubernetes parts show their own /metrics too. An OTel Collector can receive, change and send on all three signals. Real rep (optional): try a ready lab on Killercoda. Or use a throwaway kind cluster.
Bahasa Melayu
Selasa lepas pukul 12:30, kedai jadi lambat. kubectl top cuma tunjuk keadaan sekarang. Macam mana nak lihat Selasa lepas?
Prometheus ialah kerani dengan papan klip. Ia lawat setiap gerai ikut jadual dan catat nombor, bersama masanya. Susun rondaannya.
Grafana ialah skrin besar di dinding. Ia lukis carta daripada nombor yang disimpan alat seperti Prometheus. Siapa buat apa?
Trace ikut seluruh perjalanan satu pesanan. Ia ukur masa setiap langkah. Ini pesanan 42:
gateway 2 ms
web 12 ms
api 30 ms
db 900 msDi mana bahagian yang lambat?
Metrik, log dan trace ialah tiga jenis petunjuk. OpenTelemetry (OTel) ialah satu cara bersama untuk kumpul ketiga-tiganya. Asingkan setiap petunjuk.
Tabiat baik, atau perlu diperbaiki?
Kini anda boleh terangkan metrik, log dan trace, dan siapa yang simpannya.
You finished this before. Practice is always welcome!
Official docs: Prometheus: overview · Grafana documentation · OpenTelemetry: what is it? · Kubernetes: system metrics
You've learned for 25 minutes. A short break helps your brain.
Sprint done! Great focus. Stretch for a minute?