Needed Advice for fixing a TODO #7469
Replies: 2 comments 2 replies
-
The established pattern in Jaeger adjusters is to never return errors or break processing pipelines for data anomalies like duplicate span IDs. Instead, any issues are logged by appending descriptive warnings to the affected span's To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
I do not see any negative side effects to the behavior of this adjuster if more than two spans with the same ID are found. The TODO may can be deleted. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
file
cmd/query/app/querysvc/internal/adjuster/zipkin_span_id_uniquify.go
has afunc (d *spanIDDeduper) groupSpansByID()
which groups spans with the same ID returning a mapthat func has todo which needs to be fixed
Todo has a requirement that if we find more than 2 spans with same span id we could return an error but returning an error would be okay (breaking existing pipelines) or we should log a warning instead?
Beta Was this translation helpful? Give feedback.
All reactions