Remix.run Logo
PunchyHamster 2 days ago

dtrace was meant for entirely different use, and it's not a replacement for otel

Otel was made to basically track the request execution (and anything that request triggers) across multiple apps at once, not to instrument an app to find slow points

nothrabannosir 2 days ago | parent | next [-]

To OP’s credit though the latter is exactly what every single piece of otel documentation pushes you to do. Using only the manual spans api is an exercise in api docs spelunking and ignoring “suggested best practices” and “only do this if everything else has failed for you”.

kchoudhu 2 days ago | parent | prev [-]

We should be using USDTs to emit trace ids that can be consumed by dtrace and shoved into whatever backend we want for tracing.

masterj 2 days ago | parent | next [-]

Why don’t you try that, convert the output to OTLP and then write about it?

ok_dad 2 days ago | parent | prev [-]

What’s a USDT? All I can find on Google is crypto garbage.

tofflos 2 days ago | parent [-]

https://illumos.org/books/dtrace/chp-usdt.html#chp-usdt