Instrument the API
Give an order API the metrics a Prometheus server would scrape: requests by route and status, a latency histogram, and no cardinality explosion.
- Intermediate
- Launch-tested 2026-11-19
How it works
Using the template makes a personal copy of its files. It opens on a machine of your own. The copy is yours to change; it never follows later edits to the template.
Before you start
- Basic Python
- What an HTTP status code is