OpenTelemetry Bot bbb05276be Update the OpenTelemetry SDK version to 1.27.0 (#8688) hace 1 año
..
README.md 2d7395c44b Introduce markdown lint check (#7175) hace 2 años
build.gradle.kts bbb05276be Update the OpenTelemetry SDK version to 1.27.0 (#8688) hace 1 año

README.md

OpenTelemetry Spring Starter

OpenTelemetry Spring Starter is a starter package that includes the opentelemetry-api, opentelemetry-sdk, opentelemetry-extension-annotations, opentelmetry-logging-exporter, opentelemetry-spring-boot-autoconfigurations and spring framework starters required to setup distributed tracing. Check out opentelemetry-spring-boot-autoconfigure for the full list of supported libraries and features.

This version is compatible with Spring Boot 2.0.

Quickstart

Add these dependencies to your project

Replace OPENTELEMETRY_VERSION with the latest stable release.

  • Minimum version: 1.1.0

Maven

Add the following dependencies to your pom.xml file:

<dependencies>
  <dependency>
    <groupId>io.opentelemetry.instrumentation</groupId>
    <artifactId>opentelemetry-spring-boot-starter</artifactId>
    <version>OPENTELEMETRY_VERSION</version>
  </dependency>
</dependencies>

Gradle

Add the following dependencies to your gradle.build file:

implementation("io.opentelemetry.instrumentation:opentelemetry-spring-boot-starter:OPENTELEMETRY_VERSION")

Starter Guide

Check out OpenTelemetry Manual Instrumentation to learn more about using the OpenTelemetry API to instrument your code.