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

Put compile_file hook behind a feature flag, default on #757

Merged
merged 2 commits into from
Feb 24, 2020

Conversation

morrisonlevi
Copy link
Collaborator

@morrisonlevi morrisonlevi commented Feb 14, 2020

Description

Our compile_file hook will delay compiling files a little bit by measuring how long it takes. If those files are prone to SIGBUS then this hook will exacerbate those issues by keeping them open slightly longer.

This flag defaults to on as most customers do not have this issue, but those who do have it can turn it off by setting DD_TRACE_MEASURE_COMPILE_TIME=false in their environment.

Readiness checklist

  • Tests added for this feature/bug.

Reviewer checklist

  • Appropriate labels assigned.
  • Milestone is set.
  • Changelog has been added to the appropriate release draft.

@morrisonlevi morrisonlevi added the 🏆 enhancement A new feature or improvement label Feb 14, 2020
This only tests the high-level part where the metric is set on
the span; it doesn't test the gathering, which is actually what
should be tested.
@SammyK SammyK added this to the 0.41.0 milestone Feb 22, 2020
@morrisonlevi morrisonlevi marked this pull request as ready for review February 24, 2020 15:12
@morrisonlevi morrisonlevi merged commit 066ce09 into master Feb 24, 2020
@morrisonlevi morrisonlevi deleted the levi/build-compile-file branch February 24, 2020 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏆 enhancement A new feature or improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants