Commit Graph

401 Commits

Author SHA1 Message Date
Asaf Mesika 514d0820b2
MetricsBenchmarks should share state between threads (#5984) 2023-11-16 16:53:54 -06:00
jack-berg 9ac678e81b
Fix SynchronousMetricStorageTest flake (#5981) 2023-11-14 10:23:42 -06:00
jack-berg 72a5bb151b
CAS and voltile approach to fix delta concurrency bug (#5976) 2023-11-13 09:43:27 -06:00
jack-berg 04f6d9cc46
Fix delta metric storage concurrency bug (#5932) 2023-11-10 09:00:56 -06:00
jack-berg 19196a0251
Stabilize explicit bucket boundaries advice API (#5897) 2023-11-06 10:58:34 -06:00
renovate[bot] cb44b2b18c
Update errorProneVersion to v2.23.0 (#5927)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jack Berg <jberg@newrelic.com>
2023-10-23 10:31:09 -05:00
jason plumb 57d8334417
Dismantle AbstractInstrumentBuilder inheritance hierarchy (#5820) 2023-10-13 14:24:05 -05:00
jack-berg bf37a4ca58
Prepare 1.31.0 (#5888) 2023-10-06 15:10:48 -05:00
jack-berg 92abcb823b
Refactor advice API (#5848) 2023-10-06 13:33:10 -05:00
jack-berg 7e67a84ed3
Drop NaN measurements to metric instruments (#5859) 2023-10-02 10:17:27 -05:00
jack-berg f421ef1e73
Stabilize MetricProducer, allow custom MetricReaders (#5835) 2023-09-27 13:55:41 -05:00
jack-berg 6c8f5435db
Cleanup a few typos (#5855) 2023-09-26 15:37:28 -05:00
jason plumb 3f4793407d
Add addAllAttributes() to ReadWriteLogRecord. (#5825) 2023-09-26 13:45:25 -05:00
Asaf Mesika b0c337b075
Memory Mode support: Adding memory mode, and implementing it for Asynchronous Instruments (#5709)
Co-authored-by: jack-berg <34418638+jack-berg@users.noreply.github.com>
2023-09-26 13:21:46 -05:00
jason plumb 9b081e1933
Allow instrument names to contain a forward slash (#5824) 2023-09-15 15:15:35 -05:00
jack-berg d2fc9390ec
Prepare for 1.30.0 release (#5797) 2023-09-08 10:51:22 -05:00
jack-berg a5889a685d
Add experimental synchronous gauge (#5506) 2023-09-07 14:58:51 -05:00
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