prevent having a nil traceprovider

This commit is contained in:
A.Unger
2021-08-09 17:14:36 +02:00
parent 2a60b6b933
commit fe530e9a27
8 changed files with 22 additions and 16 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ func Server(opts ...Option) (http.Service, error) {
)
{
handle = svc.NewTracing(handle)
//handle = svc.NewTracing(handle)
handle = svc.NewInstrument(handle, options.Metrics)
handle = svc.NewLogging(handle, options.Logger)
}