chore(): some optimizations

This commit is contained in:
ITQ
2026-02-24 20:24:54 +03:00
parent f56a26836d
commit 8fc6ca5c7d
7 changed files with 26 additions and 7 deletions
+6 -2
View File
@@ -105,10 +105,10 @@ To run the compose configuration, use the following command:
```bash
docker compose -f compose.yaml up
# OR
docker compose -f compose.prod.yaml up
docker compose -f compose.prod.yaml --profile observability up
```
Thats it, project is already preconfigured for running, so no changes before running this are required.
That's it, project is already preconfigured for running, so no changes before running this are required.
## Linting && formatting
@@ -134,6 +134,10 @@ Example run:
System metrics (gc, requests, etc.) and several business metrics (`lotty_decide_requests_total`, `lotty_events_ingested_total`).
### OTEL
You can enable full observability for backend by setting `OTEL_ENABLED=True` in `.env`, also you need to run `compose.prod.yaml` with `observability` profile in order to deploy full observability stack
## Load testing (k6)
Reproducible k6 profile for `POST /api/v1/decide`: