jack-berg
2870209fdb
Prototype histogram advice API (i.e. Hints) ( #5217 )
2023-04-11 17:03:55 -05:00
dependabot[bot]
38e38cb29f
Bump com.diffplug.spotless:spotless-plugin-gradle from 6.17.0 to 6.18.0 ( #5352 )
...
* Bump com.diffplug.spotless:spotless-plugin-gradle from 6.17.0 to 6.18.0
Bumps [com.diffplug.spotless:spotless-plugin-gradle](https://github.com/diffplug/spotless ) from 6.17.0 to 6.18.0.
- [Release notes](https://github.com/diffplug/spotless/releases )
- [Changelog](https://github.com/diffplug/spotless/blob/main/CHANGES.md )
- [Commits](https://github.com/diffplug/spotless/compare/gradle/6.17.0...gradle/6.18.0 )
---
updated-dependencies:
- dependency-name: com.diffplug.spotless:spotless-plugin-gradle
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* spotless
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2023-04-06 15:13:11 -05:00
jack-berg
23107f8ecd
Delete unused exponential histogram mergeInto ( #5342 )
2023-04-02 18:58:37 -07:00
jack-berg
3581d6e642
Cache ImmutableKeyValuePairs#hashCode ( #5307 )
2023-03-18 13:31:58 -05:00
jack-berg
ca0716335a
Stop validating instrument unit ( #5279 )
2023-03-17 09:39:28 -05:00
jack-berg
267f9a6365
Remove unused StressTestRunner code ( #5292 )
2023-03-16 18:21:04 -07:00
jack-berg
102a03a167
Prepare for 1.24.0 ( #5278 )
...
* Prepare changelog for 1.24.0 release
* Add missing since annotations
2023-03-10 09:36:08 -06:00
jason plumb
dd40fbeab7
Remove validations for noop instrument names and units ( #5146 )
...
* remove validations for noop implementation
* remove unwanted tests
* remove unused
* remove instrument unit checks from ValidationUtil and move temporarily to AbstractInstrumentBuilder.
* move tests
* rename ValidationUtil to ApiUsageLogger
* fix tests by removing logs check (not important here)
2023-03-08 14:07:07 -06:00
jack-berg
06158ffc2d
Cleanup readmes ( #5263 )
2023-03-06 09:39:34 -06:00
jack-berg
a483171f75
Allow views to select on instrument unit ( #5255 )
2023-03-01 09:17:05 -06:00
jack-berg
696d3f0833
Optimize DefaultSynchronousMetricStorage iteration ( #5183 )
...
* Optimize DefaultSynchronousMetricStorage iteration
* Switch to foreach
2023-02-22 08:08:59 -08:00
jack-berg
5d2855b663
Stop ignoring long measurements in HistogramExemplarReservoir ( #5216 )
2023-02-15 07:55:39 -06:00
jack-berg
c07642ee17
Avoid exemplar allocations if there are no measurements ( #5182 )
2023-02-11 20:46:41 -06:00
jack-berg
7bb2f0d832
Remove boxed primitives from aggregations ( #5184 )
2023-02-11 20:46:27 -06:00
jack-berg
9b10152cf8
Prepare for 1.23.0 release ( #5189 )
...
* Prepare changelog for 1.23.0 release
* Add missing since annotations
* Adjust releasing docs
* Add new changelog entries, add event API artifact to readme
* PR feedback
* PR feedback
2023-02-10 14:07:48 -06:00
jack-berg
feb0297c7b
Add Base2 prefix to internal exponential histogram classes ( #5179 )
2023-02-07 10:14:10 -06:00
jack-berg
92403b01b7
Add base2ExponentialHistogram to Aggregation ( #5143 )
2023-02-05 10:54:44 -06:00
jack-berg
33e6bf30c5
Reuse aggregation handles for delta temporality ( #5176 )
...
* Reuse aggregation handles for delta temporality
* Add test code
2023-02-05 08:15:40 -06:00
jack-berg
249d09747f
Delete bound instruments ( #5157 )
...
* Delete bound instruments
* Remove outdated comments
2023-02-03 17:30:39 -06:00
jack-berg
9cfdf67a49
Delete notion of accumulation ( #5154 )
2023-02-03 10:56:17 -06:00
jack-berg
f70ae76f8c
Reuse AggregatorHandle with cumulative temporality ( #5142 )
...
* Resuse AggregatorHandle with cumulative temporality
* Remove Aggregator#merge
* Restore test coverage, rename methods
2023-01-30 09:57:37 -06:00
jack-berg
59043802e6
Merge :sdk:metrics-testing into :sdk:testing ( #5144 )
2023-01-24 08:42:04 -08:00
jack-berg
c427bf2132
Promote exponential histogram data interfaces to stable package ( #5120 )
...
* Promote exponential histogram data interfaces to stable package
* Spotless
2023-01-21 08:10:29 -06:00
jack-berg
8897dd4d5c
Revert removal final newline ( #5133 )
...
* Revert removal final newline
* Add to final newlin editorconfigoverride
2023-01-18 08:51:41 -06:00
dependabot[bot]
1e4a7be6be
Bump spotless-plugin-gradle from 6.12.1 to 6.13.0 ( #5126 )
...
* Bump spotless-plugin-gradle from 6.12.1 to 6.13.0
Bumps [spotless-plugin-gradle](https://github.com/diffplug/spotless ) from 6.12.1 to 6.13.0.
- [Release notes](https://github.com/diffplug/spotless/releases )
- [Changelog](https://github.com/diffplug/spotless/blob/main/CHANGES.md )
- [Commits](https://github.com/diffplug/spotless/compare/gradle/6.12.1...plugin-gradle/6.13.0 )
---
updated-dependencies:
- dependency-name: com.diffplug.spotless:spotless-plugin-gradle
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Fix build
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2023-01-17 16:47:56 -06:00
jack-berg
1915f1fb60
Add close method to MetricReader ( #5109 )
2023-01-11 07:47:38 -06:00
jack-berg
b08edb6504
Add MaxScale config parameter to ExponentialHistogram ( #5044 )
2023-01-06 09:36:48 -06:00
jack-berg
ad2013ffbd
Add toString to SdkMeter, SdkObservableInstrument, AbstractInstrumentBuilder ( #5072 )
2023-01-01 13:49:28 -06:00
jack-berg
17e81063ba
Align exemplar filter names with spec ( #5063 )
...
* Align exemplar filter names with spec
* coverage
* spotless
2022-12-29 11:11:39 -06:00
jack-berg
ece93b77a1
Use ConfigUtil internally ( #5048 )
2022-12-17 16:10:46 -06:00
jack-berg
fdc56b354d
Delete MapCounter alternative histogram implementation ( #5047 )
2022-12-17 15:18:13 -06:00
jack-berg
86853f52dd
Lazily initialize exponential histogram buckets ( #5023 )
2022-12-14 09:43:03 -06:00
jack-berg
738d9988ae
Stop extra copy of exponential histogram buckets ( #5020 )
2022-12-07 09:19:15 -06:00
jack-berg
e73232898f
Add ExponentialHistogramIndexerBenchmark ( #4989 )
2022-12-01 09:20:19 -06:00
jack-berg
14b64fc8bc
Add histogram collection benchmark ( #4912 )
2022-11-30 13:30:22 -06:00
Ben Roling
7dd5c1ccd7
Add auto-configure support for logging-otlp ( #4879 )
...
* Add autoconfigure support for logging-otlp
* Add NotOnClasspath tests
* Fix formatting
* Declare logging-otlp as experimental, add unit test
* Spotless
Co-authored-by: Jack Berg <jberg@newrelic.com>
2022-11-28 11:15:31 -06:00
jack-berg
f8a4d81e24
Optimize log hot path ( #4913 )
...
* ComponentRegistry accepts name, version, schemaUrl instead of InstrumentationScopeInfo
* Fix comment
2022-11-08 17:05:00 -06:00
jack-berg
21d55971b7
Add zero bucket boundary to default explicit bucket histogram ( #4819 )
2022-10-25 14:26:08 -05:00
Michal Korzeniewski
5ac1cef1e8
Add toString method to AbstractInstrument ( #4883 )
...
* Add toString method to AbstractInstrument
* add test for toString method
* use hasToString assertion for toString test
2022-10-25 13:24:48 -05:00
jack-berg
03009ce006
Lower exclusive exponential histogram bounds ( #4700 )
...
* Switch exponential histograms to use lower exclusive boundaries
* Cache ExponentialHistogramIndexers
* Update javadoc to reflect lower exlusive boundaries
* Spotless
* Fix typo
* Add tests and stop rounding subnormal values
* spotless
* Add explanatory comments
2022-10-06 15:02:08 -05:00
jack-berg
928d112c7d
Revert histogram buckets ( #4736 )
...
* Revert "Restore prior histogram defaults (#4717 )"
This reverts commit 160af1c480 .
* Revert "Update bucket hist defaults to match spec (#4684 )"
This reverts commit 8445642052 .
2022-09-08 11:23:18 -05:00
jack-berg
160af1c480
Restore prior histogram defaults ( #4717 )
...
* Add property for configuring legacy explicit bucket histogram bucket boundaries
* Add clarifying comment
* Spotless
2022-08-25 14:41:46 -05:00
jack-berg
2bc88f45c6
Deprecate multi argument InstrumentationScopeInfo create method ( #4710 )
...
* Deprecate multi argument InstrumentationScopeInfo create method
* PR feedback
2022-08-24 13:35:31 -05:00
jason plumb
8445642052
Update bucket hist defaults to match spec ( #4684 )
...
* udpate default histogram bucket boundaries
* spotless
2022-08-24 12:59:29 -05:00
jack-berg
d0c6cd4480
Extend InstrumentationScopeInfo with scope attributes ( #4696 )
...
* Extend InstrumentationScopeInfo with scope attributes
* Add InstrumentationScopeInfoBuilder
2022-08-22 12:26:54 -05:00
Bogdan Drutu
b5d0d08ad8
Fix HistogramScaleBenchmark, use the right ThreadState, clarify difference ( #4691 )
...
* Fix HistogramScaleBenchmark, use the right ThreadState, clarify difference
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
* Update sdk/metrics/src/jmh/java/io/opentelemetry/sdk/metrics/internal/aggregator/HistogramScaleBenchmark.java
Co-authored-by: jason plumb <75337021+breedx-splk@users.noreply.github.com>
* Update HistogramScaleBenchmark.java
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Co-authored-by: jason plumb <75337021+breedx-splk@users.noreply.github.com>
2022-08-19 09:14:20 -05:00
Bogdan Drutu
bb57442cbf
Remove unnecessary code from metrics sdk ( #4688 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2022-08-17 11:09:15 -05:00
jack-berg
2ef73c83af
Support aggregation arguments for view file configuration ( #4588 )
...
* Support aggregation arguments for view file configuration
* Extract getBucketBoundaries function
2022-07-21 09:41:43 -05:00
jack-berg
d2a8304b9b
Otlp exporter default aggregation ( #4557 )
...
* Add default aggregation selector option to OTLP metric exporters
* change compose to with
2022-07-05 10:21:04 -05:00
jack-berg
0860b3884b
MetricReader and MetricExporter can determine default aggregation by instrument ( #4472 )
...
* MetricReader and MetricExporter can determine default aggregation by instrument
* Add since annotations
2022-06-28 15:39:26 -05:00