Skip to content

Commit

Permalink
temp: Try disabling Datadog Celery instrumentation in LMS (stage, edg…
Browse files Browse the repository at this point in the history
…e) (#62)

DD support observed that in several of the anomalous traces, the request
span's parent span was missing -- but that the missing span's ID showed up
in logs as something celery-related.
  • Loading branch information
timmc-edx authored Aug 13, 2024
1 parent 25eaeb4 commit eaf6836
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions playbooks/roles/edxapp/templates/edx/app/edxapp/lms.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ export DD_DJANGO_INSTRUMENT_MIDDLEWARE=false
# when it doesn't attempt to extract any headers.
# See https:/edx/edx-arch-experiments/issues/692
export DD_TRACE_PROPAGATION_STYLE_EXTRACT=none

# Temporary 2024-08-13: Check if celery instrumentation is causing
# missing spans that might lead to anomalous traces.
# https:/edx/edx-arch-experiments/issues/692
export DD_TRACE_CELERY_ENABLED=false
{% endif %}

{% endif -%}
Expand Down

0 comments on commit eaf6836

Please sign in to comment.