Skip to content

Commit

Permalink
temp: Try disabling Datadog Celery instrumentation in stage, edge
Browse files Browse the repository at this point in the history
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 committed Aug 13, 2024
1 parent 25eaeb4 commit 41aefd0
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://github.com/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://github.com/edx/edx-arch-experiments/issues/692
export DD_TRACE_CELERY_ENABLED=false
{% endif %}

{% endif -%}
Expand Down

0 comments on commit 41aefd0

Please sign in to comment.