chore(): some optimizations
This commit is contained in:
@@ -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`:
|
||||
|
||||
Reference in New Issue
Block a user