fix(infra): cap observability containers' memory to protect the e2e browser (refs #123)
CI / frontend (pull_request) Successful in 2m55s
CI / mutation (pull_request) Successful in 6m17s
CI / verify-stack (pull_request) Successful in 5m31s
CI / lint (pull_request) Successful in 1m28s
CI / build (pull_request) Successful in 1m19s
CI / unit (pull_request) Successful in 1m21s
CI / frontend (pull_request) Successful in 2m55s
CI / mutation (pull_request) Successful in 6m17s
CI / verify-stack (pull_request) Successful in 5m31s
CI / lint (pull_request) Successful in 1m28s
CI / build (pull_request) Successful in 1m19s
CI / unit (pull_request) Successful in 1m21s
verify-e2e (registration.spec) timed out on the shared CI runner — locator waits
failing at different steps across attempt/retry, the signature of memory
contention, not a logic bug (this e2e has an OOM history, d5e5fa2). The three
observability containers had no memory bound; cap them (tempo/prometheus 400m,
grafana 512m — generous vs idle) so they can't starve the app stack + the
Playwright chromium. Frees back more headroom than the OTel SDK added.
refs #123
This commit is contained in:
@@ -558,12 +558,16 @@ services:
|
|||||||
context: ./observability/tempo
|
context: ./observability/tempo
|
||||||
image: register-referentie/tempo:dev
|
image: register-referentie/tempo:dev
|
||||||
command: ["-config.file=/etc/tempo.yaml"]
|
command: ["-config.file=/etc/tempo.yaml"]
|
||||||
|
# Cap the backplane's footprint so it can't starve the app stack + the Playwright browser on the
|
||||||
|
# memory-tight CI runner (verify-e2e OOM history, commit d5e5fa2). Generous vs idle (~150M).
|
||||||
|
mem_limit: 400m
|
||||||
networks: [cg]
|
networks: [cg]
|
||||||
|
|
||||||
prometheus:
|
prometheus:
|
||||||
build:
|
build:
|
||||||
context: ./observability/prometheus
|
context: ./observability/prometheus
|
||||||
image: register-referentie/prometheus:dev
|
image: register-referentie/prometheus:dev
|
||||||
|
mem_limit: 400m
|
||||||
ports:
|
ports:
|
||||||
- "9090:9090"
|
- "9090:9090"
|
||||||
networks: [cg]
|
networks: [cg]
|
||||||
@@ -572,6 +576,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: ./observability/grafana
|
context: ./observability/grafana
|
||||||
image: register-referentie/grafana:dev
|
image: register-referentie/grafana:dev
|
||||||
|
mem_limit: 512m
|
||||||
environment:
|
environment:
|
||||||
GF_SECURITY_ADMIN_USER: admin
|
GF_SECURITY_ADMIN_USER: admin
|
||||||
GF_SECURITY_ADMIN_PASSWORD: admin
|
GF_SECURITY_ADMIN_PASSWORD: admin
|
||||||
|
|||||||
Reference in New Issue
Block a user