From d54ea2ba4156825f93eba9ada24036b0e0d3a7ec Mon Sep 17 00:00:00 2001 From: Movses Aslanyan Date: Sat, 24 Oct 2026 22:21:29 +0330 Subject: [PATCH] Revert "Label the transaction counter with account_id (cardinality experiment)" This reverts commit a1f1d80. Phase 5 step 4 is done: the burst minted 68 series across 60 account_id values. Co-Authored-By: Claude Opus 5.5 --- services/gateway/app.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/services/gateway/app.py b/services/gateway/app.py index ea0d520..2f7f1a4 100644 --- a/services/gateway/app.py +++ b/services/gateway/app.py @@ -155,11 +155,7 @@ async def submit_transaction(body: TransactionRequest): finally: transaction_duration.record(time.perf_counter() - start, {"kind": body.kind}) currency = body.currency if body.currency in KNOWN_CURRENCIES else "other" - # Phase 5 step 4: deliberate cardinality explosion. Revert after the experiment. - transactions_total.add( - 1, - {"kind": body.kind, "status": status, "currency": currency, "account_id": body.account_id}, - ) + transactions_total.add(1, {"kind": body.kind, "status": status, "currency": currency}) return JSONResponse(status_code=201, content={**result, "request_id": request_id})