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
jack-berg
ccfc9ea918
Tighten up exponential histogram implementation ( #4536 )
2022-06-16 11:20:23 -05:00
jack-berg
d9c8e709e0
Tighten up metrics sdk javadoc ( #4508 )
2022-06-03 13:38:53 -05:00
jason plumb
83bfb84d14
Migrate to assertj ( #4512 )
...
* migrate from junit/jupiter assertions to assertj in a few remaining places.
* reorder
2022-06-02 13:38:46 -07:00
jack-berg
4a8850cc64
Improve metrics API javadoc ( #4493 )
...
* Improve metrics API javadoc
* Fix typo
* Switch to Title Case for instrument names
* Add @since annotations
2022-05-27 10:02:02 -05:00
jack-berg
de824dc93a
Add batch callback API ( #4376 )
...
* Add batch callback API
* Update API to accept varargs of instruments
* Add more tests
* Add default API implementations, more test coverage
* PR feedback
2022-05-25 12:50:09 -05:00
jack-berg
f592bf54e4
Drop outdated metrics sdk readme ( #4476 )
2022-05-17 20:15:57 -07:00
jack-berg
b98ce55cd0
Fix reporting intervals for delta readers ( #4437 )
2022-05-16 11:50:54 -05:00
jack-berg
8659a82583
Fix metric sdk when multiple readers are present ( #4436 )
...
* Fix metric sdk when multiple readers are present
* Merge DeltaMetricStorage into DefaultSynchronousMetricStorage
2022-05-13 12:50:13 -05:00
jack-berg
078d55abe5
Add SdkMeterProvider toString method ( #4464 )
...
* Add SdkMeterProvider toString method
* Fix build
* Ignore null values in InstrumentSelector / View #toString()
2022-05-13 11:52:04 -05:00
jack-berg
bf0f6bfb16
Add experimental method to reset SdkMeterProvider ( #4460 )
2022-05-12 10:28:42 -05:00
jack-berg
bc6be63871
Update to otlp proto 0.17.0 ( #4452 )
2022-05-11 09:57:45 -05:00
jack-berg
e067223409
Convert tests to from :sdk:metrics-testing to :sdk:testing ( #4444 )
2022-05-09 09:34:09 -05:00
jack-berg
d490f5b5e7
Add AggregationTemporalitySelector functional interface ( #4438 )
2022-05-06 10:03:14 -05:00
jack-berg
848c073231
Refactor exemplars to reduce code duplication ( #4430 )
...
* Refactor exemplars to reduce code duplication
* Add comments to ReservoirCell
2022-05-06 08:27:39 -05:00
jack-berg
605f40b940
Rename MetricReader#flush() to forceFlush() ( #4439 )
2022-05-06 08:26:22 -05:00
jack-berg
04617c3550
Default unit is blank instead of 1 ( #4431 )
2022-05-05 10:34:26 -05:00
Lauri Tulmin
0940f6405a
Revert PeriodicMetricReader logging level change ( #4414 )
2022-04-25 09:36:39 -07:00
jack-berg
e479f15746
Add exponential histogram aggregation ( #4406 )
...
* Add ExponentialHistogramAggregation
* Rename DoubleHistogramAggregator to DoubleExplicitBucketHistogramAggregator
* PR feedback
2022-04-22 19:51:08 -05:00
Anuraag Agrawal
173a0c27fd
Have long aggregators export long exemplars ( #4403 )
...
* WIP exemplar
* Have long aggregators export long exemplars
* Fix
2022-04-22 11:18:47 +09:00