Skip to content

Add structured log for price alert webhook delivery failure with retry count #431

Description

@Chucks1093

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

  • Warning log emitted on each failed attempt with correct fields
  • Error log emitted on exhaustion with final: true
  • Callback URL is masked in all log output

Coordinate on Telegram

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial CampaignCampaign: Official Campaign

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions