Add missing tracing references to multiple services. (#7110)
This commit is contained in:
@@ -57,6 +57,7 @@ func Server(opts ...Option) (http.Service, error) {
|
||||
options.Logger,
|
||||
),
|
||||
),
|
||||
svc.TraceProvider(options.TraceProvider),
|
||||
)
|
||||
if err != nil {
|
||||
return http.Service{}, err
|
||||
|
||||
@@ -78,6 +78,7 @@ func NewService(opts ...Option) (Service, error) {
|
||||
pool.WithTLSCACert(conf.GRPCClientTLS.CACert),
|
||||
pool.WithTLSMode(tm),
|
||||
pool.WithRegistry(registry.GetRegistry()),
|
||||
pool.WithTracerProvider(options.TraceProvider),
|
||||
)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user