drama10096 opened a new issue, #2889:
URL: https://github.com/apache/dubbo-go/issues/2889

   
   <!-- 
   - Server: Dubbo-go, v3.3.0
   - Client: Dubbo-go, v3.3.0
   -->
   
   ### Issue description
   
   这里 go.opentelemetry.io/otel/exporters/otlp/internal/retry 中,引用了 
internal/retry 包了,跟其他很多github库冲突
   
   
   ### Logs
   
   如果你是 Dubbo-Go 用户:
        Dubbo-Go 的 v3/otel/trace/otlp 目录下的代码引用了旧包 *//internal/* 等等路径:
        go.opentelemetry.io/otel/exporters/otlp/internal/envconfig
           go.opentelemetry.io/otel/exporters/otlp/internal/retry
   
   # 查询ChatGPT解释如下
        你看到的这条提示:
        Deprecated: Use exporters/otlp/otlptrace or exporters/otlp/otlpmetric 
instead.
        是 OpenTelemetry Go SDK 官方明确弃用旧路径的通知
   
        背景说明
                OpenTelemetry 项目之前的结构是这样的:
                go.opentelemetry.io/otel/exporters/otlp/
                ├── otlp.go              <-- 主入口,旧代码用它
                └── internal/            <-- 只允许内部模块使用,外部调用会报错
   
        在 v1.0+ 稳定版本之后,官方做了重构,明确拆分成:
                go.opentelemetry.io/otel/exporters/otlp/otlptrace       ✅ 用于 
Trace
                go.opentelemetry.io/otel/exporters/otlp/otlpmetric      ✅ 用于 
Metric
   
        旧的 otlp/internal/... 包已 完全不再对外暴露,也不应该被外部项目引用。
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to