diff --git a/asap-quickstart/docker-compose-precompute.yml b/asap-quickstart/docker-compose-precompute.yml index e0353ada..3d9a020c 100644 --- a/asap-quickstart/docker-compose-precompute.yml +++ b/asap-quickstart/docker-compose-precompute.yml @@ -128,6 +128,12 @@ services: - "--query-language=PROMQL" - "--lock-strategy=per-key" - "--forward-unsupported-queries" + # §5/§10 sketch-DB lifecycle. Without --enable-schema-eviction, + # Expired schemas stay resident forever and their data never + # gets dropped from the store; the 60s poll is tuned for demo + # visibility, not production — tune up for real deployments. + - "--enable-schema-eviction" + - "--schema-eviction-poll-secs=60" healthcheck: test: ["CMD-SHELL", "bash -c 'echo > /dev/tcp/localhost/8088' 2>/dev/null || exit 1"] interval: 10s