* Implemented the Jaeger Span Exporter using gRPC as the transport
Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
* Changes based on the first review
Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
* Fixed parent references
Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
* Added deadline and check the failure codes to determine whether to retry
Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
* Added readme with comment about the proto files
Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
* Removed dependency on the 'api' module
Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
* Fix service provider not found exception message.
Signed-off-by: qudongfang <qudongfang@gmail.com>
* Format with google java style.
Signed-off-by: qudongfang <qudongfang@gmail.com>
* Add an AsyncSpanProcessor that uses Disruptor.
* Fix comments.
* Cleanup print messages and simplify tests
* Enforce shutdown to wait for all the processors to finish shutdown.
* Enable circle CI
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
* Use only jobs
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
* Split runs
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
* Move build task to template
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
* Move build task to template 2
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
* Change Sampler.shouldSample to accept list of SpanContext.
Fixes#437
* Improve test coverage.
* Change Sampler signature shouldSample to accept list of Links.
* Add batch span processor.
* Update sdk/src/main/java/io/opentelemetry/sdk/trace/export/BatchSampledSpansProcessor.java
Co-Authored-By: Yang Song <songy23@users.noreply.github.com>
* Remove @SuppressWarnings(JdkObsolete) from tests.
* Add default values as constants, comment on setter about default values.
* Remove unnecessary since tag from tests.
* Change the batch creation logic to avoid checking the limit every time.
* Cleanup InMemorySpanExporter, implement shutdown and test.
* Add a comment that reset does not rest the shutdown state.
* Rename cpp style variable to java.
* Change DistributedContextSdk.Builder to use current DistributedContext as implicit parent if none is provided explicitly
* Change DistributedContext.setNoParent to prevent inheriting an implicit context
* Clarify doc for DistributedContext.setNoParent
* Disallow null for DistributedContext.setParent
* Connect span builder and span in SDK
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
* Use proto in tests
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
* Remove
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
* Fix comments
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
* Fix review comments
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
* Add sampling attributes to span
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
* Remove line
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
* Implement RecordEventsSpanImpl.toSpanProto(). Add more unit tests.
Fixes#279.
* Avoid over locking. Add more tetst.
* Replace a magic number.
* Update two constants.