Commit Graph

12 Commits

Author SHA1 Message Date
David Luna 34475825e8
chore: update `module` config in tsconfig.base.json (#5347)
Co-authored-by: Marc Pichler <marc.pichler@dynatrace.com>
2025-01-23 10:35:36 +00:00
Godfrey Chan 3b56060c51
feat(sdk-metrics)!: drop deprecated `type` field on `MetricDescriptor` (#5291) 2025-01-08 18:05:24 +00:00
Chengzhong Wu 0b8d310cf5
fix(sdk-metrics): use inclusive upper bounds in histogram (#4935)
Co-authored-by: Daniel Patrick <github@danielpatrick.dev>
2024-08-22 09:12:59 +00:00
Marc Pichler 63845ec2e7
fix(sdk-metrics): allow single bucket histograms (#4456)
* fix(sdk-metrics): allow single bucket histograms

* test(sdk-metrics): undefined and null inputs for bucket boundaries

* fixup! test(sdk-metrics): undefined and null inputs for bucket boundaries
2024-02-06 14:35:15 +01:00
Marc Pichler f6712fd450
fix(sdk-metrics): ignore NaN value recordings for histograms (#4455)
* fix(sdk-metrics): ignore NaN value recordings

* fix(changelog): add changelog entry

* test(exporter-prometheus): adapt tests

* fix(sdk-metrics): ignore in accumulation instead

* fix(changelog): update changelog
2024-02-06 14:20:38 +01:00
Matthew Wear 6d276f4d87
fix: handle zero bucket counts in exponential histogram merge (#4459)
Co-authored-by: Marc Pichler <marc.pichler@dynatrace.com>
2024-02-06 14:12:05 +01:00
Aaron Abbott e2e291c583
fix(sdk-metrics): preserve startTime for cumulative ExponentialHistograms (#3934)
Co-authored-by: Marc Pichler <marc.pichler@dynatrace.com>
2023-06-29 08:31:08 +02:00
Matthew Wear d82a0983c1
feat: exponential histogram - part 2 - the accumulation and aggregator (#3505) 2023-03-14 16:07:33 +01:00
Marc Pichler 461dc4ba9e
fix(sdk-metrics): fix flaky LastValueAggregator test by using fake timer (#3587)
* fix(sdk-metrics): fix flaky LastValueAggregator test by using fake timers

* fix(changelog): add changelog entry.

* fix(sdk-metrics): change LastValueAggregation timer increment to 100ms
2023-02-06 16:55:01 -05:00
Matthew Wear 3bc93a9fa6
feat: exponential histogram - part 1 - mapping functions (#3504)
* feat: add exponential histogram mapping functions

* Apply suggestions from code review

Co-authored-by: Marc Pichler <marcpi@edu.aau.at>
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>

* chore: fix compile

* refactor: use Number.MAX_VALUE directly

* chore: add docs to mapping and ieee754

* chore: move MIN_SCALE and MAX_SCALE to unexported constants

* chore: remove currently unused test helper

* chore: lint

* refactor: build all scales, extract single getMapping function

* fix: off by one error when pre-building mappings

Co-authored-by: Marc Pichler <marc.pichler@dynatrace.com>
Co-authored-by: Marc Pichler <marcpi@edu.aau.at>
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2023-01-27 08:31:57 -05:00
Chengzhong Wu 369b07e1c7
chore: enforce format with prettier (#3444) 2022-12-01 14:58:56 +08:00
Daniel Dyla 7972edf665
chore: release SDK 1.8.0 / Experimental 0.34.0 with metrics GA (#3340) 2022-11-09 14:21:50 -05:00