Skip to content

feat: change dlq writes from log to counter metric#526

Open
kylemumma wants to merge 3 commits intomainfrom
krm/rem-dlq-log
Open

feat: change dlq writes from log to counter metric#526
kylemumma wants to merge 3 commits intomainfrom
krm/rem-dlq-log

Conversation

@kylemumma
Copy link
Member

@kylemumma kylemumma commented Mar 10, 2026

currently every message sent to the dlq gets a log. since we are planning to use the snuba-items dlq for a backlog queue, we will have high volume of writes to the dlq so we cant log them all, will use counter instead.

@kylemumma kylemumma requested review from a team as code owners March 10, 2026 20:26
cursor[bot]

This comment was marked as resolved.

Copy link
Member

@volokluev volokluev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a metric emitted when something is DLQ'd?

@kylemumma kylemumma changed the title feat: remove logging from the standard dlq log feat: change dlq writes from log to counter metric Mar 10, 2026
@kylemumma
Copy link
Member Author

Good catch. There was no existing metric so I replaced the log with a counter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants