Loading video player...
You canโt improve what you donโt measure. ๐ In Day 64, we stop flying blind. We are integrating Prometheus into our Flight Booking Engine to track real-time metrics like request latency, error rates, and memory usage. We aren't just installing a library; we are building a pull-based monitoring system. Instead of the app pushing data out, we configure Prometheus to "scrape" our FastAPI container every 15 seconds. ๐ก In this live build: Instrumentation: Using prometheus-fastapi-instrumentator to automatically track every HTTP request. The /metrics Endpoint: Exposing internal app data in a format Prometheus understands. Prometheus Config: Writing the Prometheus. yml to define scrape intervals and targets. Docker Networking: Wiring Prometheus to talk to fastapi-app inside the container network. Visualization: Verifying the data stream in the Prometheus UI. By the end, youโll see exactly how your API performs under the hood. ๐ Watch the full playlist: ๐ https://www.youtube.com/playlist?list=PLdtwawCR2QjmdfhM-7SzDOVGop373bbgW ๐ GitHub Repo (Public Mirror): ๐ https://github.com/KNehe/aero_bound_ventures-public.git ๐ฅ Subscribe to master production engineering with FastAPI. #FastAPI #Prometheus #DevOps #Monitoring #Docker #Python #SRE