This repository handles the containerized local development stack and the cross-platform monitoring ecosystem for the BokehTV project.
BokehTV relies on Docker Compose to orchestrate local development tools.
postgresβ Relational storage for the Express API.redisβ High-performance cache-aside for TMDB search results.prometheusβ Scrapes real-time metrics (latency, error rates) from the backend.grafanaβ Visual dashboard with pre-configured observability for "BokehTV Core Metrics".
The backend exposes metrics via express-prom-bundle. These are automatically scraped by the local Prometheus instance defined in prometheus/prometheus.yml.
Grafana is pre-baked with data sources and a "BokehTV Core Dashboard" that visualizes:
- API Latency (95th & 99th percentile)
- 4xx/5xx Error Rates
- Watchlist Operation Volume
- Redis Cache Hit/Miss ratios
docker-compose up -d- Grafana: Available at
http://localhost:3001(Default:admin/admin). - Prometheus: Available at
http://localhost:9090.
We employ a Hybrid Strategy. Prometheus/Grafana run locally under Docker and can scrape either:
- Local Backend: Default dev setup.
- Production Backend: Point Prometheus to your live Railway instance to monitor production traffic from a local dashboard.
MIT