new tracing system

This commit is contained in:
Joe Kralicky 2025-01-03 19:45:53 +00:00
parent 8f36870650
commit b9065b6a55
No known key found for this signature in database
GPG key ID: 75C4875F34A9FB79
130 changed files with 7928 additions and 1836 deletions

View file

@ -9,6 +9,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"go.opentelemetry.io/otel/trace"
"google.golang.org/grpc"
"google.golang.org/protobuf/proto"
"google.golang.org/protobuf/types/known/timestamppb"
@ -32,7 +33,7 @@ func Test_getUserInfoData(t *testing.T) {
defer clearTimeout()
cc := testutil.NewGRPCServer(t, func(srv *grpc.Server) {
databrokerpb.RegisterDataBrokerServiceServer(srv, databroker.New(ctx))
databrokerpb.RegisterDataBrokerServiceServer(srv, databroker.New(ctx, trace.NewNoopTracerProvider()))
})
t.Cleanup(func() { cc.Close() })