feat: refactor go.mod.

This commit is contained in:
tx7do
2024-11-14 10:32:27 +08:00
parent 8b79665a27
commit bef6bbc269
14 changed files with 88 additions and 2179 deletions

View File

@@ -3,7 +3,6 @@ package tracer
import (
"context"
"errors"
"github.com/tx7do/kratos-bootstrap/utils"
"go.opentelemetry.io/otel/exporters/otlp/otlptrace"
"go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc"
@@ -18,6 +17,7 @@ import (
semConv "go.opentelemetry.io/otel/semconv/v1.4.0"
conf "github.com/tx7do/kratos-bootstrap/api/gen/go/conf/v1"
"github.com/tx7do/kratos-bootstrap/utils"
)
// NewTracerExporter 创建一个导出器支持zipkin、otlp-http、otlp-grpc