📈Prometheus
Also known as Prometheus Monitoring, PromQL, Prometheus Server
A free tool that reads numbers from apps on a timer and keeps them.
Think of it like
It is like a nurse on rounds. Every few seconds, she visits each bed and writes down what she sees.
Example
Jack's Prometheus reads each server every 15 seconds. One query shows the error rate of the whole shop for the last hour.
Why it matters
It is one of the most used tools for metrics. Many apps already offer a page in its format.
Definition
Example code
promql
rate(http_requests_total[5m])Common mistake
Key takeaways
- 1It pulls. It reads each app on a schedule.
- 2Labels on everything. Numbers are split by named tags.
- 3Its own query language. PromQL turns raw counts into rates.