* Extract SpanData to an interface.
* Move the inner link and event classes to the top level and rename for consistency.
* clean up a few errant references to the impl
* use the right annotation
* move the Link and Event back into the SpanData and give them simple names.
* 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>
* Mark all threads/pools as daemon.
* Move setDaemon calls inside try blocks as they can throw a security exception.
* Add javadoc comment about possibility of SecurityException.
* Create common/DaemonThreadFactory and adjust all thread creation to use it.
* Apply a name prefix in the DaemonThreadPool; rework and simplify several calling sites accordingly.
* Initial Propagators refactor.
* Add tests for the new propagators changes.
* Make the SDK compile/pass.
* Make the OT shim compile/pass.
* Make contrib components compile/pass.
* Improvement over Span/SpanContext handling in Context.
* Add Span.setParent(Context) overload.
* Do not provide default values for Span/SpanContext keys in Context.
* Improve the Context's active state handling.
* Rename DistributedContext to CorrelationContext.
* Improve names for correlationcontext's ContextUtils methods.
* Don't provide an automatic default for current CorrelationContext.
* Improve the client-server example after the recent changes.
* Adds CorrelationContext.Builder.setParent(Context) overload.
* s/be/become.
* Fix javadoc.
* No need to use diamond.
* Simply import withScopedContext().
* Fix the API/SDK build.
* Remove the builder from the Propagators interface.
* Fix name.
* Use Collections.emptyList() directly.
* Rename Propagators to ContextPropagators.
* Move context/ members in api/ to context_prop/
* Add check/tests for null scoped Contexts.
* Rename ContextUtils classes to better alternatives.
* Update the context* util classes.
* Make the code compile after the latest master merge.
* Cache the fields() in our default composite propagator.
* Remove the overloads of setParent(Context) for now.
* Use DefaultSpan for the tests instead of calling getTracerProvider()
* Fix the sdk testbed artifact build.
* Make the B3 propagator comply with the new propagator API.
* Simplify the HttpTraceContextTest tests.
* Simplify the ContextUtils* classes handling of default values.
* Minor nit.
* Update api/src/main/java/io/opentelemetry/OpenTelemetry.java
Co-Authored-By: Giovanni Liva <giovanni.liva@dynatrace.com>
* Annotate ContextPropagators with ThreadSafe instead of Immutable.
* Do not use the fully qualified ContextUtils identifier.
* Remove SpanContext support from TracingContextUtils.
* Rever to using non-defaulted key for TracingContextUtils.
* Revert the default keys for CorrelationsContextUtils.
Co-authored-by: Giovanni Liva <giovanni.liva@dynatrace.com>
* Small cleanups in async processor
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
* Customize the log messages for different actions happening after shutdown
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
* Avoid calling processors that do not require an event.
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
* Add tests for NoopSpanProcessor
Signed-off-by: Bogdan Cristian Drutu <bogdandrutu@gmail.com>
* 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>
* first implementation of ForceFlush
* Update sdk/src/main/java/io/opentelemetry/sdk/trace/SpanProcessor.java
Co-Authored-By: John Watson <jkwatson@gmail.com>
* Rename flush -> shutdown. Add test
* Better wording in Javadoc
Co-authored-by: John Watson <jkwatson@gmail.com>
* 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
* 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
* Initial dev of XRay ids generator
* Initial dev of EC2 resource labels retrieval and population
* renamed module to emphasize it uses v1 of AWS SDK
* fix code review issues
* fix test code review issues
* Add RunWith annotation
* SpanData Export refactoring
* getting our span data exporter work to use the new SpanData implementation
* getting up to date with the moved Timestamp
* Update post rebase
* A few cleanups from PR comments
* A few more cleanups.
* Add a small artifact that joins TracerSdk and InMemorySpanExporter.
Used for OpenTelemetry integration testing.
* Re-organize the inmemory artifact.
* Put it under contrib.
* Use package io.opentelemetry.sdk.contrib.trace.export
* Move inmemory_export to sdk_contrib.