add optional getAll method to propagation api #1458
Labels
breaking
A breaking change
enhancement
New feature or request
help wanted
This issue is looking for someone to work on it
Implement open-telemetry/opentelemetry-specification#4295 which was added to spec 1.40.0:
The spec further suggests that the implementation should be non-breaking if possible. Java adds an
ExtendedPropagationGetterInterface
which can optionally be implemented by propagators.edit:
It looks like
getAll
is designed to handle repeated headers, and specifically calls out thatbaggage
could appear multiple times in an HTTP request. However, RFC-2730 s3.3.2 says that:nyholm/psr7 certainly merges the headers per RFC: https://github.com/Nyholm/psr7/blob/1.8.2/tests/RequestTest.php#L186
Based on that, I think that there is nothing to do here since our implementation already meets the objectives of
getAll
.The text was updated successfully, but these errors were encountered: