Commit Graph

14 Commits

Author SHA1 Message Date
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
Chi Ma 5a1cd99bae
fix(sdk-metrics): Update default Histogram's boundary to match OTEL's spec (#3893) 2023-06-13 16:44:43 +02:00
Chengzhong Wu 2276977218
fix(sdk-metrics): merge uncollected delta accumulations (#3667)
Co-authored-by: Marc Pichler <marc.pichler@dynatrace.com>
2023-03-15 00:46:04 +08:00
Matthew Wear d82a0983c1
feat: exponential histogram - part 2 - the accumulation and aggregator (#3505) 2023-03-14 16:07:33 +01:00
Julian Labatut 3a2ca58075
feat: add unit to view instrument selection criteria (#3647)
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
Co-authored-by: Marc Pichler <marc.pichler@dynatrace.com>
2023-03-06 16:38:59 +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
Chengzhong Wu 2a76d881e4
feat(sdk-metrics): apply binary search in histogram (#3539) 2023-01-31 14:45:49 +08: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 c87a304898
fix(sdk-metrics): collect metrics when periodic exporting metric reader flushes (#3517)
Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2023-01-14 19:37:19 +08:00
Chengzhong Wu 3fd6fb8a8f
fix(sdk-metrics): fix duplicated registration of metrics for collectors (#3488) 2023-01-03 23:32:29 +08:00
Chengzhong Wu 369b07e1c7
chore: enforce format with prettier (#3444) 2022-12-01 14:58:56 +08:00
Marc Pichler 125f11e721
fix(sdk-metrics): use default Resource to comply with semconv (#3411)
* fix(sdk-metrics): use default Resource to comply with semantic conventions

* fix(prometheus-exporter): escape default resource attribute values

* fix(changelog): use correct pr number
2022-11-15 10:43:41 -05:00
Marc Pichler 258b677dbc
feat(console-metric-exporter): add temporality configuration (#3387)
* feat(console-metric-exporter): add temporality configuration

* feat(console-metric-exporter): use a temporality selector instead

Co-authored-by: Daniel Dyla <dyladan@users.noreply.github.com>
2022-11-10 15:23:50 -05: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