* Cleanup autoconfigured resources in case of exception
* Improve test coverage
* Spotless
* Reduce logging level to info for multiple shutdowns
* Fix build
* Build ExporterMetrics instruments just in time
* Exporters use GlobalOpenTelemetry#getMeterProvider() if meter provider is not set
* FullConfigTest reset GlobalOpenTelemetry
* MetricExporters use MeterProvider.noop()
* Fix handling of compressionMethod `none` in GrpcExporterBuilder
* Fix handling of compressionMethod `none` in OkHttpExporterBuilder
* Add compression configuration assertions to AbstractGrpcTelemetryExporterTest
* Add compression configuration to JaegerGrpcSpanExporterBuilder
* Add compression configuration to ZipkinSpanExporterBuilder
* Specify that zipkin default compression is gzip
Co-authored-by: Jack Berg <jberg@newrelic.com>
* improve single responsibility of ZipkinSpanExporter by factoring out OtelToZipkinSpanTransformer.
* add javadoc
* make utility constructor private
* make new class final and jApiCmp
* add javadocs
* enhance javadoc
* make package private
* hide logger
* spotless
* jApiCmp
* create transformer with supplier
* jApiCmp
* rename all Function vars to "transformer"
* remove dead code
* remove Function interface from OtelToZipkinSpanTransformer
* create factory method and rename test util
* rename attributesMap -> attributes
* rebase after metrics merge
* add javadoc
* remove static shared ip address
* Hey look it's a period.
* allow the builder to control the ip address supplier, not the entire transformer.
* hide instance behind getter
* remove unused
* rebase
* hide OtelToZipkinSpanTransformer from public usage
* jApiCmp
* add default to javadocs
* Add metrics to the ZipkinSpanExporter
* Add distinct transport name for HTTP/JSON trace metrics
* Use :expoters:common
* Fix javadoc
Co-authored-by: Jack Berg <jberg@newrelic.com>
* initial implementation of logging throttling
* simplify the throttle and incorporate into all the exporters
* small cleanup
* try the ratelimiter and see if it can work
* try the ratelimiter and see if it can work
* re-implement the ThrottlingLogger using the RateLimiter from Jaeger.
* code cleanup & additional tests
* add a unit test for the log level check
* Update sdk/common/src/main/java/io/opentelemetry/sdk/internal/ThrottlingLogger.java
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
This helps exporter to have access directly to bytes, hex or any other format we will expose for the ids in the SpanContext.
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
* Migrate to using gradle platform to manage dependency versions instead of global variables.
* Remove unused and fix test
* Revert test yolo
* Workaround test ordering issue by just merging them
* Spot