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

fix(reprocessing): Add a lot of metrics and explicitly opt tasks into sentry performance product [INGEST-574] #29716

Merged
merged 1 commit into from
Nov 3, 2021

Conversation

untitaker
Copy link
Member

We have some metrics reported inconsistently reported via statsd and
sentry, I am not sure why they only show up sometimes but let me add
some more with explicit sample rate.

… sentry performance product

We have some metrics reported inconsistently reported via statsd and
sentry, I am not sure why they only show up sometimes but let me add
some more with explicit sample rate.
@untitaker untitaker requested a review from a team November 2, 2021 16:32
@untitaker untitaker changed the title fix(reprocessing): Add a lot of metrics and explicitly opt tasks into sentry performance product fix(reprocessing): Add a lot of metrics and explicitly opt tasks into sentry performance product [INGEST-574] Nov 2, 2021
@@ -514,6 +514,8 @@ def start_group_reprocessing(
referrer="reprocessing2.start_group_reprocessing",
)["data"][0]["times_seen"]

sentry_sdk.set_extra("event_count", event_count)
Copy link
Member

Choose a reason for hiding this comment

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

Is this set_extra limited to the scope of the @instrumented_task? Same question for set_tag below.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes

@untitaker untitaker merged commit 1e4ecb9 into master Nov 3, 2021
@untitaker untitaker deleted the fix/reprocessing-metrics branch November 3, 2021 12:03
@github-actions github-actions bot locked and limited conversation to collaborators Nov 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants