Skip to content

Releases: open-telemetry/opentelemetry-js

experimental/v0.33.0

16 Sep 12:07
ad88c3d
Compare
Choose a tag to compare

💥 Breaking Change

  • Add resourceDetectors option to NodeSDK #3210

    • NodeSDK.detectResources() function is no longer able to receive config as a parameter.
      Instead, the detectors are passed to the constructor.
  • chore(metrics-sdk): clean up exports #3197 @pichlermarc

    • removes export for:
      • AccumulationRecord
      • Aggregator
      • AggregatorKind
      • Accumulation
      • createInstrumentDescriptor
      • createInstrumentDescriptorWithView
      • isDescriptorCompatibleWith
  • chore(api-metrics): clean up exports #3198 @pichlermarc

    • removes export for:
      • NOOP_COUNTER_METRIC
      • NOOP_HISTOGRAM_METRIC
      • NOOP_METER_PROVIDER
      • NOOP_OBSERVABLE_COUNTER_METRIC
      • NOOP_OBSERVABLE_GAUGE_METRIC
      • NOOP_OBSERVABLE_UP_DOWN_COUNTER_METRIC
      • NOOP_UP_DOWN_COUNTER_METRIC
      • NoopCounterMetric
      • NoopHistogramMetric
      • NoopMeter
      • NoopMeterProvider
      • NoopMetric
      • NoopObservableCounterMetric
      • NoopObservableGaugeMetric
      • NoopObservableMetric
      • NoopObservableUpDownCounterMetric
      • NoopUpDownCounterMetric
  • feat(sdk-metrics): align MetricReader with specification and other language implementations #3225 @pichlermarc

  • chore(sdk-metrics): remove accidental export of the SDK Meter class #3243 @pichlermarc

🚀 (Enhancement)

📚 (Refine Doc)

🏠 (Internal)

v1.6.0

24 Aug 17:49
a5abee6
Compare
Choose a tag to compare

🚀 (Enhancement)

  • perf(opentelemetry-core): improve hexToBase64 performance #3178
  • feat(sdk-trace-base): move Sampler declaration into sdk-trace-base #3088 @legendecas
  • fix(grpc-instrumentation): added grpc attributes in instrumentation #3127 @andrewzenkov
  • feat: support latest @opentelemetry/api #3177 @dyladan

🐛 (Bug Fix)

  • fix(context-async-hooks): Ensure listeners added using once can be removed using removeListener
    #3133

experimental/v0.32.0

24 Aug 17:48
a5abee6
Compare
Choose a tag to compare

💥 Breaking Change

  • Rename @opentelemetry/sdk-metrics-base package to @opentelemetry/sdk-metrics #3162 @hectorhdzg

🚀 (Enhancement)

  • fix(add-views-to-node-sdk): added the ability to define meter views in NodeSDK #3066 @weyert
  • feature(add-console-metrics-exporter): add ConsoleMetricExporter #3120 @weyert
  • feature(prometheus-serialiser): export the unit block when unit is set in metric descriptor #3066 @weyert
  • feat: support latest @opentelemetry/api #3177 @dyladan

🐛 (Bug Fix)

  • fix(instrumentation-http): add http.host attribute before sending the request #3054 @cuichenli

v1.5.0

26 Jul 20:41
776656b
Compare
Choose a tag to compare

1.5.0

🚀 (Enhancement)

  • feat(sdk-trace-base): Improve extensibility of BasicTracerProvider #3023 @rauno56

experimental/v0.31.0

26 Jul 20:41
776656b
Compare
Choose a tag to compare

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

v1.4.0

06 Jul 20:17
e39ab88
Compare
Choose a tag to compare

🚀 (Enhancement)

  • fix(resources): fix browser compatibility for host and os detectors #3004 @legendecas
  • fix(sdk-trace-base): fix crash on environments without global document #3000 @legendecas

🏠 (Internal)

experimental/v0.30.0

06 Jul 20:18
e39ab88
Compare
Choose a tag to compare

💥 Breaking Change

🚀 (Enhancement)

  • feat(opentelemetry-instrumentation-fetch): optionally ignore network events #3028 @gregolsen
  • feat(http-instrumentation): record exceptions in http instrumentation #3008 @luismiramirez
  • feat(node-sdk): add serviceName config option #2867 @naseemkullah
  • feat(opentelemetry-exporter-prometheus): export PrometheusSerializer #3034 @matschaffer
  • feat(sdk-metrics-base): detect resets on async metrics #2990 @legendecas
    • Added monotonicity support in SumAggregator.
    • Added reset and gaps detection for async metric instruments.
    • Fixed the start time and end time of an exported metric with regarding to resets and gaps.

🐛 (Bug Fix)

  • fix(otlp-transformer): remove type dependency on Long #3022 @legendecas
  • fix(grpc-exporter): use non-normalized URL to determine channel security #3019 @pichlermarc
  • fix(otlp-exporter-base): fix gzip output stream in http otlp export #3046 @mattolson
  • docs(grpc-exporters): remove 'web' as supported from README.md #3070 @pichlermarc

🏠 (Internal)

experimental/v0.29.1

01 Jun 18:06
094f016
Compare
Choose a tag to compare
experimental/v0.29.1 Pre-release
Pre-release

🐛 (Bug Fix)

  • fix(sdk-metrics-base): only record non-negative histogram values #3002 @pichlermarc
  • fix(otlp-transformer): include missing prepublishOnly script which ensures esm and esnext build files are created and packaged @dyladan

v1.3.0

31 May 16:10
eda0b09
Compare
Choose a tag to compare

💥 Breaking Change

  • chore: remove unused InstrumentationConfig#path #2944 @Flarna

🚀 (Enhancement)

🐛 (Bug Fix)

experimental/v0.29.0

31 May 16:11
eda0b09
Compare
Choose a tag to compare
experimental/v0.29.0 Pre-release
Pre-release

💥 Breaking Change

  • feat(metrics): metric readers and exporters now select aggregation temporality based on instrument type #2902 @seemk
  • refactor(metrics-sdk): rename InstrumentationLibrary -> InstrumentationScope #2959 @pichlermarc
  • feat(metrics): multi-instrument async callback support #2966 @legendecas
    • changes on meter.createObservableCounter, meter.createObservableGauge, meter.createObservableUpDownCounter
      • removed the second parameter callback
      • returns an Observable object on which callbacks can be registered or unregistered.
    • added meter.addBatchObservableCallback and meter.removeBatchObservableCallback.
  • fix: remove attributes from OTLPExporterConfigBase #2991 @Flarna

🚀 (Enhancement)

🐛 (Bug Fix)