* Use spotless for formatting / license check
* Apply formatting
* README
* Apply to example
* google-java-format 1.8 for now
* google-java-format 1.7 for now (last supporting Java 8)
* subsume methods from AttributesKeys to AttributeKey
* remove missed instance of AttributesKeys
* make javadoc wording more representative of method intent
* Remove Link from API, use SpanData.Link in Sampler
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
* Fix tracing_incubator
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
* have the TracerSdkProvider return the public interface, rather than a package-access class.
* change the OpenTelemetrySdk to return a management interface, rather than the SDK implementation class directly.
* formatting fix
* rename methods/parameters for the new interface
get rid of almost all production-code references to the TracerSdkProvider
* update some docs that still refer to using the old method/class
* Remove addLink that accepts Link interface
Currently the Link interface cannot easily be removed, used in the Sampler interface,
will do a separate PR for that.
Based on the specs we don't have to offer a "lazy" formatted Link API (was removed some time ago).
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
* Copy javadoc instead of reference
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Co-authored-by: Anuraag Agrawal <aanuraag@amazon.co.jp>
* Remove Event interface, and it's usage
Based on the specification we are not required to expose this interface or have APIs that accept this interface.
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
* Fix links to Event
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
* Fix more javadocs references to Event
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
* initial commit of logging support extension
* complete move from extensions to sdk_extensions
* address code review comments
* move logging_support to logging/support
* missed test update in last commit
* code format
* change list to queue in implementation, collection in api
* missed making a utility method static
* fix a broken test
* Update sdk_extensions/logging/support/src/main/java/io/opentelemetry/logging/api/LogRecord.java
Co-authored-by: Tigran Najaryan <4194920+tigrannajaryan@users.noreply.github.com>
* reworked to align with how we batch process spans
* move of CompletableResultCode and formatting
* update AnyValue to use long instead of int
* address code review comments
rename Exporter to LogExporter, move to 'export' package
rename LogExporter.accept(data) to LogExporter.export(data)
decrease flush interval from 5000 to 200ms
return CompletableResultCode from LogExporter.shutdown()
change traceId and spanId types to String from byte[]
* implement BatchLogProcessor.fromConfigMap
* rearrange packages
* add readme
* respond to review feedback, refactored BatchLogProcessor
* added a couple tests
* update to use new Attributes, remove support directory, public LogRecord getters
Co-authored-by: Tigran Najaryan <4194920+tigrannajaryan@users.noreply.github.com>
* Make setting null-valued attributes a no-op, and document that their behavior is undefined.
* also have the span itself ignore null attribute values
* Update api/src/main/java/io/opentelemetry/common/Attributes.java
Co-authored-by: Giovanni Liva <giovanni.liva@dynatrace.com>
* Set the non-null-by-default annotation on the package level for the common code.
* add no-op validating tests with a caveat
Co-authored-by: Giovanni Liva <giovanni.liva@dynatrace.com>
* Remove Descriptor from metrics data to be consistent with proto
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
* Remove references to descriptor
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
* check traceparent for extra trailing characters for version 00
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* add tests and make "00" a constant
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* #1674 validate version from traceparent according to spec
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* add test
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* add test
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* rename TraceVersion to WireFormatUtils
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* rename test method
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* use precalculated versions
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* get rid of unneded class
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* get rid of empty lines
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* fix style
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* Add w3c context propagation tests
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* add sleep for printing test results
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* add Environmental requirements
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* use far jar to run
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* run integration tests in circleci
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* change image
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* reformat
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* pip3 to pip
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* upgrade pip
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* missing colon
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* install pip3
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* do not install pip3
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* install python 3 and pip3
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* install python 3 and pip3
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* install python 3 and pip3
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* install python 3 and pip3
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* install python 3 and pip3
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* install python 3 and pip3
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* add /usr/local/bin to PATH
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* call /usr/local/bin/pip3 to PATH
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* get rid of automation
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
* refactor extractor to pass more tests
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>