0.221.0
💥 Breaking Changes
- feat(sdk-logs)!: configure the force flush timeout per call #6931 @LarryHu0217
- (user-facing):
LoggerProviderOptions.forceFlushTimeoutMillishas been removed; passtimeoutMillistoLoggerProvider.forceFlush()instead.
- (user-facing):
- feat(instrumentation-http)!: emit only stable HTTP semantic conventions. The
OTEL_SEMCONV_STABILITY_OPT_INenvironment variable no longer changes HTTP attribute or metric emission — old (v1.7.0) and duplicate (http/http/dup) semconv outputs have been removed. #6819 @maryliag - feat(instrumentation-fetch)!: emit only stable HTTP semantic conventions. The
semconvStabilityOptIninstrumentation config option has been removed; old (v1.7.0) and duplicate semconv outputs are no longer emitted. #6819 @maryliag - feat(instrumentation-xml-http-request)!: emit only stable HTTP semantic conventions. The
semconvStabilityOptIninstrumentation config option has been removed; old (v1.7.0) and duplicate semconv outputs are no longer emitted. #6819 @maryliag - feat(instrumentation-grpc)!: emit only stable network semantic conventions. The
OTEL_SEMCONV_STABILITY_OPT_INenvironment variable no longer changes attribute emission —net.peer.nameandnet.peer.port(old) are no longer set; onlyserver.addressandserver.port(stable). #6819 @maryliag
🚀 Features
- feat(sdk-logs): allow modifying ReadWriteLogRecord properties (including hrTime, hrTimeObserved, and spanContext) in accordance with the OpenTelemetry Logs specification #6923 @Babul422
- feat(sdk-node): emit a deprecation warning when the
JaegerPropagatoris selected viaOTEL_PROPAGATORSor declarative config; usetracecontextinstead. @pichlermarc - feat(instrumentation-http): set
error.typeto status code in metrics for error requests. #6919 @raphael-theriault-swi