github open-telemetry/opentelemetry-js experimental/v0.31.0

latest releases: v1.26.0, experimental/v0.53.0, semconv/v1.27.0...
2 years ago

0.31.0

💥 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)

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

Don't miss a new opentelemetry-js release

NewReleases is sending notifications on new releases.