diff --git a/server/server.go b/server/server.go index c338584e..9dc259fb 100644 --- a/server/server.go +++ b/server/server.go @@ -257,7 +257,7 @@ func newServer(ctx context.Context, c Config, rotationStrategy rotationStrategy) corsOption := handlers.AllowedOrigins(c.AllowedOrigins) handler = handlers.CORS(corsOption)(handler) } - r.Handle(path.Join(issuerURL.Path, p), handler) + r.Handle(path.Join(issuerURL.Path, p), instrumentHandlerCounter(p, handler)) } r.NotFoundHandler = http.HandlerFunc(http.NotFound)