experimental/v0.31.0
版本发布时间: 2022-07-27 04:41:46
open-telemetry/opentelemetry-js最新发布版本:v1.26.0(2024-08-28 18:43:17)
0.31.0
:boom: Breaking Change
- feature(views): move views registration to MeterProvider constructor #3066 @pichlermarc
- feat(sdk-metrics-base): split up Singular into Sum and Gauge in MetricData #3079 @pichlermarc
- removes
DataPointType.SINGULAR
, and replaces it withDataPointType.SUM
andDataPointType.GAUGE
- removes
SingularMetricData
and replaces it withSumMetricData
(including an additionalisMonotonic
flag) andGaugeMetricData
- removes
- feat(histogram): align collection of optional Histogram properties with spec #3102 @pichlermarc
- changes type of
sum
property onHistogram
tonumber | undefined
- changes type of
min
andmax
properties onHistogram
tonumber | undefined
- removes
hasMinMax
flag on the exportedHistogram
- this is now indicated bymin
andmax
beingundefined
- changes type of
:rocket: (Enhancement)
- feat(metrics-api): use common attributes definitions #3038 @legendecas
- feat(otlp-proto): pre-compile proto files #3098 @legendecas
- feat(opentelemetry-sdk-metrics-base): added InMemoryMetricExporter #3039 @weyert
:bug: (Bug Fix)
- fix(histogram): fix maximum when only values < -1 are provided #3086 @pichlermarc
- fix(sdk-metrics-base): fix PeriodicExportingMetricReader keeping Node.js process from exiting #3106 @seemk
- fix(otlp-proto): fixes #2791 otlp proto exporters no longer share a single global proto definition #3098 @legendecas