Support curl_multi_exec root spans#3419
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #3419 +/- ##
==========================================
- Coverage 61.87% 61.77% -0.10%
==========================================
Files 141 141
Lines 12481 12481
Branches 1630 1630
==========================================
- Hits 7722 7710 -12
- Misses 4038 4051 +13
+ Partials 721 720 -1 see 4 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
Benchmarks [ tracer ]Benchmark execution time: 2025-09-22 15:23:23 Comparing candidate commit d4edc09 in PR branch Found 5 performance improvements and 7 performance regressions! Performance is the same for 181 metrics, 1 unstable metrics. scenario:BM_TeaSapiSpindown
scenario:ComposerTelemetryBench/benchTelemetryParsing-opcache
scenario:EmptyFileBench/benchEmptyFileDdprof-opcache
scenario:MessagePackSerializationBench/benchMessagePackSerialization
scenario:MessagePackSerializationBench/benchMessagePackSerialization-opcache
scenario:SamplingRuleMatchingBench/benchRegexMatching1
scenario:SamplingRuleMatchingBench/benchRegexMatching2
scenario:SamplingRuleMatchingBench/benchRegexMatching3
scenario:SamplingRuleMatchingBench/benchRegexMatching4
scenario:SymfonyBench/benchSymfonyDdprof-opcache
scenario:TraceAnnotationsBench/benchTraceAnnotationOverhead-opcache
scenario:TraceSerializationBench/benchSerializeTrace
|
9555c72 to
f8988cb
Compare
Instead of updating the duration of the first invocation, close the span upon the final invocation.
f8988cb to
3d74ec2
Compare
3d74ec2 to
d4edc09
Compare
| $span->meta[Tag::COMPONENT] = self::NAME; | ||
| $span->peerServiceSources = HttpClientIntegrationHelper::PEER_SERVICE_SOURCES; | ||
|
|
||
| \DDTrace\collect_code_origins(1); |
There was a problem hiding this comment.
Code origins weren't enabled for this span before, right? Should we call this out in the title/description?
There was a problem hiding this comment.
They were. Code origins are enabled for spans started via $hook->span(), but not start_span(), so we need to do it manually.
Co-authored-by: Alexandre Rulleau <[email protected]>
Instead of updating the duration of the first invocation, close the span upon the final invocation.