Skip to content

Conversation

iunanua
Copy link
Collaborator

@iunanua iunanua commented Jun 12, 2025

What does this PR do?

Update opentelemetry version and implement the Extractor::get_all to support multi-value header extraction.
Also two new methods implemented:

  • get_comma_separated_value_from_extractor to help dealing with the Extractor::get_all result
  • get_single_value_from_extractor to ensure that a key only has one value and return an error in case of more than one value

Motivation

What inspired you to submit this pull request?

Additional Notes

Modifications in Cargo.toml are temporary until new opentelemetry version is released

@iunanua iunanua changed the title multi-value header extraction support feat(propagation): multi-value header extraction support Jun 12, 2025
@iunanua iunanua force-pushed the igor/multi-value-headers branch from bf4a23f to bed756a Compare June 12, 2025 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant