* Allow users to access the default Clock and TestClock
* Update TestClock API
* Doc
* Fix
* html
* Less newlines
* Update sdk/common/src/main/java/io/opentelemetry/sdk/common/Clock.java
Co-authored-by: John Watson <jkwatson@gmail.com>
Co-authored-by: John Watson <jkwatson@gmail.com>
* 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.
* Add the OpenTelemetry schema URL to the InstrumentationLibraryInfo and the corresponding API calls.
* small refactoring and doc tweaks from feedback
* make the instrumentation version nullable on the method that takes a schema
* update the apidiffs
* add since tags and a few more missing nullable annotations
* Switch to using a Builder rather than method overloads.
* Fix the SpanPipelineBenchmark so that it runs.
I also updated it to create 100 spans, rather than just a single span, so we can amortize the cost of the Resource, etc.
* Be sure to flush the SDK.
* formatting
* Implement handling the OTEL_SERVICE_NAME env var.
* Update to use the semconv module and attributes testing helpers.
* add unit tests for testing API additions
* Auto-detect Android and use an Android-friendly IdGenerator instance.
* simplify the random initialization
* Make the AndroidFriendlyRandomIdGenerator even simpler by just keeping a single Random instance
* remove a method deprecated in 1.1.0
* Make the ViewRegistry immutable.
* set all the defaults view config via loop, rather than explicitly per instrument type.
* SDK arch test - ensuring that API implmenetation returns only API types
* added metrics verification
* updated tests to match change in SDK / meter return type
* typo corrected
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* typo corrected
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.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>