Skip to content

Commit e21609a

Browse files
committed
fix: Adding tracer middleware
Signed-off-by: Vincent Boutour <[email protected]>
1 parent 8546b67 commit e21609a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/goweb/api.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ func main() {
9090
})
9191

9292
go promServer.Start("prometheus", healthApp.End(), prometheusApp.Handler())
93-
go appServer.Start("http", healthApp.End(), httputils.Handler(appHandler, healthApp, recoverer.Middleware, prometheusApp.Middleware, owasp.New(owaspConfig).Middleware, cors.New(corsConfig).Middleware))
93+
go appServer.Start("http", healthApp.End(), httputils.Handler(appHandler, healthApp, recoverer.Middleware, prometheusApp.Middleware, tracerApp.Middleware, owasp.New(owaspConfig).Middleware, cors.New(corsConfig).Middleware))
9494

9595
healthApp.WaitForTermination(appServer.Done())
9696
server.GracefulWait(appServer.Done(), promServer.Done())

0 commit comments

Comments
 (0)