0PricingLogin
Spring Boot 4 Microservices & REST APIs · Lesson

Micrometer Tracing

Instrument services with trace and span IDs.

Micrometer Tracing overview

Micrometer Tracing is a vendor-neutral tracing facade. You code against its API, and a bridge (Brave or OpenTelemetry) does the real work and propagation.

Adding the dependencies

Add Micrometer Tracing plus a bridge. The Brave bridge is a common choice.

<dependency>
  <groupId>io.micrometer</groupId>
  <artifactId>micrometer-tracing-bridge-brave</artifactId>
</dependency>

All lessons in this course

  1. Why Distributed Tracing Matters
  2. Micrometer Tracing
  3. Exporting Traces to Zipkin
  4. Correlating Logs and Traces
← Back to Spring Boot 4 Microservices & REST APIs