julep-ai / julep

Build AI agents and workflows with a simple API. Supabase for AI agents
https://julep.ai
Apache License 2.0
883 stars 69 forks source link

feat: Add prometheus and grafana support #523

Open whiterabbit1983 opened 1 week ago

whiterabbit1983 commented 1 week ago

[!IMPORTANT] Add Prometheus and Grafana support with FastAPI metrics and Docker Compose configurations.

  • Metrics Integration:
    • Add prometheus-fastapi-instrumentator to web.py for FastAPI metrics.
    • Update pyproject.toml to include prometheus-fastapi-instrumentator dependency.
  • Docker Compose:
    • Add prometheus/docker-compose.yml for Prometheus configuration.
    • Add grafana/docker-compose.yml for Grafana configuration.
    • Update root docker-compose.yml to include Prometheus and Grafana services.
  • Traefik Configuration:
    • Update traefik.yml.template to route /grafana to Grafana service.

This description was created by Ellipsis for 124ecc7319b4d2b32075be47b9b5dbe69432a013. It will automatically update as commits are pushed.