opentelemetry-java-instrume.../instrumentation/spring/starters/otlp-exporter-starter
Anuraag Agrawal 761b9c280b
Migrate instrumentation gradle files to kotlin (#3414)
* Migrate instrumentation gradle files to kotlin

* Convert

* Muzzle
2021-06-28 17:27:12 +09:00
..
README.md Migrate instrumentation gradle files to kotlin (#3414) 2021-06-28 17:27:12 +09:00
build.gradle.kts Migrate instrumentation gradle files to kotlin (#3414) 2021-06-28 17:27:12 +09:00

README.md

OpenTelemetry OTLP Exporter Starter

OpenTelemetry OTLP Exporter 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. It also provides the opentelemetry-exporters-otlp artifact and corresponding exporter auto-configuration. Check out opentelemetry-spring-boot-autoconfigure for the list of supported libraries and features.

Quickstart

Add these dependencies to your project.

Replace OPENTELEMETRY_VERSION with the latest stable release.

  • Minimum version: 1.1.0
  • Note: You may need to include our bintray maven repository to your build file: https://dl.bintray.com/open-telemetry/maven/. As of August 2020 the latest opentelemetry-java-instrumentation artifacts are not published to maven-central. Please check the releasing doc for updates to this process.

Maven

<dependencies>

  <dependency>
    <groupId>io.opentelemetry.instrumentation</groupId>
    <artifactId>opentelemetry-otlp-exporter-starter</artifactId>
    <version>OPENTELEMETRY_VERSION</version>
  </dependency>

</dependencies>

Gradle

implementation("io.opentelemetry.instrumentation:opentelemetry-otlp-exporter-starter:OPENTELEMETRY_VERSION")

Starter Guide

Check out the opentelemetry-api quick start to learn more about OpenTelemetry instrumentation.