Skip to content

Refactored the Celery Beat integration.#3105

Merged
sentrivana merged 6 commits intomasterfrom
antonpirker/fix-celery-beat-trace-propagation
Jun 3, 2024
Merged

Refactored the Celery Beat integration.#3105
sentrivana merged 6 commits intomasterfrom
antonpirker/fix-celery-beat-trace-propagation

Conversation

@antonpirker
Copy link
Copy Markdown
Contributor

@antonpirker antonpirker commented May 27, 2024

Making it:

  • to be less error prone
  • correctly propagate trace information to Celery tasks started by Celery beat.

Small docs update to make it clear how trace propagation in Celery works:
getsentry/sentry-docs#10161

@antonpirker antonpirker marked this pull request as draft May 27, 2024 14:31
@antonpirker antonpirker requested a review from sentrivana May 28, 2024 15:21
@antonpirker antonpirker marked this pull request as ready for review May 28, 2024 15:21
Copy link
Copy Markdown
Contributor

@sentrivana sentrivana left a comment

Choose a reason for hiding this comment

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

LGTM. Awesome dedup of the scheduler code too 👍🏻

@sentrivana sentrivana enabled auto-merge (squash) June 3, 2024 09:39
@sentrivana sentrivana merged commit c80cad1 into master Jun 3, 2024
@sentrivana sentrivana deleted the antonpirker/fix-celery-beat-trace-propagation branch June 3, 2024 09:45
szokeasaurusrex added a commit that referenced this pull request Jun 7, 2024
szokeasaurusrex added a commit that referenced this pull request Jun 7, 2024
This reverts commit c80cad1, which appears to have introduced a regression preventing checkins from being sent when a cron job is finished.
antonpirker added a commit that referenced this pull request Jun 17, 2024
antonpirker added a commit that referenced this pull request Jun 18, 2024
This reverts the revert that was done to mitigate the regression error with Crons not being sending ok/error checkins. This reapplies the refactoring and also fixes the root cause of the regression and also adds integration tests to make sure it does not happen again.
sentrivana pushed a commit that referenced this pull request Jun 19, 2024
This reverts the revert that was done to mitigate the regression error with Crons not being sending ok/error checkins. This reapplies the refactoring and also fixes the root cause of the regression and also adds integration tests to make sure it does not happen again.
arjennienhuis pushed a commit to arjennienhuis/sentry-python that referenced this pull request Sep 30, 2024
arjennienhuis pushed a commit to arjennienhuis/sentry-python that referenced this pull request Sep 30, 2024
…ntry#3144)

This reverts commit c80cad1, which appears to have introduced a regression preventing checkins from being sent when a cron job is finished.
arjennienhuis pushed a commit to arjennienhuis/sentry-python that referenced this pull request Sep 30, 2024
…entry#3144) (getsentry#3175)

This reverts the revert that was done to mitigate the regression error with Crons not being sending ok/error checkins. This reapplies the refactoring and also fixes the root cause of the regression and also adds integration tests to make sure it does not happen again.
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