github open-telemetry/opentelemetry-js experimental/v0.217.0

8 hours ago

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-typescript and ajv #6533 @MikeGoldsmith
  • feat(configuration, sdk-node): startNodeSDK() code path now uses log_level configuration to setup a DiagConsoleLogger #6668 @trentm
    • Note that allowed values for log_level in a configuration YAML file are not the same set as for OTEL_LOG_LEVEL. Use log_level: trace to see all logs (equivalent of OTEL_LOG_LEVEL=ALL). Use log_level: fatal to effectively disable the SDK's internal diagnostic logger (equivalent of OTEL_LOG_LEVEL=NONE).
    • If log_level is 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.

🐛 Bug Fixes

  • fix(configuration): do not validate OTEL_CONFIG_FILE value 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

Don't miss a new opentelemetry-js release

NewReleases is sending notifications on new releases.