-
Notifications
You must be signed in to change notification settings - Fork 155
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
fix(otel): Missing addLink
method and Fiber handling
#2849
Conversation
0bc8071
to
5cab424
Compare
Codecov ReportAttention: 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.
|
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 <[email protected]>
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
|
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.
Thanks, looks good :-)
Description
SpanInterface::addLink
was 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,ImmutableSpan
will take a new argument,totalRecordedLinks
if the latter method exists.test_opentelemetry_1
suite (currently:@stable
) will be split into two:@beta
and1.0.*
.Reviewer checklist