* Disallow aggregations for incompatible instruments
* Improve test coverage
* Ignore View if aggregation is incompatible, using default view if no others are configured
* Add min and max to HistogramPointData
* Add hasMin, hasMax to HistogramPointData instead of @Nullable
* Add javadoc about describing behavior when hasMin / hasMax is false
* Get rid of @Nullable on HistogramAccumulation
* Remove instrument selector predicates, add instrument name wildcards
* Cache name pattern to regex translation
* Use alternative glob match algo, get rid of cache
* Ensure callbacks are not called concurrently
* Disallow concurrent collections by single reader, disallow concurrent callback invocations by different readers
* Restore lock on CallbackRegistration
* Single lock on MeterSharedState ensures all collections are sequential
* PMR don't export if metrics collection is empty
* Set export available
* Use isEmpty() instead of size() == 0
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
Co-authored-by: Anuraag Agrawal <anuraaga@gmail.com>
* Switch View and ViewBuilder to classes
* Make AttributesProcessor an empty interface, move content to AbstractAttributesProcessor
* Drop io.opentelemetry.sdk.metrics.view package
* Simplify MetricReader
* Tighten up PR
* Restore some methods / classes and deprecate
* Revert "Restore some methods / classes and deprecate"
This reverts commit fee90e5da7.
* add assertAttributes to be able to assert a single attribute in a fluent way
* add assertAttributes to be able to assert a single attribute in a fluent way
* Update sdk/testing/src/main/java/io/opentelemetry/sdk/testing/assertj/SpanDataAssert.java
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
* Update sdk/testing/src/main/java/io/opentelemetry/sdk/testing/assertj/SpanDataAssert.java
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
* fix:add an ending period to form notes
* feat:add the shortcut of removeif in ResourceBuilder
* fix:fix the errors of check
* feat:run two gradlew task to achieve check
* fix:fix format violations
* feat:remove extra function and modify the unit test
* fix: fix format violations
* feat:format code and modify unit test
* feat:make unit test specification
* feat:cleanup for normalize
* Allow multiple async callbacks, allow callbacks to be removed
* Use AutoCloseable to remove callbacks, don't unregister from MetricStorageRegistry
* Use CopyOnWriteArrayList
* PR feedback
* PR feedback