Skip to content

Commit

Permalink
fix: disable metrics middleware to preserve websocket connectivity
Browse files Browse the repository at this point in the history
fixes: #224
  • Loading branch information
viveksyngh authored and prometherion committed Aug 4, 2022
1 parent 83e7c8f commit b9b2342
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/webserver/webserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,6 @@ func (n kubeFilter) Start(ctx context.Context) error {
root := r.PathPrefix("").Subrouter()
n.registerModules(ctx, root)
root.Use(
middleware.MetricsMiddleware,
n.reverseProxyMiddleware,
middleware.CheckPaths(n.client, n.log, n.allowedPaths, n.impersonateHandler),
middleware.CheckAuthorization(n.client, n.log, n.serverOptions.IsListeningTLS()),
Expand Down

0 comments on commit b9b2342

Please sign in to comment.