Add missing tracing references to multiple services. (#7110)

This commit is contained in:
Daniel Swärd
2023-08-23 15:17:17 +02:00
committed by GitHub
parent 55127fe413
commit 49fc22d532
28 changed files with 162 additions and 83 deletions
@@ -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