0.217.0
🚀 Features
- feat(otlp-transformer): replace protobufjs trace serialization with custom implementation #6625 @pichlermarc
- feat(configuration): auto-generate TypeScript types from OTel declarative config JSON schema (stable v1.0.0) using
json-schema-to-typescriptandajv#6533 @MikeGoldsmith - feat(configuration, sdk-node):
startNodeSDK()code path now useslog_levelconfiguration to setup a DiagConsoleLogger #6668 @trentm- Note that allowed values for
log_levelin a configuration YAML file are not the same set as forOTEL_LOG_LEVEL. Uselog_level: traceto see all logs (equivalent ofOTEL_LOG_LEVEL=ALL). Uselog_level: fatalto effectively disable the SDK's internal diagnostic logger (equivalent ofOTEL_LOG_LEVEL=NONE). - If
log_levelis not specified, a diagnostic console logger at "info" level will be setup. - An invalid YAML config file will now result in a noop OTel SDK.
- Note that allowed values for
🐛 Bug Fixes
- fix(configuration): do not validate
OTEL_CONFIG_FILEvalue before using it for file config #6643 @trentm - fix(configuration): improve how 'additionalProperties' in JSON schema is translated to TS types #6650 @trentm
- fix(configuration): remove stripMinItems and preprocessNullArrays from validation/parsing #6657 @trentm
- fix(configuration): improve handling of enums in generated types #6659 @trentm
- fix(configuration): improve the technique for removing '| null' on types the JSON Schema #6662 @trentm
- fix(sampler-jaeger-remote): add missing axios dep #6656 @trentm
- fix(exporter-prometheus): handle malformed URLs in Prometheus exporter request handler #6674 @homanp