Log Key Events
Track every stage of webhook processing for complete observability.What to Log
Webhook Receipt
Webhook Receipt
Signature Verification
Signature Verification
Processing Start/End
Processing Start/End
Processing Errors
Processing Errors
Critical Metrics
Monitor these metrics and set up alerts:| Metric | What It Measures | Alert Threshold |
|---|---|---|
| Signature verification failures | Invalid or spoofed requests | > 5 in 5 minutes |
| Processing error rate | Code or infrastructure issues | > 5% of events |
| Queue depth | Processing backlog | > 1000 messages |
| Response time | Endpoint performance | > 10 seconds (approaching 15s timeout) |
| Duplicate processing | Idempotency check hits | Track for debugging |
| VEHICLE_ERROR rate | Signal retrieval issues | > 10% of vehicles |

