Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Use v2 of the Datadog Profiler stack. #100

Merged
merged 1 commit into from
Nov 12, 2024
Merged

Conversation

dianakhuang
Copy link
Member

It seems like the newer version might be more efficient, so we should switch to using it.

edx/edx-arch-experiments#749


Make sure that the following steps are done before merging:

  • Have a Site Reliability Engineer review the PR if you don't own all of the services impacted.
  • If you are adding any new default values that need to be overridden when this change goes live, update internal repos and add an entry to the top of the CHANGELOG.
  • Performed the appropriate testing.

It seems like the newer version might be more efficient,
so we should switch to using it.

edx/edx-arch-experiments#749
@@ -29,6 +29,7 @@ export DD_DJANGO_INSTRUMENT_MIDDLEWARE=false
# We want to be able to toggle this on separately from DD in general.
{% if EDXAPP_DATADOG_PROFILING_ENABLE %}
export DD_PROFILING_ENABLED=true
export DD_PROFILING_STACK_V2_ENABLED=true
Copy link
Member

Choose a reason for hiding this comment

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

So it looks like there's DD_PROFILING_STACK_ENABLED which defaults to true, and this one defaults to false. I guess this means that stack collection is a normal part of profiling, and this would change us to a v2 of that stack collection.

@dianakhuang dianakhuang merged commit e56e280 into master Nov 12, 2024
3 checks passed
@dianakhuang dianakhuang deleted the diana/use-v2 branch November 12, 2024 16:07
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