feat: refactor go.mod.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user