Commit Graph

24 Commits

Author SHA1 Message Date
Anuraag Agrawal c3a893a88c
Remove auto-config (#1620) 2020-09-03 18:01:05 -07:00
Ken Finnigan 26597266df
Separate the SDK into separate publishable artifacts (#1525)
* Split single "sdk" module into separate pieces for common, correlationcontext, metrics, tracing, and the combination of them all

* Modify comment to not reference implementation class

* Moved JMH code to /sdk/all

* Move new files to adjusted location

* Move new files from rebase
2020-08-18 13:43:17 -07:00
Anuraag Agrawal 6dffbb8fc4
Migrate tests to JUnit5 (#1489)
* Add JUnit 5 dependency

* Revert unintended
2020-07-31 11:10:27 -07:00
Nikita Salnikov-Tarnovski 46f0c5f0b7
Extension packages should not use "internal" API package (#1342)
* Extension packages should not use "internal" API package

Add InternalApiProtectionTest which uses ArchUnit to enforce architectural constraints.
This change only verifies that classes in `extensions` packages do not use classes in `internal` package of API module.

Test was added into `opentelemetry-all` module because the latter depends on all other submodules
and therefore sees all classes in the project.

* Polish

* Polish
2020-06-18 09:10:18 -07:00
Nikita Salnikov-Tarnovski c558a9651b
Rename contrib to extensions (#1335) 2020-06-17 16:51:14 +02:00
jarebudev 6f68d90a7a
added testcontainers integration test to verify jaeger example app works in Java 7 (#1292)
* added testcontainers test that runs jaeger example app in jre7 docker image and verifies trace is received in jaeger

* added comments, updated readme

* changed to add file to base image rather than building intermediate image and container now managed as a test rule

* changed startup order of containers to use dependsOn rather than rule, and correct bom import scope

* added integration_tests module, reverted prev changes to examples and moved to new modules

* correct formatting

* fix dependencies removed compile scope
2020-06-15 20:08:41 -07:00
John Watson 0ce1a38824
First cut at a Zipkin Span Exporter (#1106)
* basic zipkin span exporter with some unit tests

* add tests for the configuration class, hook up a create method and clean up other unit tests

* add a README

* Update exporters/zipkin/README.md

Co-Authored-By: Adrian Cole <adriancole@users.noreply.github.com>

* Update exporters/zipkin/src/main/java/io/opentelemetry/exporters/zipkin/ZipkinSpanExporter.java

Co-Authored-By: Adrian Cole <adriancole@users.noreply.github.com>

* Update exporters/zipkin/README.md

Co-Authored-By: Adrian Cole <adriancole@users.noreply.github.com>

* apply PR review comments

* Update build.gradle

Co-Authored-By: Adrian Cole <adriancole@users.noreply.github.com>

* a little bit of cleanup from PR review

* implement shutdown and provide javadoc about the closing of the Sender

* don't set attributes if they're already set.

* formatting

* grpc tweaks, and an exception thrown

* Update the comment to be a little more accurate.

* formatting

* Update exporters/zipkin/src/main/java/io/opentelemetry/exporters/zipkin/ZipkinExporterConfiguration.java

Co-Authored-By: Adrian Cole <adriancole@users.noreply.github.com>

* Update exporters/zipkin/src/main/java/io/opentelemetry/exporters/zipkin/ZipkinExporterConfiguration.java

Co-Authored-By: Adrian Cole <adriancole@users.noreply.github.com>

* doc/naming cleanup

* simplify the builder, provide two simple factory methods

* strip out the endpoint logic and instead get it from the Resource

* formatting

* restore the serviceName option, but keep the Resource-based override.

* update for changes from master.

* remove factory methods on the configuration, and update the README

* update the docs to match the requirements

* fix a typo

* tiny re-arrange of javadoc

* Add zipkin to the top-level docs

Co-authored-by: Adrian Cole <adriancole@users.noreply.github.com>
2020-05-01 08:42:40 -07:00
Nikita Salnikov-Tarnovski fff15ffe2f
First version of WithSpan annotation. (#1148)
* First version of WithSpan annotation.

This should be followed by the corresponding PR in auto-instrumentation to actually create spans around annotated methods.

* Add license

* Code style fix

* Rename module, add documentation.

* License added.

* Update contrib/auto_annotations/src/main/java/io/opentelemetry/contrib/auto/annotations/WithSpan.java

Co-Authored-By: John Watson <jkwatson@gmail.com>

* Apply suggestions from code review

Co-Authored-By: John Watson <jkwatson@gmail.com>

* Code style fix

Co-authored-by: John Watson <jkwatson@gmail.com>
2020-04-27 11:14:34 -07:00
Pavol Loffay 610c92fa1c
Add Jaeger remote sampler (#1089)
* Add Jaeger remote sampler

Signed-off-by: Pavol Loffay <ploffay@redhat.com>

* Add tests

Signed-off-by: Pavol Loffay <ploffay@redhat.com>

* Add remote sampler to all BOM

Signed-off-by: Pavol Loffay <ploffay@redhat.com>

* Make docker test optional

Signed-off-by: Pavol Loffay <ploffay@redhat.com>

* Use scheduled thread pool

* Use daemon thread factory

Signed-off-by: Pavol Loffay <ploffay@redhat.com>

* Cosmetic changes

Signed-off-by: Pavol Loffay <ploffay@redhat.com>

* Add readme

Signed-off-by: Pavol Loffay <ploffay@redhat.com>
2020-04-23 12:25:26 -04:00
Carlos Alberto Cortez 68bac8f431
Move B3/Jaeger propagators to their own contrib artifact (#1098) 2020-04-10 18:03:09 +02:00
Bogdan Drutu 8e61e8d217
Add Prometheus exporter (#1052)
* Add Prometheus exporter

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

* Split toSample

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-03-31 19:43:54 -07:00
Bogdan Drutu 40e4091d41
Rename otprotocol module to otlp (#982)
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
2020-03-09 16:51:05 -07:00
Bogdan Drutu 4c7072a1e4
Add javadoc link to all readmes (#981)
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
2020-03-09 14:32:22 -07:00
Bogdan Drutu 5a09b818d9
More gradle cleanups (#910)
* More gradle cleanups, separate jmh and jmhreport config

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

* Remove the need to includ jmhreport

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

* Only projects with the plugin maven-publish will be published

Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
2020-02-24 09:58:04 -08:00
Bogdan Drutu a148263597
Switch to use pluginManagement, Use gradle plugin for jmh. (#903)
* Switch to use pluginManagement, Use gradle plugin for jmh.

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

* Fix jmh report

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

* Use ' for the moment for plugin ids in main gradle
2020-02-21 10:19:51 -08:00
John Watson b0d6258bfe
Add a module for auto-instrumentation agent configuration bridge code. (#862)
* Add a module for auto-instrumentation agent configuration bridge code.

* add the new module as a sub-module of all
2020-02-15 09:18:55 -08:00
Jonathan Giles ecad8609aa Introduce automatic module names into all libraries being built. (#781)
* Introduce automatic module names into all libraries being built.

* Centralise manifest config of automatic module name into root build.gradle file.

* Adding empty new lines
2020-01-22 18:22:00 -08:00
Bogdan Drutu bd4f3737d4
Add a new artifact context propagation (#754)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-01-21 08:49:34 -08:00
Javier Salinas a9448a71dc Upgrade to Gradle 6 enabling parallel build (#731)
* Upgrade to Gradle 6 enabling parallel build

* Remove ignoring gradle.properties

* Limit resources in gradle.properties
2020-01-06 19:59:00 -05:00
Bogdan Drutu c24e4a9636
Some minor cleanups (#627)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2019-10-23 19:48:40 -07:00
Carlos Alberto Cortez 2f50f54cd2
Move the InMemory artifact to exporters. (#600) 2019-10-11 05:56:30 +02:00
Yang Song ef66cd3306 Add missing sub-projects to all/build.gradle (#542) 2019-09-18 19:05:12 -07:00
Bogdan Drutu 8e368d2f4a
Split contrib into different packages. (#462)
* Split contrib into different packages.

* Update readme and build.gradle.
2019-07-10 13:19:10 -07:00
Bogdan Drutu cc1dd8764a
Add an all gradle module that reports coverage and builds all javadoc. (#266)
* Add an all gradle module that reports coverage and builds all javadoc.

* Update description for the all module.

* Fix a copy/paste opencensus issue.

* Remove unnecessary step in travis.
2019-05-10 22:42:33 -07:00