0.208.0
💥 Breaking Changes
- feat(otlp-exporter-base)!: allow passing an async function to headers option #5994 @pichlermarc
- In addition to static headers, OTLP exporters now allow passing an async function that returns headers which will be called before each export. See TSDoc for
headersinOTLPExporterConfigBasefor details. - Breaking changes:
- (user-facing):
headersoption in all OTLP exporters now accepts a function that returns aPromise<Record<string, string>>in addition to the existingRecord<string, string>type. - (user-facing):
headersinHttpNodeRequestParameters,FetchTransportParameters, andXhrRequestParametersnow only accept async functions. - (user-facing):
headersinOtlpHttpConfigurationnow only accepts async functions.
- (user-facing):
- In addition to static headers, OTLP exporters now allow passing an async function that returns headers which will be called before each export. See TSDoc for
- feat(sdk-logs): remove NoopLogRecordProcessor from exports #6079 @cjihrig
- feat(api-logs): remove ProxyLogger from exports #6082 @cjihrig
- feat(api-logs): remove NOOP_LOGGER_PROVIDER and NoopLoggerProvider from exports #6086 @cjihrig
🚀 Features
- feat(instrumentation): allow error of safeExecuteInTheMiddleAsync to be async #6032 @JPeer264
- feat(opentelemetry-configuration): parse logger provider from config file #5995 @maryliag
- feat(opentelemetry-configuration): parse meter provider from config file #6000 @maryliag
- feat(opentelemetry-configuration): add backup options for certificates and endpoints #6038 @maryliag
- feat(opentelemetry-configuration): add backups for compression, timeout, headers #6058 @JamieDanielson
- feat(opentelemetry-configuration): set attributes from attribute list from env variables #6043 @maryliag