Releases: open-telemetry/opentelemetry-js
Releases · open-telemetry/opentelemetry-js
v1.6.0
🚀 (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 usingremoveListener
#3133
experimental/v0.32.0
💥 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
experimental/v0.31.0
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 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
🚀 (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
v1.4.0
🚀 (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
💥 Breaking Change
- fix: remove aws and gcp detector from SDK #3024 @Flarna
- feat(sdk-metrics-base): implement min/max recording for Histograms #3032 @pichlermarc
- adds
min
/max
recording to Histograms - updates opentelemetry-proto to
0.18
so thatmin
and
max
can be exported. This change breaks the OTLP/JSON Metric Exporter for all collector versions<0.52
due to
open-telemetry/opentelemetry-collector#5312.
- adds
🚀 (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
🐛 (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
💥 Breaking Change
🚀 (Enhancement)
- feat(ConsoleSpanExporter): export span links #2917 @trentm
- feat: warn when hooked module is already loaded #2926 @nozik
- feat: implement OSDetector #2927 @rauno56
- feat: implement HostDetector #2921 @rauno56
- feat(opentelemetry-core): add InstrumentationScope #2959 @pichlermarc
🐛 (Bug Fix)
- fix(sdk-web): parse url with relative url string #2972 @legendecas
experimental/v0.29.0
💥 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.
- removed the second parameter
- added
meter.addBatchObservableCallback
andmeter.removeBatchObservableCallback
.
- changes on
- fix: remove attributes from OTLPExporterConfigBase #2991 @Flarna
🚀 (Enhancement)
- feat(exporters): update proto version and use otlp-transformer #2929 @pichlermarc
- fix(sdk-metrics-base): misbehaving aggregation temporality selector tolerance #2958 @legendecas
- feat(trace-otlp-grpc): configure security with env vars #2827 @svetlanabrennan
- feat(sdk-metrics-base): async instruments callback timeout #2742 @legendecas
🐛 (Bug Fix)
- fix(opentelemetry-instrumentation-http): use correct origin when port is
null
#2948 @danielgblanco - fix(otlp-exporter-base): include esm and esnext in package files #2952 @dyladan
- fix(otlp-http-exporter): update endpoint to match spec #2895 @svetlanabrennan
- fix(instrumentation): only patch core modules if enabled #2993 @santigimeno
- fix(otlp-transformer): include esm and esnext in package files and update README #2992 @pichlermarc
- fix(metrics): specification compliant default metric unit #2983 @andyfleming
v1.2.0
🐛 (Bug Fix)
- fix: sanitize attributes inputs #2881 @legendecas
- fix: support earlier API versions #2892 @dyladan
- fix: support extract one digit '0' in jaeger traceFlag #2905 @shmilyoo
📚 (Refine Doc)
- docs(sdk): update earliest support node version #2860 @svetlanabrennan