replace go.opencensus.io with opentelemetry in thumbnails

This commit is contained in:
A.Unger
2021-08-09 16:15:22 +02:00
parent f5c3b49d12
commit 2a60b6b933
3 changed files with 51 additions and 77 deletions
+1
View File
@@ -47,6 +47,7 @@ func NewService(opts ...Option) grpc.Service {
)
thumbnail = svc.NewInstrument(thumbnail, options.Metrics)
thumbnail = svc.NewLogging(thumbnail, options.Logger)
thumbnail = svc.NewTracing(thumbnail)
}
_ = proto.RegisterThumbnailServiceHandler(