Add auto-configuration for OTLP span exporter

With these changes an OTLP HTTP/protobuf exporter is auto-configured
if opentelemetry-exporter-otlp is on the classpath.

See gh-34508
This commit is contained in:
Jonatan Ivanov
2023-03-02 13:56:15 -08:00
committed by Andy Wilkinson
parent d4f857683d
commit ceaafeca0b
8 changed files with 436 additions and 1 deletions

View File

@@ -10,7 +10,7 @@ TIP: To learn more about Micrometer Tracing capabilities, see its https://microm
=== Supported Tracers
Spring Boot ships auto-configuration for the following tracers:
* https://opentelemetry.io/[OpenTelemetry] with https://zipkin.io/[Zipkin] or https://docs.wavefront.com/[Wavefront]
* https://opentelemetry.io/[OpenTelemetry] with https://zipkin.io/[Zipkin], https://docs.wavefront.com/[Wavefront], or https://opentelemetry.io/docs/reference/specification/protocol/[OTLP]
* https://github.com/openzipkin/brave[OpenZipkin Brave] with https://zipkin.io/[Zipkin] or https://docs.wavefront.com/[Wavefront]
@@ -96,6 +96,14 @@ Use the `management.wavefront.*` configuration properties to configure reporting
[[actuator.micrometer-tracing.tracer-implementations.otel-otlp]]
==== OpenTelemetry With OTLP
* `io.micrometer:micrometer-tracing-bridge-otel` - which is needed to bridge the Micrometer Observation API to OpenTelemetry.
* `io.opentelemetry:opentelemetry-exporter-otlp` - which is needed to report traces to a collector that can accept OTLP.
[[actuator.micrometer-tracing.tracer-implementations.brave-zipkin]]
==== OpenZipkin Brave With Zipkin
Tracing with OpenZipkin Brave and reporting to Zipkin requires the following dependencies: