From the course: DevOps Foundations: Distributed Tracing

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Seeing the app trace in the Jaeger UI

Seeing the app trace in the Jaeger UI

From the course: DevOps Foundations: Distributed Tracing

Start my 1-month free trial

Seeing the app trace in the Jaeger UI

- [Instructor] Okay, I'm in my application project directory. So I'm going to run a quick Maven command to start the Jetty instance. Run, we're starting our backend. Okay, our backend service is running. Now import my thousand. Next I'm going to generate a quick request to our apij service which will generate a trace. And this will bring localhost port 9000, and I'm calling the apij service, and I'm going to pass a username parameter as a header. Now this should of generated a trace in Jaeger, so next I'm going to go and take a look at the Jaeger UI and see what a trace looks like. 'kay, I'm in the Jaeger UI. So here I will just refresh. Notice that it discovered that two services running. I'll pick our demo app. Run a search, and here's a trace. Open it up, and just like we defined in our code, you're going to see two spans. The root span apij, and then the long running taken in app span.

Contents