Skip to content

Experimental v0.50.0

Compare
Choose a tag to compare
@pichlermarc pichlermarc released this 03 Apr 08:10
· 291 commits to main since this release
5231aa2

0.50.0

💥 Breaking Change

  • fix(exporter-*-otlp-grpc)!: lazy load gRPC to improve compatibility with @opentelemetry/instrumenation-grpc #4432 @pichlermarc
    • Fixes a bug where requiring the gRPC exporter before enabling the instrumentation from @opentelemetry/instrumentation-grpc would lead to missing telemetry
    • Breaking changes, removes several functions and properties that were used internally and were not intended for end-users
      • getServiceClientType()
        • this returned a static enum value that would denote the export type (SPAN, METRICS, LOGS)
      • getServiceProtoPath()
        • this returned a static enum value that would correspond to the gRPC service path
      • metadata
        • was used internally to access metadata, but as a side effect allowed end-users to modify metadata on runtime.
      • serviceClient
        • was used internally to keep track of the service client used by the exporter, as a side effect it allowed end-users to modify the gRPC service client that was used
      • compression
        • was used internally to keep track of the compression to use but was unintentionally exposed to the users. It allowed to read and write the value, writing, however, would have no effect.
  • feat(api-events)!: removed domain from the Events API #4569 @martinkuba
  • fix(api-events)!: renamed EventEmitter to EventLogger in the Events API #4569 @martinkuba
  • feat(api-logs)!: changed LogRecord body data type to AnyValue and AnyValueMap types #4575 @martinkuba

🚀 (Enhancement)

🐛 (Bug Fix)

  • fix(exporter--otlp-): use parseHeaders() to ensure header-values are not 'undefined' #4540
    • Fixes a bug where passing undefined as a header value would crash the end-user app after the export timeout elapsed.
  • fix(sdk-logs): ensure default resource attributes are used as fallbacks when a resource is passed to LoggerProvider.

📚 (Refine Doc)

  • docs(instrumentation-http): document semantic conventions and attributes in use. #4587 @JamieDanielson