Files
mtusi2026lab7/faults/README.md
T
vika baafe2a3ae Добавить стенд лабораторной 7 с mTLS, OpenBao и least privilege worker.
Закрывает обязательный минимум и трек 1: ротация leaf и секрета, sealed OpenBao и сохранность queued-задачи.
2026-11-07 20:46:02 +03:00

12 lines
638 B
Markdown

Local fault-injection files. They are not present by default, so the API behaves normally.
Write one of these names in this directory while the stack is running:
- `http_error_ratio` — float 0..1, fraction of `/api/` requests that return 500
- `db_slow_ms` — delay added inside the `db.transaction` span
- `db_fail` — `1` makes database calls return 503
- `handler_slow_ms` — delay inside the HTTP server span and outside the database span
- `process_fail_remaining` — positive integer, worker fails that many processing attempts once each
Do not put secrets here. The worker must be able to update `process_fail_remaining`.