Fork me on GitHub
#pedestal
<
2024-02-21
>
hlship00:02:11

What am I looking at? This is the output from the Jaeger UI for a trace inside Pedestal, when using the Open Telemetry Java agent.

👏 4
❤️ 3
🙌 2
hlship00:02:09

The agent provides the outer-most Span; Pedestal's request-tracing interceptor adds the inner Span; this means we get much better information about the time spent outside of Pedestal.

hlship00:02:08

For example, when streaming a long response, Pedestal will have closed its Span while the response is still sent back down but Jetty is still working on it and I believe that time will be reflected in the outer span, at the end.

hlship00:02:06

Early days yet...

jmv02:02:58

Nice!! Looks much better than the default jetty 8 spans I’m getting. Those are all under GET /** for some reason.

hlship02:02:39

This is with Jetty 11. The agent seems to provide a span named after the method, and the interceptor creates a span named with the method and route path.

jmv02:02:37

Very exciting!

h0bbit15:02:28

Can’t wait to try it out 🙂