diff --git a/app/vmagent/main.go b/app/vmagent/main.go index e34934bfa..435277438 100644 --- a/app/vmagent/main.go +++ b/app/vmagent/main.go @@ -264,7 +264,7 @@ func requestHandler(w http.ResponseWriter, r *http.Request) bool { path = strings.TrimSuffix(path, "/") } switch path { - case "/prometheus/api/v1/write", "/api/v1/write": + case "/prometheus/api/v1/write", "/api/v1/write", "/api/v1/push": if common.HandleVMProtoServerHandshake(w, r) { return true }