* Configured trace config to read from env vars/sys props
* Fixed the codenarc violation
* Addressing review comments
1. Updated span count target to num_tries in the test since SpanCounter stops counting spans as soon as it hits the targets
* Extracted the configure method outside of installExportersFromJar
* Addressing comments
* Allow compiling of everything with java 11
* Instruct CircleCI to use java 11 be default
* Forbid running some tests on java11
* Muzzle uses ClassLoader.platformClassLoader as parent for user-space classloader
* Make auto-instr work with latest otel-java snapshot
* Add CircleCI workflow to run nightly test job against otel-java snapshot
* Decrease snapshot versions cache time
* Add comments suggest during review
* Add comments suggest during review
* Add missed helper class
* Use released otel-java 0.4.0
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* Normalize sql statements to elide literal numbers and strings.
* Missed one SlickTest sql normalization.
* Fix muzzle order for helper classes.
* Change name of feature flag
* Upgrade to latest spotless version in an attempt #1 to make the circleci build work.
* Attempt 2 to make circleci build happy - exclude build/generated/** from spotless.
* Attempt 3 to get circleci build working, adding *.java to the exclude line.
* Change exclude of generated files to include of just the src/ directory.
I confirmed that this properly failed the build if I remove a license header from a src/ directory.
* Update gradle dependencies and module name
* Replace Tracer.withSpan() with currentContextWith()
* Update inject to 0.3.0
* Update extract to 0.3.0
* More updates
* Remove distributedcontext package refs
* Update OpenTelemetry API interoperability
* No need to call setNoParent()
setParent(SpanContext.getInvalid()) should give the same result.
* Update dependency version
* Change getTracerFactory to getTracerProvider
* Update some imports
* Change put to set
* Fix up bridge
* Update package names
* Update test SpanProcessor
* Remove null conditionals around setAttribute
* Update shading
* Update span context extraction
* Update HTTP client-side span names
* Add query and fragment to http.url for HTTP client spans
* Add query and fragment to http.url for HTTP server spans
* Update HTTP server span names to be the matched route or resource
* Use net.peer.* instead of peer.* attributes
Primary goal is to maintain a simple and semantic interface for the code using it. See `HttpClientTracerDemonstration` for example usage.
* Add additional startSpan methods and restructure to allow tracer.extract at build time.
* Move classes into a different package structure to enable less visibility.
And move setter method to tracer.
* Add deprecation warnings to unused end methods
* Integrate SpotBugs (FindBugs) into build. Set ignoreFailures so spotted bugs do not break the build.
* Fix many SpotBugs-found items, mostly making things final, but also a redundant null check and a reliance on platform character encoding. 2 items remain which will need further work/review, but as ignoreFailures is set, they will not fail the check stage.
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
* Classloader done. Still needs shading
* First working version
* Made the dummy exporter slightly less stupid
* Use SPI pattern for loading. Added runtime shader
* Changed to do shading on binary stream instead of loading the class first
* Protected the runtime shader from having its internals shaded
* Cleaned up code and naming
* Cleaned up
* Cleaned up and fixed test issues
* Minor fixes from code review
* Added exporter smoke tests
* Finalized exporter smoke tests
* Reenabled springboot test
* Fixed some copy-paste issues
* Initial work on exporter bridges
* Implemented dynamically loaded exporter adapters
* Added some more files
* Added exporter-adapters for well-known exporters
Moved dummy-exporter to exporter adapters
Removed -Dota.exporter option in favor of ota.exporter.jar
Added basic exporter tests to smoketest
Increased timeout for Finatra server start to help with parallel test execution
* Cleaned up tests, removed dead code and updated README
* Update README.md
* Update README.md
* Removed references to gRPC dependencies needed by Jaeger
* Fixed incorrect use of ServiceLoader in test
* Fixed test dependencies
* Adjusted exporter tests
* Fixed codeNarc issues
* Fixed CircleCI issues
* Added tests to check what CircleCI is doing
* Added missing logging directory
* Removed deadline() from Jaeger factory
* Another attempt to make it pass CircleCI
* Fixed some minor codeNarc issues
* Wrapped test config in doFirst
* Change forEach -> each
* Removed README section about commercial exporters
* Reduced number of changes to Config
* Fixed field reordering issue
* Removed references to dummy exporter
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>