Skip to main content
Risoluto exposes Prometheus metrics at GET /metrics. This recipe wires up Prometheus + Grafana for dashboards and alerting.

Available metrics

All metrics follow Prometheus naming conventions and include help text in the exposition output.

Setup

1

Create Prometheus config

Create prometheus.yml alongside your docker-compose.yml:
2

Add monitoring services

Create docker-compose.monitoring.yml:
docker-compose.monitoring.yml
3

Start the stack

Verify scraping:
4

Configure Grafana

  1. Open Grafana at http://localhost:3001 (admin / changeme)
  2. Data Sources > Add Prometheus: http://prometheus:9090
  3. Import or build dashboards using the queries below

Grafana dashboard queries

Agent success rate (1h window)

Active polls per minute

HTTP error rate

P95 API latency

Agent runs by outcome (stacked)

Alert rules

Add alert rules to your Prometheus config or a separate rules.yml:
For lightweight monitoring without Prometheus, Risoluto’s built-in Slack notifications cover agent lifecycle events (start, complete, fail, PR delivered). See Notifications for setup.

Scraping from outside Docker

If Risoluto runs directly on the host (not in a container), point Prometheus at host.docker.internal:4000 or your machine’s LAN IP:

What’s Next

Observability

Full observability reference — SSE events, audit logs, and data persistence.

Troubleshooting

Common failure cases and recovery procedures.

Notifications

Configure Slack notifications for agent lifecycle events.
Last modified on April 3, 2026