Skip to content

Example for otel.SetTextMapPropagator #6571

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

Closed
pellared opened this issue Mar 28, 2025 · 1 comment · Fixed by #6579
Closed

Example for otel.SetTextMapPropagator #6571

pellared opened this issue Mar 28, 2025 · 1 comment · Fixed by #6579
Assignees
Labels
area:propagators Part of OpenTelemetry context propagation contribfest Issue good for KubeCon contribfest good first issue Good for newcomers
Milestone

Comments

@pellared
Copy link
Member

Add a testable example for https://pkg.go.dev/go.opentelemetry.io/otel#SetTextMapPropagator

The following code has a good usage example: https://opentelemetry.io/docs/languages/go/getting-started/#initialize-the-opentelemetry-sdk.

@pellared pellared added area:propagators Part of OpenTelemetry context propagation contribfest Issue good for KubeCon contribfest good first issue Good for newcomers labels Mar 28, 2025
@MassoniMacaroni
Copy link
Contributor

MassoniMacaroni commented Mar 29, 2025

Hey @pellared can I work on this one?

I've drafted an initial PR, if it needs more detail or anything else let me know.
#6579

dmathieu added a commit that referenced this issue Apr 1, 2025
Example demonstrating how to use `SetTextMapPropagator` with a composite
propagator

Related Issue: Closes #6571

Co-authored-by: Damien Mathieu <[email protected]>
@MrAlias MrAlias added this to the v1.36.0 milestone Apr 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:propagators Part of OpenTelemetry context propagation contribfest Issue good for KubeCon contribfest good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants