Files
ovirt-api-simulator/docs/observability.md
T
inecs cbd0adca91 Initial release of the oVirt/RHV Engine API simulator.
Stateful FastAPI lab with contract packs, Compose/Helm, Docker Hub release
targets, and Pulumi coverage across all Engine series (GET/POST/PUT/DELETE/HEAD).
2026-07-18 04:49:28 +03:00

991 B

Language / Язык: English | Русский

Observability

Health endpoints

Path Meaning
/health/live Process is running
/health/ready DB reachable + migrations applied

Both are exposed on the simulator and via the Compose gateway (either published port).

curl -skf https://127.0.0.1/health/ready
curl -sf http://127.0.0.1:5000/health/live

Request IDs

Header X-Request-ID (configurable via REQUEST_ID_HEADER) is accepted and echoed where middleware applies.

Logs

Compose:

make logs
docker compose logs -f simulator api-gateway

Helm (chart labels use app: ovirt-api-simulator):

kubectl -n ovirt-sim logs -l app=ovirt-api-simulator -f
kubectl -n ovirt-sim logs -l app=ovirt-api-simulator-postgresql -f

Coverage evidence

  • Pack coverage: api_coverage.md
  • Evidence JSON under evidence/ovirt-*.json
  • pytest: tests/ovirt/