implement getAll function in TextMap Extract#1570
implement getAll function in TextMap Extract#1570brettmc merged 3 commits intoopen-telemetry:mainfrom
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1570 +/- ##
============================================
+ Coverage 70.89% 70.92% +0.03%
- Complexity 2756 2765 +9
============================================
Files 407 407
Lines 8328 8348 +20
============================================
+ Hits 5904 5921 +17
- Misses 2424 2427 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 17 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
|
Can you think about this part of the spec: https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/context/api-propagators.md#getall
It's usually helpful to check Java's implementation for inspiration :) |
|
Hi @brettmc , would you give me some advice. I'm currently working on adding a This class uses final class SanitizeCombinedHeadersPropagationGetter implements PropagationGetterInterface
{
public function __construct(private readonly PropagationGetterInterface $getter)
{
}
}Would you recommend leaving Or do you have any other suggestions? |
Excellent question. I think the safest way is to continue to accept a |
|
Thanks! I think that makes sense, I’ll do it this way. |
a82fea6 to
9dfb993
Compare
9dfb993 to
e90dd63
Compare
… streamline conditional logic for getter instance check
b4edad8 to
26112d1
Compare
Closes: #1567