OpenTelemetry Java SDK
Go to file
Bogdan Drutu 840ae850ec
Rename CorrelationContext with Baggage (#1691)
* Rename CorrelationContext with Baggage

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

* Fix review comments

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

* Rename contextBuildet to baggageBuilder

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-09-26 08:42:01 -07:00
.circleci Provides a way to enable/disable the docker integration tests via a gradle property (#1115) 2020-04-16 15:12:30 -07:00
.github enable Dependabot v2 (#1605) 2020-08-31 18:44:34 -07:00
all Rename CorrelationContext with Baggage (#1691) 2020-09-26 08:42:01 -07:00
api Rename CorrelationContext with Baggage (#1691) 2020-09-26 08:42:01 -07:00
bom Small fix to publish bom artifact (#1282) 2020-05-29 07:56:53 -07:00
buildscripts Extension packages should not use "internal" API package (#1342) 2020-06-18 09:10:18 -07:00
context_prop Rename CorrelationContext with Baggage (#1691) 2020-09-26 08:42:01 -07:00
docs Add rationale.md to document design decisions that people may be curi… (#1627) 2020-09-09 07:52:08 -07:00
examples Remove an unused import from the examples. (#1708) 2020-09-26 15:04:20 +09:00
exporters Change the default Propagator in the API to be a no-op (#1709) 2020-09-26 08:34:19 -07:00
extensions Avoid usage of getSpanWithoutDefault when possible. (#1690) 2020-09-24 15:17:12 +09:00
gradle/wrapper Update Gradle Wrapper to 6.6 (#1529) 2020-08-11 08:01:14 -07:00
integration_tests Avoid usage of getSpanWithoutDefault when possible. (#1690) 2020-09-24 15:17:12 +09:00
opentracing_shim Rename CorrelationContext with Baggage (#1691) 2020-09-26 08:42:01 -07:00
proto Rename ProbabilitySampler to TraceIdRatioBased (#1666) 2020-09-20 10:40:10 +09:00
sdk Rename CorrelationContext with Baggage (#1691) 2020-09-26 08:42:01 -07:00
sdk_extensions Implement spec change to only accept Context as span parent. (#1611) 2020-09-25 11:37:37 +09:00
testing_internal Implement the keyed-attributes proposal (#1631) 2020-09-21 08:52:40 -07:00
.codecov.yaml Require coverage 95% for api and sdk (#1252) 2020-05-20 11:40:45 -07:00
.editorconfig Add .editorconfig file with google-java-format compatible options (#1136) 2020-04-27 08:42:59 -07:00
.gitignore Add .editorconfig file with google-java-format compatible options (#1136) 2020-04-27 08:42:59 -07:00
.gitmodules Set proto submodule to upstream repository (#514) 2019-08-29 09:25:08 -07:00
CHANGELOG.md #1372 Have Propagators expose only a singleton instance (#1622) 2020-09-07 10:47:05 -07:00
CONTRIBUTING.md remote instructions on generating javadoc (#1654) 2020-09-17 13:07:58 +09:00
LICENSE Initial commit 2019-02-26 08:43:37 -08:00
Makefile Provides a way to enable/disable the docker integration tests via a gradle property (#1115) 2020-04-16 15:12:30 -07:00
QUICKSTART.md Rename 'HttpTextFormat' to 'TextMapPropagator' (#1586) 2020-08-26 08:19:48 -07:00
README.md a little README update (#1669) 2020-09-21 10:38:44 -07:00
RELEASING.md Add some clarifying notes to the release instructions. (#1618) 2020-09-02 14:22:37 -07:00
build.gradle Switch to java 8 (#1665) 2020-09-19 11:28:13 +09:00
gradle.properties Provides a way to enable/disable the docker integration tests via a gradle property (#1115) 2020-04-16 15:12:30 -07:00
gradlew Update Gradle Wrapper to 6.6 (#1529) 2020-08-11 08:01:14 -07:00
gradlew.bat Update Gradle Wrapper to 6.6 (#1529) 2020-08-11 08:01:14 -07:00
settings.gradle Rename CorrelationContext with Baggage (#1691) 2020-09-26 08:42:01 -07:00

README.md

OpenTelemetry

Gitter chat Build Status 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:

  • api: The OpenTelemetry API.
    • trace: The tracing api. Includes Tracer, Span and SpanContext.
    • correlationcontext: Collection of entries in the form of key-value pairs of data that can be propagated to provide contextual information.
    • context: In-process and inter-process propagation layer.
    • metrics: Metrics layer.
  • extensions: Additional extensions API, which are not part of the core API.
  • sdk: The reference implementation complying to the OpenTelemetry API.
  • sdk_extensions: Additional extensions to SDK.
  • OpenTracing shim: A bridge layer from OpenTelemetry to the OpenTracing API.
  • Examples: Various examples on how to use the APIs, SDK, and standard exporters.

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

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.8.0</version>
    </dependency>
  </dependencies>

Gradle

dependencies {
	compile('io.opentelemetry:opentelemetry-api:0.8.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.9.0-SNAPSHOT</version>
    </dependency>
  </dependencies>

Gradle

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

dependencies {
	compile('io.opentelemetry:opentelemetry-api:0.8.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.

The latest version of the libraries were released on September 1st, 2020. See the v0.8.0 beta release.

This is a current feature status list:

Component Version
Tracing API v0.8.0
Tracing SDK v0.8.0
Metrics API v0.8.0
Metrics SDK v0.8.0
OTLP Exporter v0.8.0
Jaeger Trace Exporter v0.8.0
Zipkin Trace Exporter v0.8.0
Prometheus Metrics Exporter v0.8.0
Context Propagation v0.8.0
OpenTracing Bridge v0.8.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