fix(otel): Missing addLink method and Fiber handling#2849
Conversation
0bc8071 to
5cab424
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2849 +/- ##
============================================
- Coverage 81.05% 80.94% -0.11%
- Complexity 2517 2526 +9
============================================
Files 146 146
Lines 14654 14680 +26
============================================
+ Hits 11878 11883 +5
- Misses 2776 2797 +21
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 1 file with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
addLink method and Fiber handling
BenchmarksBenchmark execution time: 2024-09-16 08:08:18 Comparing candidate commit e4b186a in PR branch Found 3 performance improvements and 5 performance regressions! Performance is the same for 170 metrics, 0 unstable metrics. scenario:LaravelBench/benchLaravelBaseline-opcache
scenario:PDOBench/benchPDOBaseline
scenario:PDOBench/benchPDOOverheadWithDBM
scenario:SamplingRuleMatchingBench/benchRegexMatching2
scenario:SamplingRuleMatchingBench/benchRegexMatching3
scenario:SamplingRuleMatchingBench/benchRegexMatching4-opcache
scenario:TraceSerializationBench/benchSerializeTrace
scenario:WordPressBench/benchWordPressOverhead
|
|
I'm putting it back to draft. +7-9% performance regression for a simple check is simply too much. I'll try and optimize that a little bit. |
22f0d75 to
1d924b4
Compare
|
@PROFeNoM Feels like the benchmarks are simply flaky. ... But I suppose for that one the micro-optimization is worth it. |
Co-authored-by: Bob Weinand <bob.weinand@datadoghq.com>
41ade00 to
e44f4e4
Compare
Benchmarks [ tracer ]Benchmark execution time: 2024-09-16 13:24:15 Comparing candidate commit e44f4e4 in PR branch Found 2 performance improvements and 4 performance regressions! Performance is the same for 172 metrics, 0 unstable metrics. scenario:ContextPropagationBench/benchInject64Bit
scenario:ContextPropagationBench/benchInject64Bit-opcache
scenario:LogsInjectionBench/benchLogsInfoInjection-opcache
scenario:PDOBench/benchPDOBaseline-opcache
scenario:PDOBench/benchPDOOverhead-opcache
scenario:WordPressBench/benchWordPressOverhead
|
Description
SpanInterface::addLinkwas added with AddSpan::addLink()andMeter::createGauge()open-telemetry/opentelemetry-php#1289 and is included in 1.1+. It is currently missing from our shim. For backward compatibility reasons,ImmutableSpanwill take a new argument,totalRecordedLinksif the latter method exists.test_opentelemetry_1suite (currently:@stable) will be split into two:@betaand1.0.*.Reviewer checklist