diff --git a/app/vmselect/main.go b/app/vmselect/main.go index 8a933b1d40..c9a3c8cd92 100644 --- a/app/vmselect/main.go +++ b/app/vmselect/main.go @@ -239,6 +239,19 @@ func selectHandler(startTime time.Time, w http.ResponseWriter, r *http.Request, httpRequests.Get(at).Inc() httpRequestsDuration.Get(at).Add(int(time.Since(startTime).Milliseconds())) }() + if p.Suffix == "" { + if r.Method != "GET" { + return false + } + fmt.Fprintf(w, "