Skip to content

NH-104520 Update SwPropagator class; redesign propagator config#687

Merged
tammy-baylis-swi merged 9 commits intomainfrom
NH-104520-redesign-propagator-config
Sep 8, 2025
Merged

NH-104520 Update SwPropagator class; redesign propagator config#687
tammy-baylis-swi merged 9 commits intomainfrom
NH-104520-redesign-propagator-config

Conversation

@tammy-baylis-swi
Copy link
Copy Markdown
Contributor

@tammy-baylis-swi tammy-baylis-swi commented Sep 4, 2025

Simplifies the defaults and configuration requirements for OTEL_PROPAGATORS.

New default: solarwinds_propagator,baggage.

The only required propagator is solarwinds_propagator.

tracecontext is no longer needed and not recommended anymore, as it will repeat what new solarwinds_propagator will do and introduce context conflicts. The library will log an error and agent will be disabled is users have set tracecontext in OTEL_PROPAGATOR env var.

The order of propagators no longer matters. baggage (still optional) doesn't have to be before solarwinds_propagator. The latter has not manipulated baggage since 4.0.0 release.

@tammy-baylis-swi tammy-baylis-swi marked this pull request as ready for review September 4, 2025 19:06
@tammy-baylis-swi tammy-baylis-swi requested a review from a team as a code owner September 4, 2025 19:06
Copy link
Copy Markdown
Contributor

@cheempz cheempz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the revisit!

@tammy-baylis-swi tammy-baylis-swi merged commit 1e3dbde into main Sep 8, 2025
64 checks passed
@tammy-baylis-swi tammy-baylis-swi deleted the NH-104520-redesign-propagator-config branch September 8, 2025 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants