Skip to content

Conversation

AlexanderYastrebov
Copy link
Member

Updates #3663

@AlexanderYastrebov AlexanderYastrebov added major moderate risk, for example new API, small filter changes that have no risk like refactoring or logs tracing tracing or opentracing related issue labels Oct 15, 2025
otel/otel.go Outdated
}

func init() {
autoprop.RegisterTextMapPropagator("xxray", xxray.NewPropagatorGenerator())
Copy link
Member Author

Choose a reason for hiding this comment

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

We can also add a config field e.g .PropagatorXRayReuseTraceID instead of a new name and create custom implementation if it is set.

}
value := part[equalsIndex+1:]
switch {
case strings.HasPrefix(part, traceIDKey):
Copy link
Member Author

@AlexanderYastrebov AlexanderYastrebov Oct 15, 2025

Choose a reason for hiding this comment

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

This is ugly and also allows RootFooBar=123 key 🤷 . Parsing should be done via strings.Cut or similar to #3405

@universam1
Copy link
Contributor

@@ -0,0 +1,159 @@
package xxray
Copy link
Member

Choose a reason for hiding this comment

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

Why not xray?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

major moderate risk, for example new API, small filter changes that have no risk like refactoring or logs tracing tracing or opentracing related issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants