FastAPI app monitored by Uptime Kuma.
| Service | URL |
|---|---|
| FastAPI | http://localhost:8000 |
| Uptime Kuma | http://localhost:3001 |
| Prometheus | http://localhost:9090 |
| Grafana | http://localhost:3000 |
| Blackbox Exporter | http://localhost:9115 |
- Copy
.env.exampleto.envand fill in your Jira credentials. - In Uptime Kuma, add a Webhook notification pointing to your Jira bridge, then attach it to the FastAPI monitor.
docker compose up -dTrigger a failure:
curl -X POST http://localhost:8000/api/v1/toggle-errorWait ~60-90 seconds for Uptime Kuma to detect the 503 and fire the webhook. A new ticket should appear in your Jira KAN board.
Restore:
curl -X POST http://localhost:8000/api/v1/toggle-errorWait another ~60-90 seconds. The ticket should be auto-resolved.
Check current error state:
curl http://localhost:8000/api/v1/error-stateUse a Webhook notification type in Uptime Kuma, not JiraServiceManagement. The JSM type targets the Opsgenie alerting API which requires a paid JSM Operations plan.