kspan icon indicating copy to clipboard operation
kspan copied to clipboard

incompatibility with AWS XRay (via OpenTelemetry collector)

Open errordeveloper opened this issue 2 years ago • 4 comments

I just thought it might be useful for folks to be know that the kspan trace IDs are currently not compatible with AWS XRay: https://github.com/open-telemetry/opentelemetry-collector-contrib/discussions/5257#discussioncomment-1343360

errordeveloper avatar Sep 16 '21 17:09 errordeveloper

Thanks for the report. Shouldn’t that be filed as an XRay incompatibility with OpenTelemetry?

bboreham avatar Sep 16 '21 18:09 bboreham

It is feasible to change the scheme kspan uses, at the cost of losing trace continuity across a restart of kspan. Or add some persistence mechanism to cover the restart.

bboreham avatar Sep 16 '21 18:09 bboreham

Thanks for the report. Shouldn’t that be filed as an XRay incompatibility with OpenTelemetry?

I updated the title.

errordeveloper avatar Sep 16 '21 18:09 errordeveloper

It is feasible to change the scheme kspan uses, at the cost of losing trace continuity across a restart of kspan. Or add some persistence mechanism to cover the restart.

Yes, it's neat to have restart persistence by the virtue of consistent hashing. Maybe someone could think of this as a separate mode. By the way, very similar use timestamps seems to be mandated by the W3C spec also...

errordeveloper avatar Sep 16 '21 18:09 errordeveloper