liveBook · Manning

OTLP exporter

As explained in Spring AI in Action

An OTLP exporter is a component that sends telemetry data using the OpenTelemetry Protocol.

An OTLP exporter sends tracing data from a Spring Boot application through OpenTelemetry to a tracing platform such as Jaeger. The implementation requires dependencies and an explicit Spring bean because the exporter is not autoconfigured. section 9.4

Configure the exporter in three steps:

  • Point the endpoint at Jaeger's OTLP receiver, which listens on port 4317 in the development setup. section 9.4

How Spring AI in Action covers it

How deep it goes
Explains dependencies, bean declaration, endpoint injection, and receiver ports, but defers exporter internals.
Examples
Uses Gradle dependencies, a TracingConfig bean, localhost:4317, and Docker Compose Jaeger configuration.
What it assumes
Assumes a Spring Boot application and introduces the required Micrometer, OpenTelemetry, and Jaeger setup.
What you can do after
Operate/configure an OTLP exporter bean and redirect trace delivery by changing a Spring property.
How it connects
Connects Micrometer Tracing, OpenTelemetry, Spring Boot, Jaeger, Zipkin, and distributed tracing.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Spring AI in Action. The section links point to the parts of the book it draws on.