Releases: open-telemetry/opentelemetry-js
Releases · open-telemetry/opentelemetry-js
v1.9.0
🚀 (Enhancement)
- feat(instrumentation-grpc): set net.peer.name and net.peer.port on client spans #3430
🐛 (Bug Fix)
- fix(sdk-metrics): use default Resource to comply with semantic conventions #3411 @pichlermarc
- Metrics exported by the SDK now contain the following resource attributes by default:
service.name
telemetry.sdk.name
telemetry.sdk.language
telemetry.sdk.version
- Metrics exported by the SDK now contain the following resource attributes by default:
- fix(sdk-trace): make spans resilient to clock drift #3434 @dyladan
- fix(selenium-tests): updated webpack version for selenium test issue #3456 @SaumyaBhushan
- fix(sdk-metrics): fix duplicated registration of metrics for collectors #3488 @legendecas
- fix(core): fix precision loss in numberToHrtime #3480 @legendecas
🏠 (Internal)
- chore: automatically generate tsconfigs #3432 @legendecas
- chore: enforce format with prettier #3444 @legendecas
Experimental v0.35.0
🚀 (Enhancement)
- feat(instrumentation-http): monitor error events with events.errorMonitor #3402 @legendecas
- feat(instrumentation-grpc): added grpc metadata client side attributes in instrumentation #3386
- feat(instrumentation): add new
_setMeterInstruments
protected method that update the meter instruments every meter provider update. - feat(api-logs): add the
SeverityNumber
enumeration. #3443 @fuaiyi - feat(sdk-node): configure no-op sdk with
OTEL_SDK_DISABLED
environment variable #3485 @RazGvili
🐛 (Bug Fix)
- fix(instrumentation-xhr): http.url attribute should be absolute #3200 @t2t2
- fix(instrumentation-grpc): always set grpc semcov status code attribute with numeric value #3076 @blumamir
- fix(instrumentation): only call
onRequire
for full matches on core modules with sub-paths #3451 @mhassan1 - fix(instrumentation): add back support for absolute paths via
require-in-the-middle
#3457 @mhassan1 - fix(prometheus-sanitization): replace repeated
_
with a single_
3470 @samimusallam - fix(prometheus-serializer): correct string used for NaN #3477 @JacksonWeber
- fix(instrumentation-http): close server span when response finishes #3407 @legendecas
- fix(instrumentation-fetch): make spans resilient to clock drift by using Date.now #3434 @dyladan
- fix(instrumentation-xml-http-request): make spans resilient to clock drift by using Date.now #3434 @dyladan
- fix(sdk-node): fix exporter to be read only OTEL_TRACES_EXPORTER is set to a valid exporter [3492] @svetlanabrennan
🏠 (Internal)
API v1.4.0
🚀 (Enhancement)
- feat(api): add
getActiveBaggage
API #3385
🐛 (Bug Fix)
- fix(api): deprecate MetricAttributes and MetricAttributeValue #3406 @blumamir
- fix(api): use active context as default in NoopTracer #3476 @Flarna
- fix(api): declare this parameter type in observable callbacks #3497 @legendecas
🏠 (Internal)
- test(api): disable module concatenation in tree-shaking test #3409 @legendecas
v1.8.0
@opentelemetry/sdk-metrics
has been promoted to stable@opentelemetry/api-metrics
has been merged into@opentelemetry/api
and deprecated
💥 Breaking Change
- feat(api): merge api-metrics into api #3374 @legendecas
🚀 (Enhancement)
- feat(sdk-trace): re-export sdk-trace-base in sdk-trace-node and web #3319 @legendecas
- feat: enable tree shaking #3329 @pkanal
🐛 (Bug Fix)
- fix(sdk-trace): enforce consistent span durations
#3327 @dyladan - fix(resources): fix EnvDetector throwing errors when attribute values contain spaces
#3295 - fix(trace): fix an issue which caused negative span durations in web based spans
#3359 @dyladan - fix(resources): strict OTEL_RESOURCE_ATTRIBUTES baggage octet decoding
#3341 @legendecas
📚 (Refine Doc)
- docs(api): fix counter negative value wording #3396 @legendecas
🏠 (Internal)
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