Releases: open-telemetry/opentelemetry-js
Releases · open-telemetry/opentelemetry-js
Experimental v0.34.0
@opentelemetry/sdk-metrics
moved to packages/sdk-metrics@opentelemetry/api-metrics
deprecated and merged into api
🚀 (Enhancement)
- feat(metrics-sdk): Add tracing suppresing for Metrics Export #3332 @hectorhdzg
- feat(instrumentation): implement
require-in-the-middle
singleton #3161 @mhassan1 - feat(sdk-node): configure trace exporter with environment variables #3143 @svetlanabrennan
- feat: enable tree shaking #3329 @pkanal
- feat(prometheus): serialize resource as target_info gauge #3300 @pichlermarc
- feat(detectors): add browser detector module #3292 @Abinet18
- deps: remove unused proto-loader dependencies and update grpc-js and proto-loader versions #3337 @seemk
- feat(metrics-exporters): configure temporality via environment variable #3305 @pichlermarc
🐛 (Bug Fix)
- fix(node-sdk): move
@opentelemetry/semantic-conventions
todependencies
#3283 @mhassan1 - fix(exporters): do not append trailing '/' when URL contains path #3274 @pichlermarc
- fix(instrumentation): debug log on no modules defined for instrumentation #3308 @legendecas
📚 (Refine Doc)
- docs(metrics-exporters): fix wrong exporter const name in example #3270 @pichlermarc
🏠 (Internal)
- ci(instrumentation-http): remove got devDependency
#3347 @dyladan - deps(instrumentation-http): move sdk-metrics to dev dependencies #3380 @pichlermarc
API v1.3.0
1.3.0
- feat(api): merge api-metrics into api #3374 @legendecas
- Optionally suppress warning about logger being overwritten (#3366)
v1.7.0
experimental/v0.33.0
💥 Breaking Change
-
Add
resourceDetectors
option toNodeSDK
#3210NodeSDK.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
- removes export for:
-
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
- removes export for:
-
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)
- docs(sdk-metrics): fix typos and add missing parameter docs. #3244 @pichlermarc
🏠 (Internal)
- ci(instrumentation-http): improve metrics test stability #3242 @pichlermarc
- deps: remove unused protobufjs and update used ones to 7.1.1 #3251 #3251 @pichlermarc
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