发布日期: 2023-08-15
版本号: v1.48.0

Jaeger后端进行了多项更新和改进,主要包括:修复了OTLP接收器的追踪功能禁用问题;将多个组件(如HotROD、内存存储插件、gRPC存储插件、Cassandra/ES存储模块、指标存储读取器等)的追踪工具从OpenTracing迁移至OpenTelemetry SDK,并适配了OTEL的跨度模型;优化了Kafka消费者的Topic名称获取逻辑及关闭时的协程同步;为OTLP HTTP端点启用CORS配置;增强HotROD应用的安全性输入校验,支持同时处理OpenTracing和OpenTelemetry的行李传递,并升级至OpenTelemetry埋点;改进了tracegen工具支持属性键的基数控制及队列满时阻塞策略。UI部分更新至1.32.0版本,功能保持稳定。

更新内容 (中文)

后端变更

错误修复、小幅改进

  • [修复] 禁用OTLP接收器的追踪 (@yurishkuro#4662)
  • [hotrod/observer_test] 切换至OpenTelemetry (@afzal442#4635)
  • [memstore-plugin] 切换至OpenTelemetry SDK (@afzal442#4643)
  • [tracegen] 支持控制属性键的基数 (@yurishkuro#4634)
  • 在zipkin组件中用otel trace替换OT常量 (@afzal442#4625)
  • 在gRPC存储插件中用OpenTelemetry替换OpenTracing插桩 (@afzal442#4611)
  • 使用otel trace跨度类型替换OT追踪实现 (@afzal442#4614)
  • 将cassandra-spanstore的追踪插桩替换为OTEL (@afzal442#4599)
  • 将es-spanstore的追踪插桩替换为OpenTelemetry (@afzal442#4596)
  • 将metricsstore/reader的追踪插桩替换为OpenTelemetry (@afzal442#4595)
  • 用OTEL SDK + OT桥接替换Jaeger SDK (@afzal442#4574)
  • [kafka-consumer] 消费组应使用实际Kafka消费者的主题名而非配置值 (@abliqo#4593)
  • 在OTLP HTTP端点启用CORS设置 (@pmuls99#4586)
  • [hotrod] 通过traceresponse标头返回跟踪ID (@yurishkuro#4584)
  • [hotrod] 移除大部分OpenTracing相关引用 (@yurishkuro#4585)
  • [hotrod] 验证用户输入以避免代码扫描的安全警告 (@yurishkuro#4583)
  • [hotrod] 升级HotROD使用OpenTelemetry插桩 (@afzal442#4548)
  • [kafka-consumer] 使用等待组确保goroutine在Close返回前完成 (@kennyaz#4582)
  • [tracegen] 启用OTel SDK的BlockOnQueueFull避免跨度丢失 (@haanhvu#4578)
  • [hotrod] 同时处理OT和OTEL行李项 (@yurishkuro#4572)

界面变更

更新内容 (原始)

Backend Changes

Bug fixes, Minor Improvements

  • [fix] Disable tracing of OTLP Receiver (@yurishkuro in #4662)
  • [hotrod/observer_test] Switch to OpenTelemetry (@afzal442 in #4635)
  • [memstore-plugin]Switch to OpenTelemetry SDK (@afzal442 in #4643)
  • [tracegen] Allow to control cardinality of attribute keys (@yurishkuro in #4634)
  • Replace OT const wth OTEL trace.span for zipkin comp (@afzal442 in #4625)
  • Replace OpenTracing instrumentation with OpenTelemetry in grpc storage plugin (@afzal442 in #4611)
  • Replace OT trace with otel trace spans type to span model (@afzal442 in #4614)
  • Replace cassandra-spanstore tracing instrumentation withOTEL (@afzal442 in #4599)
  • Replace es-spanstore tracing instrumentation with OpenTelemetry (@afzal442 in #4596)
  • Replace metricsstore/reader tracing instrumentation with OpenTelemetry (@afzal442 in #4595)
  • Replace Jaeger SDK with OTEL SDK + OT Bridge (@afzal442 in #4574)
  • [kafka-consumer] Ingester should use topic name from actual Kafka consumer instead of configuration (@abliqo in #4593)
  • Enable CORS settings on OTLP HTTP endpoint (@pmuls99 in #4586)
  • [hotrod] Return trace ID via traceresponse header (@yurishkuro in #4584)
  • [hotrod] Remove most references to OpenTracing (@yurishkuro in #4585)
  • [hotrod] Validate user input to avoid security warnings from code scanning (@yurishkuro in #4583)
  • [hotrod] Upgrade HotROD to use OpenTelemetry instrumentation (@afzal442 in #4548)
  • [kafka-consumer] Use wait group to ensure goroutine is finished before returning from Close (@kennyaz in #4582)
  • [tracegen] Enable BlockOnQueueFull in OTel SDK to avoid dropped spans (@haanhvu in #4578)
  • [hotrod] Handle both OT and OTEL baggage (@yurishkuro in #4572)

UI Changes

  • UI pinned to version 1.32.0.

下载链接