Other Spring autoconfiguration

আপনি এই পৃষ্ঠার ইংরেজি সংস্করণ দেখছেন কারণ এটি এখনও সম্পূর্ণভাবে অনুবাদ করা হয়নি। সাহায্য করতে আগ্রহী? দেখুন Contributing

Instead of using the OpenTelemetry Spring starter, you can use the OpenTelemetry Zipkin starter.

Zipkin starter

OpenTelemetry Zipkin Exporter Starter is a starter package that includes the opentelemetry-api, opentelemetry-sdk, opentelemetry-extension-annotations, opentelemetry-logging-exporter, opentelemetry-spring-boot-autoconfigurations and spring framework starters required to setup distributed tracing. It also provides the opentelemetry-exporters-zipkin artifact and corresponding exporter autoconfiguration.

If an exporter is present in the classpath during runtime and a spring bean of the exporter is missing from the spring application context, an exporter bean is initialized and added to a simple span processor in the active tracer provider. For more details, see the implementation (OpenTelemetryAutoConfiguration.java).

<dependencies>
  <dependency>
    <groupId>io.opentelemetry</groupId>
    <artifactId>opentelemetry-exporter-zipkin</artifactId>
    <version>1.61.0</version>
  </dependency>
</dependencies>
dependencies {
  implementation("io.opentelemetry:opentelemetry-exporter-zipkin:1.61.0")
}

Configurations

Enables the Zipkin exporter (requires ZipkinSpanExporter on the classpath):

otel:
  exporter:
    zipkin:
      enabled: true # default: true

With declarative configuration, the Zipkin exporter is configured as part of the standard declarative configuration schema under tracer_provider.processors:

otel:
  tracer_provider:
    processors:
      - batch:
          exporter:
            zipkin:
              endpoint: http://localhost:9411/api/v2/spans

সর্বশেষ পরিবর্তিত April 23, 2026: Add declarative configuration docs for Spring Boot starter (#9448) (2d89b60b)