Summary
When a price alert webhook fails to deliver, the server needs a structured log entry that captures the alert ID, callback URL (masked), failure reason, and current retry count so failures are observable without exposing sensitive data.
Scope
- Emit a structured warning log after each failed delivery attempt with fields:
alert_id, retry_count, error_code, masked_url
- Emit a structured error log when retries are exhausted with the same fields plus
final: true
- Mask the callback URL by keeping only the scheme and host
Acceptance Criteria
Coordinate on Telegram
Summary
When a price alert webhook fails to deliver, the server needs a structured log entry that captures the alert ID, callback URL (masked), failure reason, and current retry count so failures are observable without exposing sensitive data.
Scope
alert_id,retry_count,error_code,masked_urlfinal: trueAcceptance Criteria
final: trueCoordinate on Telegram