Monitoring
Frona AI exposes a Prometheus-compatible metrics endpoint for monitoring your deployment.
Metrics endpoint
Section titled “Metrics endpoint”The engine exposes metrics at:
GET /api/metricsThis returns metrics in Prometheus exposition format, ready to be scraped by Prometheus, Grafana Agent, or any compatible collector.
Available metrics
Section titled “Available metrics”The metrics endpoint provides standard application metrics including:
- HTTP request counts and latencies
- Active connections and sessions
- Task execution counts and durations
- Error rates
Setting up Prometheus
Section titled “Setting up Prometheus”Add the Frona engine as a scrape target in your Prometheus configuration:
scrape_configs: - job_name: 'frona' scrape_interval: 15s static_configs: - targets: ['frona-engine:3001'] metrics_path: '/api/metrics'Docker health checks
Section titled “Docker health checks”Monitor container health with Docker’s built-in health check status:
docker compose psLog monitoring
Section titled “Log monitoring”The engine outputs structured logs to stdout. In Docker Compose, view them with:
# All servicesdocker compose logs -f
# Just the enginedocker compose logs -f frona
# Last 100 linesdocker compose logs --tail 100 fronaFor production, consider forwarding logs to a centralized logging system (ELK, Loki, etc.) using a Docker logging driver.
Key things to watch
Section titled “Key things to watch”- Engine health: is the container running and responding to requests?
- Browserless sessions: are sessions being created and cleaned up properly?
- Disk usage: the database and browser profiles grow over time
- Memory usage: especially when many browser sessions are active
- LLM API errors: provider outages or rate limits affect agent responses