News for hackers. Stuff that matters.
Re:OpenTelemetry by jeffbee on Wednesday September 23, 2020 @07:29PM (#24573492)
Even 32 bytes is completely over the top for trace ID. Even the 16 bytes in this spec is pretty much just wasted space.
Re:OpenTelemetry by sa46 on Wednesday September 23, 2020 @08:36PM (#24574044)
I think Datadog's trace_id is 64 bits which I thought was a good balance between efficiency and uniqueness. Pretty sure Dapper used 64 bits as well.

I also don't understand the purpose of the 16 bytes for the trace_id in the spec. That's a huge range of numbers. Anyone know the rationale?

Re:OpenTelemetry by tignaj on Wednesday September 23, 2020 @08:43PM (#24574099)
Disclaimer: I work on OpenTelemetry spec.

Many tracing solutions settled on 128bits/16 bytes trace ids. Here is Jaeger's rationale: https://github.com/jaegertracing/jaeger/issues/858

It is also recommended by W3C: https://www.w3.org/TR/trace-context/#trace-id

Re:OpenTelemetry by bitbckt on Wednesday September 23, 2020 @11:51PM (#24575067)
BigBrotherBird (now OpenZipkin... thanks legal, sigh) used 128b trace_ids when we first built it at Twitter. I don’t recall the reasoning, but that’s the first system I know of which chose that size.

Dapper used 64b IDs for span and trace, but being locked inside the Googleplex probably limited its influence on compatibility issues.

My point is that 128b is the common standard now, and that’s all that I really care about - that the standard exists and APM systems conform to it. To that end, I am very pro-otel.

Thanks for your work.

Re:OpenTelemetry by jeffbee on Wednesday September 23, 2020 @10:08PM (#24574617)
Neither Jaeger nor W3C seem to present any justification for 16 byte trace identifiers, just FUD.