This is an example project that allows us to intentionally trigger Logfire alerts. We use these alerts as testing input for Alert Investigator in squash.
- Replace LOGFIRE_TOKEN in
.env.sampleand move it to.env - Run
docker compose watch - Now you can access the frontend in
localhost:5173(see full routes and more info indevelopment.md)
These are useful for triggering alerts.
- Logging in (from web UI), will cause an alert due to
crud.py:37 - Running
docker compose exec backend pytest app/tests/api/routes/test_login.pywill cause an alert, as the test endpoint raises an Exception.