-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Exporter/Datadog: improve trace exporter performance #1706
Exporter/Datadog: improve trace exporter performance #1706
Conversation
The sublayer calculator is reset every time stats are computed so there is no need to use one per trace. We still use one per `push` call since it is not thread safe
Codecov Report
@@ Coverage Diff @@
## master #1706 +/- ##
==========================================
- Coverage 89.54% 89.53% -0.01%
==========================================
Files 373 373
Lines 18233 18229 -4
==========================================
- Hits 16326 16321 -5
- Misses 1417 1418 +1
Partials 490 490
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
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.
Approving on behalf of Datadog
…tor-contrib@fabde15 This is to incorporate the changes in open-telemetry/opentelemetry-collector-contrib#1706 and open-telemetry/opentelemetry-collector-contrib#1707 All dependencies need to be updated because open-telemetry/opentelemetry-collector-contrib#1702 introduces breaking changes
…tor-contrib@fabde15 (#190) This is to incorporate the changes in open-telemetry/opentelemetry-collector-contrib#1706 and open-telemetry/opentelemetry-collector-contrib#1707 All dependencies need to be updated because open-telemetry/opentelemetry-collector-contrib#1702 introduces breaking changes
This is necessary to prevent circular package dependency that can arise when we need to hide certain pdata functions in the internal package in a commit that is coming soon in open-telemetry/opentelemetry-collector#1703 Co-authored-by: Tigran Najaryan <4194920+tigrannajaryan@users.noreply.github.com>
The makeSamplingDecision function is a wrapper around the provider sampler calling ShouldSample with a duplicate configuration struct. That duplication and need for translation as well as the addition function call is unnecessary, this function is called in only one place. Resolves #1706
…tor-contrib@fabde15 (#190) This is to incorporate the changes in open-telemetry/opentelemetry-collector-contrib#1706 and open-telemetry/opentelemetry-collector-contrib#1707 All dependencies need to be updated because open-telemetry/opentelemetry-collector-contrib#1702 introduces breaking changes
Description:
The cpu and memory usage of the tracer under heavy load is higher than where we'd like it to be, after investigating some profiles we found some areas where we could improve performance by re-using some components for generating statistics and improving trace translation logic
Testing:
Updated Unit tests