Webhook Retries in the Metric
Operations needs to know how many different orders received events in webhook_events. Retries for the same order_id must not inflate the metric. Fix the report so it returns one value, n, for the number of unique orders.
Buggy query
SELECT COUNT(*) AS n FROM webhook_events;
Ukážka očakávaného výstupu
Takto vyzerá správna odpoveď — počet riadkov je jej vlastný, nemusí sa zhodovať s tabuľkami schémy.
| n |
|---|
| 2 |
Prihláste sa, aby ste videli históriu odoslaní
Prihlásiť saPrihláste sa, aby ste mohli používať AI mentora
Prihlásiť sa