Skip to content

temp: trace celery tasks in dd - #34537

Merged
connorhaugh merged 2 commits into
masterfrom
temp--trace-celery-tasks-in-dd
Apr 18, 2024
Merged

temp: trace celery tasks in dd#34537
connorhaugh merged 2 commits into
masterfrom
temp--trace-celery-tasks-in-dd

Conversation

@connorhaugh

Copy link
Copy Markdown
Contributor

Description

this PR adds the ability for DD to gather traces in celery tasks, something NR does automatically. I know this is DD specific code, but a long-term solution will be coming soon.

Supporting information

edx/edx-arch-experiments#584

Testing instructions

  1. follow https://2u-internal.atlassian.net/wiki/spaces/~840928901/pages/813793298/OpenTelemetry+New+Relic+and+Datadog for devstack setup for DD, but set up the DD agent on CMS as usual
  2. Follow https://2u-internal.atlassian.net/wiki/spaces/ENGAGE/pages/395673715/How+to+configure+Celery+worker+on+LMS+CMS+Devstack to set up celery workers on cms
  3. Export a course
  4. View the export on DD

Deadline

This will be merged ASAP and reverted no later than 4/22. A revert PR will be linked in this PR soon.

@kdmccormick kdmccormick left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good--I hope this gets you the data you need!

Early heads up, I'm not sure how long we'll support temporary 2U-specific commits like this in openedx/edx-platform. Among other benefits, deploying off of a regularly-synced soft fork of edx-platform would free you up to make temp commits without having to run them by us at all.

@connorhaugh
connorhaugh merged commit f866545 into master Apr 18, 2024
@connorhaugh
connorhaugh deleted the temp--trace-celery-tasks-in-dd branch April 18, 2024 17:08
@edx-pipeline-bot

Copy link
Copy Markdown
Contributor

2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production.

@edx-pipeline-bot

Copy link
Copy Markdown
Contributor

2U Release Notice: This PR has been deployed to the edX production environment.

@edx-pipeline-bot

Copy link
Copy Markdown
Contributor

2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production.

@edx-pipeline-bot

Copy link
Copy Markdown
Contributor

2U Release Notice: This PR has been deployed to the edX production environment.

connorhaugh added a commit that referenced this pull request Apr 19, 2024
jsnwesson pushed a commit that referenced this pull request Apr 19, 2024
dianakhuang added a commit that referenced this pull request Apr 22, 2024
dianakhuang added a commit that referenced this pull request Apr 22, 2024
* Revert "Revert "temp: trace celery tasks in dd (#34537)" (#34553)"

This reverts commit a7b4416.

* docs: Update removal date on temporary celery flag.
KyryloKireiev pushed a commit to raccoongang/edx-platform that referenced this pull request Apr 24, 2024
KyryloKireiev pushed a commit to raccoongang/edx-platform that referenced this pull request Apr 24, 2024
KyryloKireiev pushed a commit to raccoongang/edx-platform that referenced this pull request Apr 24, 2024
* Revert "Revert "temp: trace celery tasks in dd (openedx#34537)" (openedx#34553)"

This reverts commit a7b4416.

* docs: Update removal date on temporary celery flag.
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.

4 participants