Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(sentry apps): Add more context to sort through send webhook logs #87795

Merged
merged 2 commits into from
Mar 25, 2025

Conversation

Christinarlong
Copy link
Contributor

Currently our logs for orgs that are sending bad webhooks is hard to aggregate with. I'm investigating if there are outlier orgs that are spamming bad webhooks causing the queue to backlog. Adding some fields here so I can aggregate the logs better

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Mar 24, 2025
@Christinarlong Christinarlong marked this pull request as ready for review March 24, 2025 21:02
{
"org_id": org_id,
"sentry_app_slug": sentry_app.slug,
"url": url or "",
Copy link
Member

Choose a reason for hiding this comment

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

i think it's ok if url is None or falsey for whatever reason

Copy link
Contributor Author

Choose a reason for hiding this comment

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

;-; this addition was per mypy's insistence that extras can only take int | str

Copy link
Member

Choose a reason for hiding this comment

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

weirdge

@Christinarlong Christinarlong merged commit 26b15b6 into master Mar 25, 2025
48 checks passed
@Christinarlong Christinarlong deleted the crl/add-more-context-to-bad-webhooks branch March 25, 2025 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants