From 271c2b8e55f55c9b6ba876842e0db062ae91799e Mon Sep 17 00:00:00 2001 From: Thomas <9749173+uhthomas@users.noreply.github.com> Date: Thu, 18 Feb 2021 23:20:06 +0000 Subject: [PATCH] Change default metric path to varz --- server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.go b/server.go index 02337406..9efcddb2 100644 --- a/server.go +++ b/server.go @@ -85,7 +85,7 @@ func (s Server) ServeHTTP(w http.ResponseWriter, r *http.Request) { case "/healthz": s.Health(w, r) return - case "/metrics": + case "/varz": s.metricHandler.ServeHTTP(w, r) return }