Skip to content

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
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.

3 participants