* Cleanup autoconfigured resources in case of exception
* Improve test coverage
* Spotless
* Reduce logging level to info for multiple shutdowns
* Fix build
* Allow configuration of preferred temporality in LoggingMetricExporter and OtlpJsonLoggingMetricExporter
* Make InMemoryMetricReader preferred temporality configurable
* Add create() methods to LoggingSpanExporter, LoggingMetricExporter, and SystemOutLogExporter, deprecate public constructors
* Let LogDataBuilder take a SpanContext directly.
* rename to setContext() based on PR review, and simplify test code.
* Update sdk/logs/src/main/java/io/opentelemetry/sdk/logs/data/LogDataBuilder.java
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* Allow the clock to be overridden so that we aren't directly coupled to System.currentTimeMillis()
* move clock usage to dedicated test
* move clock foolery to its own dedicated test method
* address some code review comments and checkstyle violations
* cleanup: remove builder() from LogData interface and remove clock methods from LogBuilder interface.
* make inner impl static
* make method package private
* factor builder out to top-level class and remove creation work from constructor
* fix up tests for SdkLogEmitter and SdkLogBuilder
* backfill coverage for second shutdown
* remove mock
* Add log processors to the builder so LogSinkSdkProvider is immutable
* Add api diff
* Rename to SdkLogSinkProvider
* Rework log sdk
* Refactor logging sdk to implement OTEP-0150
* Fix typo
* Add unit tests
* Reorganize to facilitate potential future API
* Rename ReadableLog* to SdkLog*, make SdkLog* package private
* Add LogEmitterProvider interface, tidy up some javadoc
* Respond to PR feedback
* Make SdkLogEmitterBuilder final
* Switch to LogEmitter.logBuilder().emit() pattern
* Update java metrics data model and create assertion based testing library.
* Update existing SDK for Label => Attribute in data model
- Finish wiring through changes to all code/tests.
- DOES NOT touch API
- Update existing tests to use new testing library to be sensitive to attribute vs. label hashing alterations + equality of the metrics.data package types.
* Fix javadoc breakages
* Fix JMH compile
* Finish javadoc
* Fixes from review
* Remove botched file.
* Fixes from review.
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