Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- add [Prometheus](https://github.com/prometheus/prometheus) & [Grafana](https://github.com/grafana/grafana) for custom metrics and visualization (/metrics endpoints and anything else we might want to add). - add [netdata](https://github.com/netdata/netdata) for infrastructure monitoring and alerts (redis, postgres, containers, also prometheus metrics too etc) - configure netdata to collect postgress, redis, and container metrics. - configure Prometheus to scrape itself, backend, and inference-server. - optional env var of `NETDATA_CLAIM_TOKEN` to claim to [netdata cloud](https://www.netdata.cloud/) - makes it easier to work with infra and alerts to discord etc. I work there so am pretty sure can get us a free sponsored space that might be useful. Not trying to sell here or anything, just that it's a potential useful overlap given i work there :) . - add initial sort of dummy fastapi custom dashboard in `docker/grafana/dashboards`. Idea is we can save dashboards as code in there (**NOTE**: needs much more work - anyone can add/improve dashboards as follow on PR's, my promql skills not great). - add observability tools to `observability` docker compose profile (**NOTE**: not sure what best approach is here, would need some input from other more familiar with the docker set up). - add Grafana on port 2000 instead of 3000 since app itself on 3000. - add some README.md under each `/docker` folder.
- Loading branch information