advancedDistributed Tracing & Centralized Logging

What's the difference between a trace and a span?

A trace is the entire end-to-end journey of one request across every service it touched; a span is one unit of work within that journey — one service's handling of it, or one significant sub-operation — with the trace ID tying every span in the same journey together.

This is a Pro chapter

Sign in, then upgrade to Pro or Power to unlock this and the full Spring Ecosystem Mastery library.

What's the difference between a trace and a span?

Next Step

Continue to Why can't @Transactional alone keep two different services' databases consistent?← Back to all Spring Cloud questions