* Serialize the entire trace flags not only the sample bit
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
* Add test for more than just sampling bit in the context
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
* Update api/src/test/java/io/opentelemetry/trace/propagation/HttpTraceContextTest.java
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* Add secrets to environment for publishing.
* Update .github/workflows/continuous-build.yml
Co-authored-by: John Watson <jkwatson@gmail.com>
Co-authored-by: John Watson <jkwatson@gmail.com>
* Extract an interface for the OpenTelemetry API to later allow an SDK to implement it.
* Cleanups
* mine
* final
* Fix shortcuts
* Fix javadoc
* More merge
* Upgrade to Gradle 6.7 and use toolchains feature to build on 11 and test on 11/8.
* Debug (probably first JDK download taking some time)
* Remove now unnecessary java toolchain workarounds
* Remove debug
* Remove windows build for now
* bin
* Raise no_output_timeout since this change seems to eliminate cache and build doesn't finish.
* Make the baggage API fully functional in the API
and get rid of the BaggageManager that was needed previously.
* javadoc cleanup
* more javadoc cleanup
* make the ImmutableBaggage package access
* #1609 Update Jaeger exporter to map Resources to process tags
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* add resource attributes to process tags
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* fix checkstyle error
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* refactored according to review comments
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* implement comments
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* Document precedence order is multiple context propagators are used
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* implement review comments
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* Fix using default context storage implemenation in LazyStorage
* Use the single implementation if providerClassName property is unset
* Add unit tests for LazyStorage
* Move the stress test code to being a TestContainers-based test.
Upgrade testcontainers version to work with the latest docker-for-mac.
Add metrics in the OTLP exporter, to record success/failure of export.
Use the TestContainers annotation to disable those tests when docker isn't present.
* remove a bunch of commented out stuff that shouldn't have been added
* disable the test without docker
* use specific docker image tags to keep testcontainers from downloading the world
* delete unneeded file
* fix from upstream change
* Add .gitattributes.
This fixes spotlessCheck when checking out on windows with git core.eol=crlf and core.autocrlf=true.
Note that for git itself, the eol=lf next to the text=auto changes nothing, but spotless tries
enforce the core.eol line endings anyway.
* Adjust .gitattributes towards instrumentation's
* Remove getCurrentContext and withSpan from Tracer
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
* Remove old java7 example
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>