Commit Graph

373 Commits

Author SHA1 Message Date
Gregor Zeitlinger 45fc05d8ca
fix comment for registerView (#5587) 2023-06-30 08:55:47 -05:00
Tyler Benson 655b77f679
Add support for low memory metric temporality setting (#5558) 2023-06-27 16:59:59 -05:00
jack-berg 07a1bb4419
Fix various gradle warnings (#5556) 2023-06-21 11:15:05 -05:00
Gregor Zeitlinger c42f3df806
show duplicated metric tags (#5542) 2023-06-16 08:47:04 -05:00
Bogdan Drutu cf3b0efdaf
Make Advice proper immutable class (#5532)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2023-06-14 10:11:13 -05:00
jack-berg 331c6af8d6
Experimental metric reader and view cardinality limits (#5494) 2023-06-08 13:20:19 -05:00
jack-berg 951221efcc
Reset exponential aggregator scale after collection (#5496) 2023-06-08 13:19:32 -05:00
dependabot[bot] b14bed8d89
Bump com.diffplug.spotless:spotless-plugin-gradle from 6.18.0 to 6.19.0 (#5469)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2023-05-31 09:56:15 -07:00
dependabot[bot] d45dce3b2a
Bump errorProneVersion from 2.18.0 to 2.19.0 (#5435)
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-05-12 15:59:51 -05:00
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