wip: debug

This commit is contained in:
franklin 2023-08-11 17:27:33 +02:00
parent 5d8eca9eab
commit bdcbadf077

View File

@ -155,6 +155,8 @@ func TelemetryWithOptions(opts TelemetryOptions) middleware.Middleware {
l.Info("==> not sampled")
}
v.Observe(duration.Seconds())
} else {
l.Info("======> nothing")
}
}
return func(l *zap.Logger, name string, next http.Handler) http.Handler {