-
Notifications
You must be signed in to change notification settings - Fork 306
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
PROF-9791: Recognize DD_PROFILING_ENABLED=auto as an alternative for SSI profiling #4375
Conversation
Overall package sizeSelf size: 6.62 MB Dependency sizes
🤖 This report was automatically generated by heaviest-objects-in-the-universe |
BenchmarksBenchmark execution time: 2024-06-05 11:38:25 Comparing candidate commit f07fee9 in PR branch Found 1 performance improvements and 0 performance regressions! Performance is the same for 261 metrics, 4 unstable metrics. scenario:plugin-graphql-with-depth-off-18
|
…_ENABLED=profiler
b4c54ff
to
c5d4970
Compare
this._setBoolean(env, 'profiling.ssi', true) | ||
if (DD_INJECTION_ENABLED.split(',').includes('profiler')) { | ||
if (DD_PROFILING_ENABLED === 'auto' || DD_INJECTION_ENABLED.split(',').includes('profiler')) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it profiler
or profiling
that must be present in DD_INJECTION_ENABLED
?
There is a profiling
here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is 'profiler'. 'profiling' was a bug on my part. I can quickly fix it in this PR.
…eady established env properties.
…SSI profiling (#4375) * Recognize DD_PROFILING_ENABLED=auto as an alternative to DD_INJECTION_ENABLED=profiler * Fix incorrect use of 'profiling' in DD_INJECTION_ENABLED, rely on already established env properties.
…SSI profiling (#4375) * Recognize DD_PROFILING_ENABLED=auto as an alternative to DD_INJECTION_ENABLED=profiler * Fix incorrect use of 'profiling' in DD_INJECTION_ENABLED, rely on already established env properties.
…SSI profiling (#4375) * Recognize DD_PROFILING_ENABLED=auto as an alternative to DD_INJECTION_ENABLED=profiler * Fix incorrect use of 'profiling' in DD_INJECTION_ENABLED, rely on already established env properties.
…SSI profiling (#4375) * Recognize DD_PROFILING_ENABLED=auto as an alternative to DD_INJECTION_ENABLED=profiler * Fix incorrect use of 'profiling' in DD_INJECTION_ENABLED, rely on already established env properties.
What does this PR do?
Library recognizes
DD_PROFILING_ENABLED=auto
as an alternative forDD_INJECTION_ENABLED=profiler
.Motivation
This will allow us to add
DD_PROFILING_ENABLED=auto
through the agent Linux install script to enable it for testing and private beta users. This is meant to be used until agent can be properly configured to sendDD_INJECTION_ENABLED=profiler