Skip to content

Commit

Permalink
rmvs unwanted tracer instance
Browse files Browse the repository at this point in the history
Signed-off-by: afzal442 <afzal442@gmail.com>
  • Loading branch information
afzal442 committed Jun 24, 2023
1 parent 53c7d6d commit aac3ab5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions examples/hotrod/services/driver/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import (
"net"

"go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc"
"go.opentelemetry.io/otel/trace"
"go.uber.org/zap"
"google.golang.org/grpc"

Expand All @@ -32,7 +31,6 @@ import (
// Server implements jaeger-demo-frontend service
type Server struct {
hostPort string
tracer trace.TracerProvider
logger log.Factory
redis *Redis
server *grpc.Server
Expand All @@ -49,7 +47,6 @@ func NewServer(hostPort string, otelExporter string, metricsFactory metrics.Fact
)
return &Server{
hostPort: hostPort,
tracer: tracerProvider,
logger: logger,
server: server,
redis: newRedis(otelExporter, metricsFactory, logger),
Expand Down

0 comments on commit aac3ab5

Please sign in to comment.