Commit Graph

384 Commits

Author SHA1 Message Date
Trask Stalnaker 14f16b002e
Increase metric name maximum length from 63 to 255 characters (#5697) 2023-08-31 10:24:24 -05:00
jack-berg 2deb6d12ef
Add AttributesProcessor toString, add attribute filter helper (#5765) 2023-08-25 12:53:14 -05:00
Mateusz Rzeszutek 4b06f09504
Implement attributes advice for the rest of the instruments (#5722) 2023-08-23 11:25:35 -05:00
jack-berg d8407320df
Fix build from bad merge (#5721) 2023-08-16 15:56:20 -05:00
Mateusz Rzeszutek 35b41ab484
Add attributes advice API (just `DoubleCounter` for now) (#5677) 2023-08-16 14:20:00 -05:00
jack-berg f7dc1dc686
Prepare for 1.29.0 release (#5698) 2023-08-11 10:54:22 -05:00
jack-berg 7ee92eb365
Instruments with names which are case-insensitive equal contribute to… (#5701) 2023-08-11 10:20:23 -05:00
jason plumb 877070329e
Add LongHistogramAdviceConfigurer to improve api surface types (#5689) 2023-08-09 13:49:41 -05:00
Parth Dadhaniya f52050bc2d
Merge the current Resource object with custom Resource Object. (#5619) 2023-08-09 10:28:25 -05:00
jack-berg 087a4f1ac6
Prepare 1.28.0 (#5602) 2023-07-07 06:57:26 -05:00
jack-berg b5b02eb044
After cardinality limit exceeded record measurements to overflow series (#5560) 2023-07-06 08:14:31 -05:00
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