* draft for exponential histogram aggregator * autoscaling for exponential histogram * more tests for exp histogram * re-add nr copyright notice after spotlessapply deleted them; convert some comments to javadoc * change to long index for bucketmapper * add scale to hashCode for buckets * implement jsuereth initial review for exphist * move data and pointdata for exphist into data package * replace windowedCounterArray with minimal map implementation * use Arrays.asList() for exposing bucket counts * remove WindowedCounterArray and MultiTypeCounterArray * javadoc for ExponentialCounter * implement and test merge() for exponential histogram aggregation; fix scale reduction bug * appease spotless check * optimize inital hashmap size for MapCounter * merging exphist accumulation not alter original accumulation * more tests, with a currently failing limit tester * change map counter to be able to copy any of its interface type * add dummy switch cases for exponential histogram exporter to appease build * test fixes * metrics-testing helpers for exponential histogram * javadoc and linting * multithreaded test on update/merge for exphist * some cleanup * resolve conflicts * Update sdk/metrics-testing/src/main/java/io/opentelemetry/sdk/testing/assertj/metrics/ExponentialHistogramAssert.java Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com> * address some review * spotless * add static factories to interface as per anuraag review * use string concatenation in favour of String.format() * address minor review comments * make doIncrement() atomic * change index from long to int * refactor aggregator to align with recent Aggregator refactor * implement diff() for exponential histogram aggregator * add missing javadoc for metric assertions * more javadoc for diff() * remove unnecessary comment * add another test for diff exphist * spotless * address comment regarding failure message * metric assertions test for exponential histogram assertions * replace warning log with IllegalStateException * improve test coverage * make record package private * remove unnecessary double check to improve code cov * add comments Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| src | ||
| README.md | ||
| build.gradle.kts | ||
| gradle.properties | ||