OpenTelemetry Java SDK
Go to file
Anuraag Agrawal 44859040ed
Exclude AutoValue generated classes from code coverage. (#2335)
2020-12-17 07:54:59 -08:00
.github Bump burrunan/gradle-cache-action from v1.5 to v1.6 (#2240) 2020-12-09 07:19:42 -08:00
all Exclude AutoValue generated classes from code coverage. (#2335) 2020-12-17 07:54:59 -08:00
api Metrics are alpha take 2 (#2329) 2020-12-16 20:10:06 -08:00
bom Metrics are alpha take 2 (#2329) 2020-12-16 20:10:06 -08:00
buildscripts Suppress checkstyle javadoc check from non-main source sets. (#2307) 2020-12-15 09:39:33 -08:00
docs Another option for release versioning proposal (#2250) 2020-12-15 14:12:59 -08:00
examples Fix Jaeger example to use the artifacts from the bom (#2237) 2020-12-08 17:06:20 -08:00
exporters Manually structure output of log exporter instead of delegating to unstable toString (#2293) 2020-12-17 14:14:05 +09:00
extensions Span.Kind is a part of API and should be declared as such. (#2336) 2020-12-17 18:06:36 +09:00
gradle/wrapper Update to Gradle 6.7.1 (#2123) 2020-11-24 09:02:47 -08:00
integration-tests Only apply java-library to projects and configure reactively. (#2319) 2020-12-17 09:11:44 +09:00
opencensus-shim Only apply java-library to projects and configure reactively. (#2319) 2020-12-17 09:11:44 +09:00
opentracing-shim Only apply java-library to projects and configure reactively. (#2319) 2020-12-17 09:11:44 +09:00
perf-harness Split trace/metrics OTLP exporters. (#2315) 2020-12-17 13:49:42 +09:00
proto Only apply java-library to projects and configure reactively. (#2319) 2020-12-17 09:11:44 +09:00
sdk Split trace/metrics OTLP exporters. (#2315) 2020-12-17 13:49:42 +09:00
sdk-extensions Only apply java-library to projects and configure reactively. (#2319) 2020-12-17 09:11:44 +09:00
.codecov.yaml Require coverage 95% for api and sdk (#1252) 2020-05-20 11:40:45 -07:00
.editorconfig Disable inner class imports to avoid errorprone BadImport error (#1883) 2020-10-26 09:56:02 -07:00
.gitattributes Add .gitattributes. (#1798) 2020-10-15 16:03:55 -07:00
.gitignore Add .editorconfig file with google-java-format compatible options (#1136) 2020-04-27 08:42:59 -07:00
CHANGELOG.md changelog updates for Dec 15 2020 (#2313) 2020-12-15 19:12:09 -08:00
CONTRIBUTING.md CONTRIBUTING.md update with some more best practices. (#2301) 2020-12-16 11:21:16 +09:00
LICENSE Initial commit 2019-02-26 08:43:37 -08:00
QUICKSTART.md Update some out-of-date/broken docs (#2251) 2020-12-09 14:24:10 -08:00
README.md Update some out-of-date/broken docs (#2251) 2020-12-09 14:24:10 -08:00
RELEASING.md Don't automatically push docs in release since not allowed by branch … (#2178) 2020-12-03 11:48:03 +09:00
build.gradle Metrics are alpha take 2 (#2329) 2020-12-16 20:10:06 -08:00
gradle.properties Merge pull request #2066 2020-11-13 12:25:12 +09:00
gradlew Update Gradle Wrapper to 6.6 (#1529) 2020-08-11 08:01:14 -07:00
gradlew.bat Add .gitattributes. (#1798) 2020-10-15 16:03:55 -07:00
settings.gradle Split trace/metrics OTLP exporters. (#2315) 2020-12-17 13:49:42 +09:00

README.md

OpenTelemetry

Gitter chat Continuous Build Coverage Status Maven Central

We hold regular meetings. See details at community page.

Overview

OpenTelemetry is the merging of OpenCensus and OpenTracing into one project.

This project contains the following top level components:

  • OpenTelemetry API:
  • extensions define additional API extensions, which are not part of the core API.
  • sdk define the reference implementation complying to the OpenTelemetry API.
  • sdk-extensions define additional SDK extensions, which are not part of the core SDK.
  • OpenTracing shim defines a bridge layer from OpenTracing to the OpenTelemetry API.
  • examples on how to use the APIs, SDK, and standard exporters.

We would love to hear from the larger community: please provide feedback proactively.

Requirements

Unless otherwise noted, all published artifacts support Java 8 or higher. See CONTRIBUTING.md for additional instructions for building this project for development.

Note about extensions

Both API and SDK extensions consist of various additional components which are excluded from the core artifacts to keep them from growing too large. We still aim to provide the same level of quality and guarantee for them as for the core components. Please don't hesitate to use them if you find them useful.

Project setup and contribute

Please refer to the contribution guide on how to setup and contribute!

Quick Start

Please refer to the quick start guide on how use the OpenTelemetry API.

Published Releases

Published releases are available on maven central.

Maven

  <dependencies>
    <dependency>
      <groupId>io.opentelemetry</groupId>
      <artifactId>opentelemetry-api</artifactId>
      <version>0.12.0</version>
    </dependency>
  </dependencies>

Gradle

dependencies {
	implementation('io.opentelemetry:opentelemetry-api:0.12.0')
}

Snapshots

Snapshots based out the master branch are available for opentelemetry-api, opentelemetry-sdk and the rest of the artifacts:

Maven

  <repositories>
    <repository>
      <id>oss.sonatype.org-snapshot</id>
      <url>https://oss.jfrog.org/artifactory/oss-snapshot-local</url>
    </repository>
  </repositories>

  <dependencies>
    <dependency>
      <groupId>io.opentelemetry</groupId>
      <artifactId>opentelemetry-api</artifactId>
      <version>0.13.0-SNAPSHOT</version>
    </dependency>
  </dependencies>

Gradle

repositories {
	maven { url 'https://oss.jfrog.org/artifactory/oss-snapshot-local' }
}

dependencies {
	implementation('io.opentelemetry:opentelemetry-api:0.13.0-SNAPSHOT')
}

Libraries will usually only need opentelemetry-api, while applications may want to use opentelemetry-sdk.

Releases

OpenTelemetry Java is under active development. Releases aren't guaranteed to conform to a specific version of the specification. Future releases will not attempt to maintain backwards compatibility with previous releases.

Check out information about the latest release.

This is a current feature status list:

Component Version
Tracing API v0.12.0
Tracing SDK v0.12.0
Metrics API v0.12.0
Metrics SDK v0.12.0
OTLP Exporter v0.12.0
Jaeger Trace Exporter v0.12.0
Zipkin Trace Exporter v0.12.0
Prometheus Metrics Exporter v0.12.0
Context Propagation v0.12.0
OpenTracing Bridge v0.12.0
OpenCensus Bridge N/A

See the project milestones for details on upcoming releases. The dates and features described in issues and milestones are estimates, and subject to change.

Summary

We plan to merge projects and pave the path for future improvements as a unified community of tracing vendors, users and library authors who wants apps be managed better. We are open to feedback and suggestions from all of you!

Contributing

See CONTRIBUTING.md

Approvers (@open-telemetry/java-approvers):

Find more about the approver role in community repository.

Maintainers (@open-telemetry/java-maintainers):

Find more about the maintainer role in community repository.

Thanks to all the people who have contributed

contributors