Releases: open-telemetry/opentelemetry-js
Releases · open-telemetry/opentelemetry-js
v1.30.1
1.30.1
🐛 (Bug Fix)
- fix(sdk-metrics): do not export from
PeriodicExportingMetricReader
when there are no metrics to export. #5288 @JacksonWeber
🏠 (Internal)
- ci: make changelog workflow check v1.x #5338 @pichlermarc
experimental/v0.57.1
v1.30.0
1.30.0
🚀 (Enhancement)
- feat(sdk-metrics): PeriodicExportingMetricReader now flushes pending tasks at shutdown #5242
🐛 (Bug Fix)
experimental/v0.57.0
0.57.0
🚀 (Enhancement)
- feat(opentelemetry-sdk-node): automatically configure metrics exporter based on environment variables #5168 @bhaskarbanerjee
🏠 (Internal)
- refactor(otlp-transformer): re-structure package to prepare for separate entrypoints #5264 @pichlermarc
v1.29.0
experimental/v0.56.0
0.56.0
💥 Breaking Change
- feat(otlp-exporter-base)!: collapse base classes into one #5031 @pichlermarc
OTLPExporterNodeBase
has been removed in favor of a platform-agnostic implementation (OTLPExporterBase
)OTLPExporterBrowserBase
has been removed in favor of a platform-agnostic implementation (OTLPExporterBase
)ExportServiceError
was intended for internal use and has been dropped from exportsvalidateAndNormalizeHeaders
was intended for internal use and has been dropped from exportsOTLPExporterBase
all properties are now private, the constructor now takes anIOTLPExportDelegate
, the type parameter for config type has been dropped.- This type is scheduled for removal in a future version of this package, please treat all exporters as
SpanExporter
,PushMetricExporter
orLogRecordExporter
, based on their respective type.
- This type is scheduled for removal in a future version of this package, please treat all exporters as
- feat(otlp-grpc-exporter-base)!: collapse base classes into one #5031 @pichlermarc
OTLPGRPCExporterNodeBase
has been removed in favor of a platform-agnostic implementation (OTLPExporterBase
from@opentelemetry/otlp-exporter-base
)
- feat(otlp-transformer)!: accept
ResourceMetrics
in serializers instead ofResourceMetrics[]
- (user-facing):
ProtobufMetricsSerializer
now only acceptsResourceMetrics
instead ofResourceMetrics[]
to align withPushMetricExporter
requirements - (user-facing):
JsonMetricsSerializer
now only acceptsResourceMetrics
instead ofResourceMetrics[]
to align withPushMetricExporter
requirements
- (user-facing):
🚀 (Enhancement)
- feat(otlp-exporter-base): handle OTLP partial success #5183 @pichlermarc
- feat(otlp-exporter-base): internally accept a http header provider function only #5179 @pichlermarc
- refactor(otlp-exporter-base): don't create blob before sending xhr #5193 @pichlermarc
- improves compatibility with some unsupported runtimes
- feat(otlp-exporter-base): add http response body to exporter error #5204 @pichlermarc
🐛 (Bug Fix)
- fix(otlp-exporter-*): de-confuse Nuxt build tooling by not using 'export *' in comments #5227 @pichlermarc
🏠 (Internal)
- chore(otlp-exporter-*-grpc): clean up tests #5196 @pichlermarc
- chore(otlp-exporter-*-http): clean up tests #5196 @pichlermarc
- chore(otlp-exporter-*-proto): clean up tests #5196 @pichlermarc
semconv/v1.28.0
v1.28.0
1.28.0
🚀 (Enhancement)
-
feat(sdk-metrics, sdk-trace): add
mergeResourceWithDefaults
flag, which allows opting-out of resources getting merged with the default resource #4617- default:
true
(no change in behavior) - note:
false
will become the default behavior in the next major version in order to comply with specification requirements
- default:
-
feat(sdk-trace-base): add
spanProcessors
property inTracerConfig
interface. #5138 @david-luna
🐛 (Bug Fix)
- fix(sdk-metrics): await exports in
PeriodicExportingMetricReader
when async resource attributes have not yet settled #5119 @pichlermarc - fix(sdk-trace): performance.now() may return the same value for consecutive calls #5150 @dyladan
- fix(sdk-trace-base): pass BatchSpanProcessor#forceFlush() errors on visibilitychange/pagehide to globalErrorHandler #5143 @pichlermarc
- fixes a bug where switching browser tabs with a failing exporter would cause an unhandled error
experimental/v0.55.0
0.55.0
💥 Breaking Change
- feat(instrumentation-http)!: reduce public API surface by removing exports and making protected methods private #5124 @pichlermarc
- (user-facing) the following exports were intended for internal use only and have been removed without replacement
- extractHostnameAndPort
- getAbsoluteUrl
- getIncomingRequestAttributes
- getIncomingRequestAttributesOnResponse
- getIncomingRequestMetricAttributes
- getIncomingRequestMetricAttributesOnResponse
- getOutgoingRequestAttributes
- getOutgoingRequestAttributesOnResponse
- getOutgoingRequestMetricAttributes
- getOutgoingRequestMetricAttributesOnResponse
- getRequestInfo
- headerCapture
- isCompressed
- isValidOptionsType
- parseResponseStatus
- satisfiesPattern
- setAttributesFromHttpKind
- setRequestContentLengthAttribute
- setResponseContentLengthAttribute
- setSpanWithError
- RequestSignature
- RequestFunction
- ParsedRequestOptions
- IgnoreMatcher
- Https
- HttpRequestArgs
- HttpCallbackOptional
- HttpCallback
- Http
- GetFunction
- Func
- Err
- (user-facing) the following exports were intended for internal use only and have been removed without replacement
🚀 (Enhancement)
- feat(sdk-node, sdk-logs): add
mergeResourceWithDefaults
flag, which allows opting-out of resources getting merged with the default resource #4617- default:
true
- note:
false
will become the default behavior in a future iteration in order to comply with specification requirements
- default:
- feat(instrumentation): Track request body size in XHR and Fetch instrumentations #4706 @MustafaHaddara
🐛 (Bug Fix)
- fix(instrumentation-http): Fix the
OTEL_SEMCONV_STABILITY_OPT_IN
variable check. Usingof
instead ofin
#5137 - fix(instrumentation-http): drop url.parse in favor of URL constructor #5091 @pichlermarc
- fixes a bug where using cyrillic characters in a client request string URL would throw an exception, whereas an un-instrumented client would accept the same input without throwing an exception
- fix(otlp-exporter-base): fix unhandled error when writing to destroyed http request #5163 @pichlermarc
experimental/v0.54.2
0.54.2
🐛 (Bug Fix)
- fix(instrumentation): Fix wrapping ESM files with absolute path #5094 @serkan-ozal