OpenTelemetry - CNCF/opentelemetry-js: Release experimental/v0.31.0

Name: opentelemetry-js

Owner: OpenTelemetry - CNCF

Release: experimental/v0.31.0

Released: 2022-07-26

License: Apache-2.0

Release Assets:

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 with DataPointType.SUM and DataPointType.GAUGE
    • removes SingularMetricData and replaces it with SumMetricData (including an additional isMonotonic flag) and GaugeMetricData
  • feat(histogram): align collection of optional Histogram properties with spec #3102 @pichlermarc
    • changes type of sum property on Histogram to number | undefined
    • changes type of min and max properties on Histogram to number | undefined
    • removes hasMinMax flag on the exported Histogram - this is now indicated by min and max being undefined

🚀 (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 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

To top